There's an option missing that could cause data loss in its absence:

$ gpg --armor --export > pub.asc

I'd make that:

$ gpg --armor --export-options export-local-sigs --export >pub.asc

If you have made any signatures that are not exportable (so lsign and
friends), they would not be exported otherwise. That is obviously what
it is for, but if you do this to make a backup of your own keyring, you
would still want to keep those.

And symmetrically, you'll want

$ gpg --import-options import-local-sigs --import pub.asc

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to