Unlock smartcard PIN without decrypting a file

2020-12-30 Thread jman
To do the verification without any operation you can use "gpg --card-edit" and then enter "verify". If you want to see the commands send to the scd run gpg --debug ipc --card-edit Thank you so much for the detailed anwser! Based on your suggestion I could debug that the "verify" command se

Re: Unlock smartcard PIN without decrypting a file

2020-12-29 Thread Werner Koch via Gnupg-users
On Tue, 29 Dec 2020 15:13, Journeyman said: > that SCD commands do not require the PIN. The PIN is passed to the card and processed by the card. Thus the card decides on whether an operation needs a PIN. Usually the PIN is required only once and valid until the card is powered down (e.g. unplug

Unlock smartcard PIN without decrypting a file

2020-12-29 Thread Journeyman
Howdy, usually I unlock my Yubikey and enter its PIN when I need to decrypt a file. Sometimes I'd like to unlock the smartcard without really interacting with the private key stored there. Is there an SCD command that allows me to do this? I've read the GNUPG manual but couldnt really find an