Hey again,
I'm answering my own mail here.
This issue seems to be resolved in version opensc-0.12.0-svn-r4647, I'm
using that one now instead.
gdm-plugin-smartcard still doesn't work though, however now slot_id has
a value. Something else is fishy, I'm talking to the gdm-developers
about that, if any of you are interested, here's the link.
http://mail.gnome.org/archives/gdm-list/2010-August/msg00023.html
Thanks anyway guys.
/Patrik Martinsson,
Sweden.
On 08/24/2010 09:09 AM, Patrik Martinsson wrote:
Hello everyone,
At our company we use identification cards as security tokens. We have
successfully used those together with
the pkcs11 lib that the company behind these cards deliver, however
I'm getting tired of their negligent and incompetent support,
therefore I would like to use opensc driver instead.
Enough with the wining, lets go down to business.
The cards we have uses SetCOS and I've successfully got them to work
with opensc, however I've got some concerns.
First some outputs,
$ opensc-tool --atr
Using reader with a card: OmniKey CardMan 3121 01 00
3b:7d:96:00:00:80:31:80:65:b0:a3:11:40:a9:83:00:90:00
$ opensc-tool --name
Using reader with a card: OmniKey CardMan 3121 01 00
SetCOS
Question #1,
Try pkcs11_inspect.
$ pkcs11_inspect
[opensc-pkcs11] iso7816.c:99:iso7816_check_sw: Instruction code not
supported or invalid
[opensc-pkcs11] card.c:588:sc_get_challenge: returning with:
Unsupported INS byte in APDU
PIN for token: xxxx
Printing data for mapper cn:
username
Works like a charm, however it gives me those two lines which is a bit
worrying/annoying.
What do they mean and is there anything i can do to fix them ?
Question #2,
I'm trying to use opensc-pkcs11.so together with gdm-plugin-smartcard.
That one is failing telling me, "assertion 'slot_id >= 1' failed",
obviously slot_id should be >= than 1, but it isn't and I'm not sure why.
I'm attaching my configfiles, logs.
I'm more then happy to help debugging this more if necessary.
Thanks in advance.
/Patrik Martinsson,
Sweden
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel