On 04/16, Stuart Henderson wrote: > On 2017/04/10 00:20, Pavel Korovin wrote: > > Hi Pierre-Emmanuel, > > It worked fine for me ~1 year until this update. > > I have passphrase-protected private key on Yubikey, and gpg-agent doesn't > > ask > > for the passphrase any more. No idea how to debug this issue, since there > > are > > many moving parts involved. > > Can you show how you setup the yubikey to work with this?
Nothing special, just standard procedure of generating master key with subkeys followed by transfer of the private subkeys to Yubikey like: ### transfer private subkeys: # gpg2 --edit-key $masterkey toggle key 1 keytocard key 1 key 2 keytocard ## etc. save ### trust keys: gpg2 --edit-key $masterkey toggle key 1 key 2 key 3 trust save ### configure touch option for yubikey4: yubitouch sig on <pin> yubitouch aut off <pin> yubitouch dec on <pin> ### set pins: gpg2 --card-edit admin passwd <set pins> -- With best regards, Pavel Korovin
