Sample Header Ad - 728x90

Why am I seeing output on `gpg --export-secret-key` when my secrets are on my smartcard?

0 votes
1 answer
81 views
I have a Yubikey with my GPG private keys on it, and public keys in my gpg keyring. I made sure that private keys are not present on my system by running gpg --export-secret-key -a which returned nothing but gpg --export -a printed my public key. Next after setting up my ` for signing I noticed that I still get a private key printed on --export-secret-key` after unlocking my card and using it to sign something. This baffled me because I wasn't expecting anything to be printed on --export-secret-key so I am curious what this key is? To be sure I have also tried deleting this private key --delete-secret-keys but using the smartcard again, populates the private key for this ``.
Asked by Weezy (679 rep)
Oct 17, 2024, 04:49 PM
Last activity: Oct 18, 2024, 06:45 AM