I am using portable version of GPG4Win (Version 2.x). It is a non-install binary ready to be used, doesn’t have kleopatra.
Now, how can export(backup) & import(restore) my private key in case of disaster recovery?
are there any gpg2 command line options? I tried normal --export-secret-key & --import, but the imported key is unusable, meaning it has “sec#” when I list the private keys.
Thanks for following up and posting the link. That’s an interesting way to do it. Seems to work in cmd.exe as well using the “type” command in place of “cat”.