Smart card signing failure

Kurt Fitzner kfitzner at excelcia.org
Sat Dec 31 00:58:55 CET 2005


Hi all,

I'm having a tough time trying to get a smart card to work.  I followed
the card-howto to the letter to initialize the card and generate the
keys.  This works, and gpg --card-status seems to work just fine.  When
I try to sign a file, though, I get:

 > gpg -u card --detach-sign test.txt
   gpg: detected reader `OMNIKEY CardMan 2020 0'
   gpg: signing failed: invalid argument
   gpg: signing failed: invalid argument

I have also tried --disable-ccid, as this is a pc/sc card reader, but
that has no effect.

Any hints as to what I am doing wrong?

	Kurt.



More information about the Gnupg-users mailing list