How to generate Public-Private key pair

Related Tags: sso

This article will help you with generating pgp keypair that you can use in GoodData Single Sign-On implementation.

How to generate pgp keypair

There are many options for generating a new public/private key pair. You may use the gpg command line utility or download a desktop app for this purpose.


If you are using the gpg command line utility, generate the new keypair using following command:

gpg --gen-key

After you have generated your new key, you can export it to a file using the following command:

gpg --export -a "" > public.key

The email address is the same as you used for generating the key pair.

Now, import the GoodData Public Key to your keystore:

gpg --import
  • To download the public key, click here.

Desktop clients

The following desktop clients may be useful for generating key pairs: