We suggest that you download and install the GNU Privacy Guard (GnuPG) to generate PGP keys for use with integrator.io. Due to platform restrictions, we are unable to support PGP keys generated with GnuPG version 2.1.0 or later. Celigo uses GnuPG version 2.0.19 on Macintosh and version 2.0.20 on Windows to generate our test PGP keys. Therefore, we recommend that you use GPG 2.0.19 on Macintosh and 2.0.20 on Windows as well.
In addition, do not generate PGP keys that use the AES cipher. If you encounter an error that says “AES/CFB/NoPadding is not supported,” try generating a new PGP key that uses 3DES or IDEA ciphers instead.
If you do not see a setting to change the cipher type, try downgrading your PGP keytool to a version that doesn’t use AES/CFB/NoPadding. For more information, refer to the vendor’s documentation.
Install GnuPG 2.0.20 on Windows
- Visit GnuPG.org.
- Scroll down to the section GnuPG binary releases.
- Click to download the second Windows OS option, download | sig: Simple installer for the current GnuPG.
- Install the executable.
Caution: During GnuPG 2.0.20 installation on Windows, if you encounter an error that says “This app has been blocked for your protection,” see Resolve Windows installation error, below.
After installing GnuPG, open a command line window (such as PowerShell/Command Prompt on Windows using Run as administrator or the Terminal on Macintosh) and type the following command:
Follow the on-screen prompts to generate a PGP key:
- At the command line screen, enter 1 for RSA and RSA (default), and press Enter.
- Enter a keysize no larger than 4096, and specify the expiry duration of the key. For example, enter 0 if you don't want the key to expire and then press Enter.
- Enter identity details like Real name, Email address, and Comment, and also set a passphrase.
The PGP key will be added to your GnuPG keyrings. Ensure that you note down the key's fingerprint to identify the keys you just generated. For example, in the below image, the string starting with E67... is the key's fingerprints.
Important: Exercise caution when entering PGP keys into integrator.io. A few Websites and text editors may add extra newline characters to the key files because they double-space all files, by default. It is very important that the key files do not have any extra newlines. Otherwise, the files cannot be parsed.
You can use the following command to export the private PGP key to a file:
gpg --export-secret-key -a -o <filename> <fingerprint>
You can use the following command to export the public PGP key to a file:
gpg --export -a -o <filename> <fingerprint>
To resolve the error that occurs during GnuPG 2.0.20 installation on Windows:
1. On your Windows machine, click the Windows icon on the bottom left and search for Command Prompt.