PGP key script configuration information
Use the PGP key script information to configure the PGP script to interface with your PGP server.
PGP script inputs
- Create
-
- The input file (which contains the data to import)
- The output file
- Read
-
- The output file
Note: Format the output file in the following format:<Key 1 ID> <Key 1 UID> <Key 2 ID> <Key 2 UID> ...
- Export
-
- The output file
- the key ID to export
Note: Format the output file so that the first line is the key ID, the second line is the key UID, and the rest of the file is the key data. For example:<Key ID> <Key UID> <Key Data Key Data Key Data ...>
- Delete
-
- The output file
- The key ID to delete
PGP script outputs
- Create
- On the first line, return the key's ID if successfully added, or an empty file if a failure occurred.
- Read
- In the output document, return a list of all keys, formatted like the
following:
<1st key ID> <1st key UID> <empty separator line> <2nd key UID> ...
- Export
- In the output document, return the full public key of the key whose ID was provided, which
includes everything from
-----BEGIN PGP PUBLIC KEY BLOCK-----
to-----END PGP PUBLIC KEY BLOCK-----
. - Delete
- If the delete was successful, the output document should be empty (but still exist).