OpenPGP smartcard: addcardkey fails

Alphax alphasigmax at gmail.com
Thu Feb 16 04:29:57 CET 2006


Lionel Elie Mamane wrote:
> Hi,
> 
> I'm trying to generate an authentication subkey (tied to my main
> OpenPGP key) in my OpenPGP (FSFE Fellowship) smartcard (for poldi /
> SSH use), but can't get it to work. gpg --edit-card and --card-status
> works like a charm.
> 
> 
> Command> addcardkey
> gpg: detected reader `SCM SCR 335 (60600ad9) 00 00'
> Signature key ....: [none]
> Encryption key....: [none]
> Authentication key: [none]
> 
> Please select the type of key to generate:
>    (1) Signature key
>    (2) Encryption key
>    (3) Authentication key
> Your selection? 3
> gpg: 3 Admin PIN attempts remaining before card is permanently locked
> 
> Admin PIN
> 
> PIN
> Key is protected.
> gpg: secret key parts are not available
> gpg: Key generation failed: general error
> 
<snip>
> 
> Any clue? Thanks in advance.
> 

Is the secret part of the primary key available in your local keyring?

-- 
Alphax                      |   /"\
Encrypted Email Preferred   |   \ /     ASCII Ribbon Campaign
OpenPGP key ID: 0xF874C613  |    X   Against HTML email & vCards
http://tinyurl.com/cc9up    |   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 550 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20060216/744c05dd/signature.pgp


More information about the Gnupg-users mailing list