gpg-agent: error accessing card: Conflicting use

the2nd at the2nd at
Fri Nov 20 13:37:14 CET 2015


now i have the same problem on my ubuntu installation at work. I've 
updated to ubuntu 15.10 and now it happens from time to time just like 
on my sabayon installation. But as i dont use the OTP feature of the 
yubikey at work i can say for sure that the problem exists without 
pressing the yubikey button. Also it happens without yubikey pull out 
and it is not related to my yubikey because a colleague of mine has the 
same problem after upgrading to ubuntu 15.10.

GPG version is 1.4.18.

Any help is appreciated.


On 2015-08-11 20:10, the2nd at wrote:
> Hi again :)
> nobody else with this problem?
> On 2015-05-30 14:25, the2nd at wrote:
>> Hi,
>> i have a problem with gpg-agent when using it with a yubikey neo.
>> after some time gpg-agent refuses to sign any data and so any ssh
>> login with my key stored on the yubikey will fail. the gpg-agent log
>> shows the following messages:
>> 2015-05-30 13:49:36 gpg-agent[3600] error accessing card: Conflicting 
>> use
>> 2015-05-30 13:49:36 gpg-agent[3600] smartcard signing failed: 
>> Conflicting use
>> 2015-05-30 13:49:38 gpg-agent[3600] error getting default
>> authentication keyID of card: Conflicting use
>> the command to start gpg-agent on KDE login is:
>> eval "$(/usr/bin/gpg-agent --daemon --enable-ssh-support --log-file
>> ~/.gnupg/gpg-agent.log)"
>> i haven't found the exact circumstances when it happens but its more
>> likely to happen when the yubikey was plugged off and re-inserted, but
>> it also happens without pull off from time to time. a restart of
>> gpg-agent fixes the issue. it also often happens after i've pressed
>> the yubikey button to generate an OTP but not always.
>> gnupg version is 2.0.27-r1 running on sabayon linux.
>> when using the same yubikey on my ubuntu 14.04 notebook at work i
>> never had this problem.
>> thanks for any help.
>> regards
>> the2nd
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at

More information about the Gnupg-users mailing list