Hey so I’m new to the world of gpg/pgp. Using a test gpg key pair I created, the goal was to digitally sign a odf so I was wondering what do I backup so I could keep signing digitally using this key in case shit hits the fan and my computer no longer works? Using seahorse, I perfer it to the terminal, the options are to either export the public key or the secret key and I’m honestly confused should I do both or just the secret key? I did notice people also just take a copy of their .gnupg directory but I feel thats just to backup all of their keys including imported ones rather than a singular one. Any help is appreciated preferably as if you were talking to a 5 year old

The TLDR: Just created a gpg key pair now how do I back it up?

  • PlexSheep@feddit.de
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    That’s correct. If you’re not working with a pure mathematical private key. Any common format contains the information to get the public key, in fact, that’s how the public key is generated.