help: state machine is DEAD. Reset the card first.

pmlopes at pmlopes at
Tue Sep 23 20:57:26 CEST 2014

I just reseted the card, i will load the keys again and see how it goes, btw i am using 2.0.22, is that too old?

My main issue with this is that everything has been working fine until i imported de certificate, now even gpg agent fails to do ssh authentication, which has been working fine for months...

If i reset the card, does it tottaly wipe it? So if i just copy the 3 keys back it will work as before?

Also and maybe pushing my luck, is there some official ppa for ubuntu 14.04 with the latest gnupg?

Sorry for the noob questions :)


-----Original Message-----
From: Werner Koch
Sent:  23/09/2014, 17:41 
To: Paulo Lopes
Cc: gnupg-users at
Subject: Re: help: state machine is DEAD. Reset the card first.

On Tue, 23 Sep 2014 16:14, pmlopes at said:

> Sep 23 14:34:03 WLT000113 pcscd: openct/proto-t1.c:170:t1_transceive() T=1
> state machine is DEAD. Reset the card first.
> Sep 23 14:34:03 WLT000113 pcscd: ifdwrapper.c:527:IFDTransmit() Card not
> transacted: 612

"card not transacted" used to be a catch-all error of pcsclite.  Please
try the internal driver of scdaemon: Stop pcscd and that driver will be
used.  If that still does not work check the permissions of the USB
device (you need write access) and add

--8<---------------cut here---------------start------------->8---
debug 2048
log-file /foo/bar/scd.log
--8<---------------cut here---------------end--------------->8---

to ~/.gnupg/scdaemon.conf.  Kill scdaemon ("gpgconf --kill scdaemon" or
"pkill scdaemon")

> So my question is, can i have my 3 keys + 1 cert in the card? how can i

Yes.  Please use a recent version of GnuPG because a bug concering the
reading of long certificates was recently fixed.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list