PGP Keyrings and Lobster_data
PGP Keyring for Signing or Decrypting
Lobster_data can read ASC-based or PGP-based keyrings and use them for decryption. Please note that only the private key should be included in the keyring. If the ASC keyring contains both private and public key, the private key must come before the public key. The keys can be up to 4096 bytes long.
An example of the ASC format with both keys.
----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v2
lQO+BFitREkBCAC/qokzsIebntc0tFgv/1/aZHIA14ApAxVBndvaHkV8FbeNDwhr
...
rAM01g1berpRtKFoqDmFtBMJ
=5DCI
-----END PGP PRIVATE KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFitREkBCAC/qokzsIebntc0tFgv/1/aZHIA14ApAxVBndvaHkV8FbeNDwhr
...
g3UrMcjPDVsDEV79oZ+sAzTWDVt6ulG0oWioOYW0Ewk=
=NhZw
-----END PGP PUBLIC KEY BLOCK------
The PGP format is a binary format and can only be read with special programs (e.g. with Lobster_data).
See Lobster_data preparser PGPDecryption.
PGP Keyring for Encryption
Lobster_data can read ASC-based or PGP-based keyrings and use them for encryption. Please note that only the public key may be included in the keyring. Since more than one public key can be contained in a keyring, an addressing of the entry by the email address is required. The keys can be up to 4096 bytes long.
An example of ASC format with public key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFitREkBCAC/qokzsIebntc0tFgv/1/aZHIA14ApAxVBndvaHkV8FbeNDwhr
...
g3UrMcjPDVsDEV79oZ+sAzTWDVt6ulG0oWioOYW0Ewk=
=NhZw
-----END PGP PUBLIC KEY BLOCK------
The PGP format is a binary format and can only be read with special programs (e.g. with Lobster_data).
See Lobster_data postexecuter PGPEncryption.
Tool for PGP Keys
There is a useful freeware tool to manage or create the keys for PGP. The tool is called 'Kleopatra' and is part of GPG4WIN.
If keys are not readable by Lobster_data, you can import the keys and export them as ASC or PGP to make them readable for Lobster_data.
Here are some screenshots of the tool.
Creating a Key Pair
A key pair consists of a private and public key. Click File -> New Certificate...
Exporting a Public Key
Select the context menu item Export Certificates... of the selected key pair.
Exporting a Private Key
Select the context menu item Export Secret Keys... of the selected key pair.