Skip to main content
Notice removed Reward existing answer by alecxe
Bounty Ended with RubberStamp's answer chosen by alecxe
Notice added Reward existing answer by alecxe
Bounty Started worth 100 reputation by alecxe
Tweeted twitter.com/StackUnix/status/1169218678405177345
Improved wording and punctuation.
Source Link

How to export a GPG private key and public key to a file

I have generated keys using GPG, by executing the following command

gpg --gen-key 

However,Now I need to export the key pair to a file. ifile; i.e. private, private and public keykeys to private.pgp and public.pgp, respectively.  How do I do it?

How to export a GPG private key and public key to file

I have generated keys using GPG, by executing following command

gpg --gen-key 

However, I need to export key pair to a file. i.e. private and public key to private.pgp and public.pgp respectively.

How to export a GPG private key and public key to a file

I have generated keys using GPG, by executing the following command

gpg --gen-key 

Now I need to export the key pair to a file; i.e., private and public keys to private.pgp and public.pgp, respectively.  How do I do it?

I have generated keys using GPG, by executing following command

gpg2 --gen-key.

gpg --gen-key 

However i, I need to export key pair to a file. iei.e. private and public key to private.pgpprivate.pgp and public.pgppublic.pgp respectively.

I have generated keys using GPG, by executing following command

gpg2 --gen-key.

However i need to export key pair to a file. ie private and public key to private.pgp and public.pgp respectively

I have generated keys using GPG, by executing following command

gpg --gen-key 

However, I need to export key pair to a file. i.e. private and public key to private.pgp and public.pgp respectively.

Source Link
rocky
  • 2.9k
  • 2
  • 10
  • 5

How to export a GPG private key and public key to file

I have generated keys using GPG, by executing following command

gpg2 --gen-key.

However i need to export key pair to a file. ie private and public key to private.pgp and public.pgp respectively