On 25/01/11 17:54, Lionel Elie Mamane wrote:
On Tue, Jan 25, 2011 at 11:50:10AM +0100, Alain Knaff
wrote:
Yesterday, I tried to follow your instructions
in
http://c3l.lu/wiki/index.php/Luxtrust#Using_Open_source_tools , but
unfortunately the tools segfault:
Here's a patch. Or use SVN revision r5052, which as far as I remember
does not have this bug yet. I'm filing the bug in their bug tracker.
Thanks. With this, pkcs15-tool works great, but unfortunately not pkcs11-tool:
/some/place/bin/pkcs11-tool --list-slots
Available slots:
Slot 0 (0x0): (GetSlotInfo failed, CKR_ARGUMENTS_BAD)
Slot 1 (0x1): Gemplus GemPC Key 00 00
(empty)
Slot 2 (0x2): Gemplus GemPC Key 00 00
(empty)
Slot 3 (0x3): Gemplus GemPC Key 00 00
(empty)
Slot 4 (0x4): Virtual slot
(empty)
Slot 5 (0x5): Virtual slot
(empty)
Slot 6 (0x6): Virtual slot
(empty)
Slot 7 (0x7): Virtual slot
(empty)
Slot 8 (0x8): Virtual slot
(empty)
Slot 9 (0x9): Virtual slot
(empty)
Slot 10 (0xa): Virtual slot
(empty)
Slot 11 (0xb): Virtual slot
(empty)
Slot 12 (0xc): Virtual slot
(empty)
Slot 13 (0xd): Virtual slot
(empty)
Slot 14 (0xe): Virtual slot
(empty)
Slot 15 (0xf): Virtual slot
(empty)
/some/place/bin/pkcs11-tool --slot-index 1 -l -O
Using slot with index 1 (0x1)
error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0)
Aborting.
Any ideas?
Thanks,
Alain