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

Paulo Lopes pmlopes at gmail.com
Tue Sep 23 17:31:31 CEST 2014


so with the reseted card i converted the X509 to der format and imported
it, gpg2 did not report any error but my syslog states:

[ 4792.299961] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 6 ep 4 with
no TDs queued?

lots and lots of times....

Then i thought, it is saved so lets read it...

readcert 3 > out.der

and i get:

gpg/card> readcert 3 > out.der
gpg: error reading certificate from card: Not found

BTW i am used ubuntu 14.04 64bit if that means anything...

gpg (GnuPG) 2.0.22
libgcrypt 1.5.3



On Tue, Sep 23, 2014 at 5:15 PM, Damien Goutte-Gattat <
dgouttegattat at incenp.org> wrote:

> Hi,
>
> On 09/23/2014 04:14 PM, Paulo Lopes wrote:
> > so i got my pem file and did what was on many websites:
> >
> > gpg2 --edit-card > admin > writecert 3 < file.crt
>
> You must first encode the PEM certificate in DER format:
>
> $ openssl x509 -inform PEM -in file.crt -outform DER -out file.der
>
> Then you can import the DER-encoded certificate onto the card.
>
>
> Damien
>
>


-- 
Paulo Lopes
www.jetdrone.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140923/a392d620/attachment-0001.html>


More information about the Gnupg-users mailing list