The PGPFileService allows files to be encoded to PGP format and decoded from PGP format.

Use any OpenPGP tool to create and manage for keys.

The GNU gpg2 command-line tool allows you to create and manage keys on your PC.

The gpg2 tool maintains the public and secret key collection files in the following folder.

C:\Users\XXX\AppData\Roaming\gnupg\pubring.gpg

C:\Users\XXX\AppData\Roaming\gnupg\secring.gpg

These collection files, pubring.gpg and secring.gpg needs to be copied to the LI instance pki/ folder.

The PGPFileService will use these files for locating recipient public keys for encryption and the secret key for decryption.

The PGPFileService supports the following commands: