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 need 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.22.1 SERVICE_LOAD
- 5.22.2 SERVICE_GET
- 5.22.3 ENCODE
- 5.22.4 DECODE
- 5.22.5 SET
- 5.22.6 LIST
- 5.22.7 DELETE
- 5.22.8 RENAME
- 5.22.9 SERVICE_UNLOAD