Skip to content

ascendcorp/pgp-encryption-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages