2 msgmaking a passphrase by doubling a password and ...
8 msggen-key non-interactively
8 msgKeyrings for websites

OpenPGP card and secret keys
\ Alex Mauer (7 Feb 2007)
. \ Werner Koch (8 Feb 2007)
. \ Alex Mauer (8 Feb 2007)

1 msgJADE-S, secure communication with DF?
2 msggpg.conf missing
5 msgGPG fails to verify clamav
1 msg[Announce] GPGME 1.1.3 released
2 msgdoubt in clear text signing
9 msgsmartcard and ssh
2 msg[Announce] GnuPG 2.0.2 released
1 msg[Announce] Libgcrypt 1.2.4 released
6 msg'sensitive' designated revoker -- are the keyse...
6 msgNew command line language parameter
4 msgimport secret subkey
1 msgGnuPG Newbie
1 msgpayload in GenericMessage
2 msgGPG 2.0.1 No passphrase
2 msgBug?
3 msgFuture time: --ignore-time-conflict and --ignor...
Subject:OpenPGP card and secret keys
Group:Gnupg-users
From:Alex Mauer
Date:7 Feb 2007


 
I seem to be having some trouble with my openpgp card:

gnupg knows I have secret keys on an openpgp card:
$ gpg --list-secret-keys
/home/amauer/.gnupg/secring.gpg
-------------------------------
sec# 1024D/51192FF2 2002-03-22
ssb> 1024R/4A1C1224 2005-06-27

(output has been modified showing only what I think are relevant lines)

but then when I try to sign a file, gpg ignores these keys:

$ gpg --clearsign test.txt
gpg: secret key parts are not available
gpg: no default secret key: general error
gpg: test.txt: clearsign failed: general error

Even if I specify the signing subkey from the card, it doesn't work:

$ gpg --clearsign -u '0x4a1c1224' test.txt
gpg: secret key parts are not available
gpg: skipped "0x4a1c1224": general error
gpg: test.txt: clearsign failed: general error

If I force that subkey, it works:
$ gpg --clearsign -u '0x4a1c1224!' test.txt
$
(gpg agent popped up a pinentry dialog, and I was able to enter the PIN
on the pinpad)

What am I doing wrong?

-Alex Mauer "hawke"




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


© 2004-2008 readlist.com