https://github.com/ascendcorp/pgp-encryption-tool
https://github.com/ascendcorp/pgp-encryption-tool
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ascendcorp/pgp-encryption-tool
- Owner: ascendcorp
- Created: 2022-06-07T10:52:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T11:31:05.000Z (almost 3 years ago)
- Last Synced: 2025-01-24T17:46:11.623Z (4 months ago)
- Language: Java
- Size: 24.7 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### PGP encryption & decryption tool
TrueMoney Disbursement platform process the file that encrypt with PGP standard and verify signature in control file. This tool require key parameters as .gpg file format.
Download jar file to use tool: [Ascend's tool](pgp-encryption-tool.jar)
You can modify the source and build with runnable jar file to use the tool.
Tools commands
Encryption :
```
java -jar ./pgp-encryption-tool.jar encrypt ${csv_input_file_path} ${tmn_public_key} ${partner_private_key} ${partner_password}
```Decryption :
```
java -jar ./pgp-encryption-tool.jar decrypt ${encrypt_input_file} ${control_input_file} ${tmn_public_key} ${partner_private_key} ${partner_password}
```Example:
```
// encrypt
java -jar ./pgp-encryption-tool.jar encrypt CheckProfile_IGN_2022-05-03.csv keys/truemoney_pub.gpg keys/partner_pri.gpg password// decrypt
java -jar ./pgp-encryption-tool.jar decrypt CheckProfile_IGN_2022-05-03_Result.csv.pgp CheckProfile_IGN_2022-05-03_Result.csv.ctrl keys/truemoney_pub.gpg keys/partner_pri.gpg password
```