Page MenuHome GnuPG

Export keys + manual
Open, Needs TriagePublic

Description

It is quite unclear (manual) if it is possible to export private and public keys separately and how to do it.
So, the feature request is: add options to separately export public and private key, or both in a unique file (as it seems to be at the moment).

I run the following on the command line to export separately or a unique file. Cannot understand why unique file exportet via command line differs from the one created as a backup via Kleopatra. Probabily I'm just a dumb dummie.

gpg --output public.gpg --armor --export my_e-mail
gpg --output private.gpg --armor --export-secret-key my_e-mail
gpg --output backupkeys.gpg --armor --export-secret-keys --export-options export-backup my_e-mail

Details

Version
Kleopatra Version Gpg4win-3.1.15

Event Timeline

werner added a subscriber: werner.

The private key contains the public key. Thus there is no need to export the public key if you already got the secret key.

But maybe I did not understand your request correctly.