How to Generate a Public-Private Key Pair

This article describes how to generate a PGP keypair that you can use in GoodData SSO implementation (see Single Sign-On Overview).

To generate a new public-private key pair, use one of the following methods:

  • A desktop application, for example:
  • The gpg command line utility:
    1. Generate a new keypair:

      gpg --gen-key
    2. Export the keypair to a file (use the same email address that you used for generating the key pair):

      gpg --export -a "email@address.com" > public.key
    3. Download the GoodData public PGP key.
    4. Import the GoodData public key to your keystore:

      gpg --import gooddata-sso.pub