Skip to content

Instantly share code, notes, and snippets.

@QuynhVir
Created October 1, 2020 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuynhVir/425b29fb0160e604c19d844f273e9677 to your computer and use it in GitHub Desktop.
Save QuynhVir/425b29fb0160e604c19d844f273e9677 to your computer and use it in GitHub Desktop.
Keys on Smart Card not shown in GPG Keychain
# Get the public key (only if the public key is not yet in your keychain)
gpg --card-edit
fetch
quit
# Create a stub for the secret key in your keychain
gpg --card-status
# Use the (secret) key as if it was in your keychain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment