5 msgProblem retrieving encrypted email
1 msgResend: Creating Rsa Public Key self signature
1 msgextra chars added to the decrypted string ( RSA...
12 msgMultiple recipients
25 msgGnuPG (GPG) Problem
1 msgError generating new keys on Windows with gnupg...
2 msgGnuPG (Windows XP) Problem
3 msgWeird Error Message

openpgp card woes: 'secret key not available'
\ Wouter van Heyst (17 Aug 2006)

1 msgCreating Rsa Public Key self signature
9 msgGPG and 1024-bit (or multiple) subkeys
3 msgKeyserver Software Recommendations
11 msgGPG question
2 msgAES 256 bit key generation
2 msgExport-Classification
3 msgencrypt/sign 2048 bit RSA key using another Rsa...
1 msg[gpgol] Plugin handling of messages....
1 msgtest
5 msgKey Certificates in GNUPG
1 msg[Announce] Gpg4win 1.0.5 released (security fix)
Subject:openpgp card woes: 'secret key not available'
Group:Gnupg-users
From:Wouter van Heyst
Date:17 Aug 2006


 
Hi all,

in my ongoing quest to make use of my OpenPGP card I've finally managed
to add several card subkeys to my key following
http://www.fsfe.org/en/card/howto/subkey_howto

However, I seem to have done something wrong (again):

> gpg -ev msg
gpg: using subkey B0DACEAB instead of primary key 0DC0B7D6
gpg: reading from `msg'
File `msg.gpg' exists. Overwrite? (y/N) y
gpg: writing to `msg.gpg'
gpg: RSA/AES encrypted for: "B0DACEAB Wouter van Heyst <larstiq>"

So far, so good.

> gpg -vd msg.gpg
gpg: public key is B0DACEAB
gpg: using subkey B0DACEAB instead of primary key 0DC0B7D6
gpg: detected reader `SCM SCR 335 (21120617208489) 00 00'
gpg: reader slot 0: active protocol: T1
gpg: slot 0: ATR=3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90
00 B1
gpg: AID: D2 76 00 01 24 01 01 01 00 01 00 00 03 54 00 00

PIN
gpg: verify CHV1 failed: invalid passphrase
gpg: using subkey B0DACEAB instead of primary key 0DC0B7D6
gpg: encrypted with 1024-bit RSA key, ID B0DACEAB, created 2006-08-15
"Wouter van Heyst <larstiq>"
gpg: public key decryption failed: invalid passphrase
gpg: decryption failed: secret key not available


gpg complains about an invalid passphrase, but it didn't even prompt for
one. I'm also not sure what the 'secret key not available' is about,
according to `gpg --card-status`:

Encryption key....: 6D70 3242 0A9E A10F 2A57 9E88 D886 E99A B0DA CEAB
created ....: 2006-08-15 13:37:02

I've ensured gpg-agent and/or scdaemon are not running, they have caused
weird problems in the past. Not sure what is wrong now.

mvgr,
Wouter van Heyst

_______________________________________________
Gnupg-users mailing list
Gnupg-users
http://lists.gnupg.org/mailman/listinfo/gnupg-users


© 2004-2008 readlist.com