gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

Kristian Fiskerstrand kristian.fiskerstrand at sumptuouscapital.com
Wed Jun 17 18:44:22 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06/17/2015 06:17 PM, Simon Josefsson wrote:
> NIIBE Yutaka <gniibe at fsij.org> writes:
> 
>> Gpg frontend certainly works well for --sign, --decrypt after
>> you remove your token and insert it again.  Please try:
>> 
>> (1) Insert token (2) Run "gpg --card-status" (3) Remove token (4)
>> Run "gpg --sign" or "gpg --decrypt"
>> 
>> SSH authentication also works well after removal/insertion.
>> 
>> Note that it all works for me with Gnuk Token or OpenPGPcard with
>> a card reader.
> 
> Removing/inserting YubiKey NEO works fine for me with GnuPG 2.0.x
> from Jessie.  Could this be a GnuPG 2.1.x issue?  Lance, did this
> work with older GnuPG versions?
> 

No issue here at least using Gentoo's gnupg-2.1.5 ebuild with
IUSE:{smartcard,usb} using either yubikey or openpgp smartcard,


- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: http://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
Dura necessitas
Necessity is harsh
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJVgaPhAAoJECULev7WN52Fy8MH/3aaaoYf7J8Ygo/SINasPCR6
1oJmMPTeA3EmKTvZKFWcbxljUZHLMBzWr2ID9/qmrfyBDc8VsazEdx8wd1iydxXe
SFBckh2V281fvQMPwJzovnNV8BciqD/YkAYoIXG502MpEVRmQCyPi97wUzAq1xUx
aK8nFT6U2Fg935SIC3AftX+wJapLKzvc/M9yrwANePKiLcVv8Ni/5KhecQYoJmsD
BdnwBNlAt82dnWJaTf8yw/2YCmpVFbia9rA+3LVEXzwRAh73xlU6Ozakuo+obm1j
fNsD2JCXaPUu7jTceA55cEXbHWbd35gpTfeu9hRI5Zi1mTV4BkVP7+qJofm0+9A=
=0pB7
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list