How to properly backup and import a private PGP key? Possible issue with private key exporting different public keys

I have been using the same private key in Tails for a while now and recently noticed that the public PGP key I export has changed slightly. I noticed this happened after I installed a clean version of Tails and imported my private key from a backup. The exported public keys are very similar, but a few characters are different. I have had no problem logging in to markets with 2FA, even though the public keys aren't the same as the public key I have now. Why would the public key change, and, if it is related to importing the private key, what is the proper way to save and import a private key?

EDIT: I saved the key by going to Manage Keys --> Double click private key --> Click Details tab --> Export secret key --> Save as Armored key (the only option available) --> Import into new copy of Tails The problem I am having is that anything I sign using this private key is now coming up as invalid. Encrypting/decrypting still seems to work fine.


Comments


[1 Points] None:

[deleted]


[1 Points] Darknet_Retard:

You can copy a key, paste it into a text file and save it. Then run GPA and import it.

If you need to make a new key, it's not a big deal, just update it in all of your market profiles.


[1 Points] zman3000:

im sure bigmuscles would love to help


[1 Points] motherfuckingtheresa:

the private key should be all you need to recreate your public key. Did you upgrade to a new version of tails with a different version of gpg installed? I would try booting off your older/original TAILs disk, re-import the private key and see if your public key there is different or the same. I would also try importing it at the command line, whether the new version or the old, "gpg --import "keyfile.asc" and then examine your key there "gpg --list-keys" would be a good start.