Package: opensc
Version: 0.11.1-3
Severity: normal
File: /usr/bin/pkcs15-init

Hello,

I try to use a etoken pro 64k without success.

$ pkcs15-init -r 1 --create-pkcs15 
pkcs15-lib.c:311:sc_pkcs15init_bind: Unsupported card driver default
Couldn't bind to the card: Not supported

I add a card_atr section in opensc.conf to force the driver cardos:

       card_atr 3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75 {
                name = "Aladdin eToken PRO 64k";
                driver = "cardos";
       }

$ pkcs15-init -r 1 --create-pkcs15 
New Security Officer PIN (Optional - press return for no PIN).
Please enter Security Officer PIN: 
Please type again to verify: 
Unblock Code for New User PIN (Optional - press return for no PIN).
Please enter User unblocking PIN (PUK): 
Please type again to verify: 
card.c:376:sc_create_file: returning with: Not supported
Failed to create PKCS #15 meta structure: Not supported


$ opensc-tool -l
Readers known about:
Nr.    Driver     Name
0      openct     OpenCT reader (detached)
1      openct     Aladdin eToken PRO 64k
2      openct     OpenCT reader (detached)
3      openct     OpenCT reader (detached)
4      openct     OpenCT reader (detached)

$ cardos-info -r 1 -v
Connecting to card in reader Aladdin eToken PRO 64k...
Using card driver Default driver for unknown cards.
Info : CardOS V4.2B (C) Siemens AG 1994-2005
Chip type: 124
Serial number: 26 04 f6 0a 2c 0d
Full prom dump:
33 66 00 22 9A 9A 9A 9A 7C FF 26 04 F6 0A 2C 0D 3f."....|.&...,.
00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
OS Version: 200.9 (unknown Version)
Current life cycle: 32 (administration)
Security Status of current DF:
Free memory : 1024
ATR Status: 0x0 ROM-ATR
Packages installed:
Ram size: 4, Eeprom size: 64, cpu type: 66, chip config: 63
Free eeprom memory: 42602
System keys: PackageLoadKey (version 0xfe, retries 10)
System keys: StartKey (version 0xff, retries 10)
Path to current DF:

Regards.
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.4-vs2.3.0.12+thorr.2 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages opensc depends on:
ii  libc6                         2.5-7      GNU C Library: Shared libraries
ii  libltdl3                      1.5.22-4   A system independent dlopen wrappe
ii  libopensc2                    0.11.1-3   SmartCard library with support for
ii  libssl0.9.8                   0.9.8e-4   SSL shared libraries
ii  zlib1g                        1:1.2.3-14 compression library - runtime

opensc recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to