scdaemon with cryptoflex
"Prágai, Róbert"
pragai at rubin.hu
Sat Oct 23 10:58:00 CEST 2004
Hi,
is it possible to use scdaemon with a Schlumberger Cryptoflex card
using it's pkcs15 structure created by opensc? I tried but gpg2 --card
-status failed with various errors.
So, I have a working card, with a pkcs15 structure. I have successfully
start the scdaemon, but it reports: can't lock card in reader 0: Generic
reader error. When I restart openct, anther error appears as well: no
supported card application found: Card error
What can be the reason of this? Any suggestions?
zyx:/home/pragai/gpg/src/gnupg-1.9.11# opensc-tool -a
3B 95 18 40 FF 62 01 02 01 04 ;.. at .b....
zyx:/home/pragai/gpg/src/gnupg-1.9.11# pkcs15-tool -k
Private RSA Key [Private Key]
Com. Flags : 3
Usage : [0x22E], decrypt, sign, signRecover, unwrap,
nonRepudiation
Access Flags: [0x1D], sensitive, alwaysSensitive, neverExtract,
local
ModLength : 1024
Key ref : 0
Native : yes
Path : 3F0050154B0130450012
Auth ID : 01
ID : 45
zyx:/home/pragai/gpg/src/gnupg-1.9.11# eval `scdaemon --daemon`
scdaemon[9367]: NOTE: this is a development version!
zyx:/home/pragai/gpg/src/gnupg-1.9.11# gpg2 --card-status
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: DBG: connection to agent established
scdaemon[9371]: NOTE: this is a development version!
scdaemon[9371]: can't lock card in reader 0: Generic reader error
scdaemon[9371]: can't lock card in reader 0: Generic reader error
scdaemon[9371]: can't lock card in reader 0: Generic reader error
scdaemon: card.c:486: sc_unlock: Előfeltételezés `card->lock_count >= 1'
sikertelen.
gpg-agent[9370]: command learn failed: Unknown system error
gpg: OpenPGP card not available: Assuan server fault
zyx:/home/pragai/gpg/src/gnupg-1.9.11# /etc/init.d/openct restart
Restarting smart card terminal framework: OpenCT1 process killed.
.
zyx:/home/pragai/gpg/src/gnupg-1.9.11# gpg2 --card-status
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: DBG: connection to agent established
scdaemon[9380]: NOTE: this is a development version!
scdaemon[9380]: no supported card application found: Card error
scdaemon[9380]: can't lock card in reader 0: Generic reader error
scdaemon: card.c:486: sc_unlock: Előfeltételezés `card->lock_count >= 1'
sikertelen.
gpg-agent[9379]: command learn failed: Unknown system error
gpg: OpenPGP card not available: Assuan server fault
thanks,
Robert
More information about the Gnupg-users
mailing list