smart card + gpg only root

Federico Munerotto mune72 at tiscali.it
Wed Jul 20 22:56:48 CEST 2005


Il mer, 2005-07-20 alle 21:31, Federico Munerotto ha scritto:
> Il mer, 2005-07-20 alle 17:49, Federico Munerotto ha scritto:
> > Il mer, 2005-07-20 alle 16:55, Werner Koch ha scritto:
> [...]
> > > Does this help?
> > 
> > Yep
> > 
> > Finally it worked, many thanks!
> > 
> > I copied your gnupg-ccid.usermap in /etc/hotplug/usb .
> > 
> > My reader is HUSBSCR by Hamlet:
> > http://www.hamletcom.com/ProductDetails.aspx?sid=35b7b4c44d114e50969195359871a380&ProductId=3437
> > Thay declare it is win comp but two months ago, when I bought it, there
> > was a penguin logo, too.
> > 
> > Now, I'll move my key from $HOME/.gnupg to the card and I'll tell to
> > Evolution to read there the key to sign my e-mails.
> 
> I thought I'm done: I was wrong.
> 
> My key wasn't writeable on the card ("You may only store a 1024 bit RSA
> key on the card"), so I thought I revoke the existing one and I will
> generate a new one.
> 
> The revoking process was ok but while genarating I got an error:
> 
> [mune at lello mune]$ gpg --card-edit
> [...]
>  
> Comando> admin
> Admin commands are allowed
>  
> Comando> generate
> Make off-card backup of encryption key? (Y/n)
>  
> PIN
> Per favore specifica per quanto tempo la chiave sarà valida.
>          0 = la chiave non scadrà
>       <n>  = la chiave scadrà dopo n giorni
>       <n>w = la chiave scadrà dopo n settimane
>       <n>m = la chiave scadrà dopo n mesi
>       <n>y = la chiave scadrà dopo n anni
> Chiave valida per? (0)
> Key does not expire at all
> Is this correct? (y/N) y
>  
> You need a user ID to identify your key; the software constructs the
> user ID
> from the Real Name, Comment and Email Address in this form:
>     "Heinrich Heine (Der Dichter) <heinrichh at duesseldorf.de>"
> [...]
> Modifica (N)ome, (C)ommento, (E)mail oppure (O)kay/(Q)uit? o
> gpg: generating new key
> 
> gpg: 3 Admin PIN attempts remaining before card is permanently locked
>  
> Admin PIN
> gpg: please wait while key is being generated ...
> gpg: ccid_transceive failed: (0x1000a)
> gpg: apdu_send_simple(0) failed: card I/O error
> gpg: generating key failed
> gpg: key generation failed: errore generale
> Generazione della chiave fallita: errore generale
>  
> Somebody has any suggests?
> 
> Thanks
-- 
Fede
_________________________________________________________________________
       mune (at) fsfe.org            Ing. Federico Munerotto               
   home    http://www.krl.it/~mune
Public key http://www.krl.it/~mune/personal/misc/pk/pk.html
   http://www.krl.it/~mune/personal/misc/signoraggio/
_________________________________________________________________________
Today is the first day of the rest of your life.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : /pipermail/attachments/20050720/a52a692f/attachment.pgp


More information about the Gnupg-users mailing list