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

Damien Goutte-Gattat dgouttegattat at incenp.org
Tue Sep 23 17:15:28 CEST 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20140923/b6bdbbe1/attachment.sig>


More information about the Gnupg-users mailing list