Verify PGP signature of downloaded resources

Verify installers and updates using Pretty Good Privacy (PGP).

2 minute read

API Gateway installers and updates are signed using Pretty Good Privacy (PGP) to prove authenticity and ensure integrity. This topic explains how you can use Axway’s public PGP key to verify the signature of Axway’s resources.

You can find the signatures, which are files with the same name as the original file, but with .asc appended to their filenames, in each Axway resources package.

Prerequisites

  • You have downloaded the required file and its related .asc signature file from Axway Support.
  • You have downloaded the public PGP key file (axwaypgp.asc) from Axway Support.
  • A tool to verify PGP signature is installed.

Import Axway PGP key

You can import Axway’s code signing PGP key with a PGP tool. The following example uses the GNU Privacy Guard (GPG).

gpg --import axwaypgp.asc

Optionally, you can use the gpg --edit-key option to assign a trust level to the key.

gpg --edit-key product.security.group@axway.com trust

Verify a detached signature

Use the PGP tool to verify the signature of a downloaded file.

gpg --verify installer.tar.gz.asc installer.tar.gz

gpg: Signature made Mon 22 Feb 2021 13:40:22 GMT
gpg:                using RSA key 1B433523955D3C69
gpg: Good signature from "AXWAY PGP KEY (Code Signing) <product.security.group@axway.com>" [ultimate]
gpg:                 aka "product.security.group@axway.com" [ultimate]

If the key has not been explicitly trusted, the result will contain a warning, but the signature will still be shown as valid.

gpg --verify installer.tar.gz.asc installer.tar.gz
 
gpg: Signature made Thu Jan 28 23:25:41 2021 UTC
gpg:                using RSA key 1B433523955D3C69
gpg: Good signature from "AXWAY PGP KEY (Code Signing) <product.security.group@axway.com>" [unknown]
gpg:                 aka "product.security.group@axway.com" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 6800 AEEC B8DE 55EC 5A17  47F9 1B43 3523 955D 3C69