Il 16/01/2012 07:29, Scott Thomas ha scritto:

> I am using Cryptoflex e-gate v4 32k card which contains 8 slots for
> certificates. I have tried slot0-id_45 to slot7-id_45.
> On slot 0 it works fine but from slot 1-7 it gives error of empty slot
> which means that other 7 slots will must work fine
> but if i try slot 8-onwards, it gives error of invalid slot number by
> which it can be assumed that it does not work with 2 cards in this way.
Nope. IIUC, "slot" means "PIN" (or "authentication method"). You "log
in" to a slot and then can use all the keys in that slot.
So your card could easily have just one slot, containing up to 8 keys
and certs. IIRC Aventra MyEID cards can handle 14(15?) different PINS
(plus SO-PIN), so they could need 15 (or 16?) slots to be fully used.
In pcscd.conf you can define how many slots are available for each
reader and system-wide. IIRC by default you should have 4 slots for each
reader and up to 4 readers.
So, in your case, to use the key w/ ID 45 on the second card you should
use slot5-id_45... unless having keys with the same ID confuses the
system, even if they're in different slots.

Try:
$ pkcs11-tool --module /usr/lib/opensc-pkcs11.so -L -T

BYtE,
 Diego.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to