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:
- 5.23.1 SERVICE_LOAD
- 5.23.2 SERVICE_GET
- 5.23.3 ENCODE
- 5.23.4 DECODE
- 5.23.5 SET
- 5.23.6 LIST
- 5.23.7 DELETE
- 5.23.8 RENAME
- 5.23.9 SERVICE_UNLOAD