Goetz Bock
2008-12-01 10:03:34 UTC
Dear list,
my first try still awaits moderator approval, but I've now subscribed to
the ML.
To skip all the context, search for QUESTION.
manufacturing mode.
I'm using
- Debian 4.0
- OmniKey 3821 reader
- pcscd 1.4.99, pcsc-omnikey 3.4, opensc 0.11.4, openct 0.6.14 all from
backports40+1
output from cardos-info
| iso7816.c:99:iso7816_check_sw: Instruction code not supported or invalid
| iso7816.c:458:iso7816_select_file: returning with: Unsupported INS byte in APDU
| card.c:563:sc_select_file: returning with: Unsupported INS byte in APDU
| 3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75
| Info : CardOS V4.2B (C) Siemens AG 1994-2005
| Chip type: 123
| Serial number: xx xx xx xx xx xx
| Full prom dump:
| 33 66 00 45 CB CB CB CB 7B FF 25 B5 85 0F 06 27 3f.E....{.%....'
| 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
| OS Version: 200.9 (that's CardOS M4.2b)
| Current life cycle: 52 (manufacturing)
| Security Status of current DF:
| Free memory : 13321
| ATR Status: 0x0 ROM-ATR
| Packages installed:
| Ram size: 4, Eeprom size: 32, cpu type: 66, chip config: 63
| Free eeprom memory: 32620
| System keys: PackageLoadKey (version 0x00, retries 10)
| System keys: StartKey (version 0x00, retries 10)
| Unable to determine current DF:
| Received (SW1=0x6D, SW2=0x00)
| iso7816.c:99:iso7816_check_sw: Instruction code not supported or invalid
| iso7816.c:458:iso7816_select_file: returning with: Unsupported INS byte in APDU
| card.c:563:sc_select_file: returning with: Unsupported INS byte in APDU
I've no idea where the errors come from, maybe from beeing
uninitialised.
opensc-tool only knows the card, when i specify the driver
opensc-tool -a -v
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver Default driver for unknown cards.
| Card ATR:
| 3B F2 18 00 02 C1 0A 31 FE 58 C8 09 75 ;......1.X..u
| Card name: Unidentified card
opensc-tool -a -v -c cardos
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver Siemens CardOS.
| Card ATR:
| 3B F2 18 00 02 C1 0A 31 FE 58 C8 09 75 ;......1.X..u
| Card name: CardOS M4
I also have a TCOS card, but that seams to be unsupported, too.
opensc-tool -a -v
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver TCOS 2.0.
| Card ATR:
| 3B BA 96 00 81 31 86 5D 00 64 05 60 02 03 31 80 ;....1.].d.`..1.
| 90 00 66 ..f
| Card name: TCOS
pkcs15-tool -c
| PKCS#15 initialization failed: Unsupported card
opensc-tool -f
| 3f00 [\xD2v\x00\x00\x03] type: DF, size: 0
| select[NONE] lock[NONE] delete[N/A] create[NONE] rehab[NONE] inval[NONE] list[NONE] sec: Segmentation fault
Now to my QUESTIONs:
- where can I get an "official siemens tool" to initialise my card
- Andreas did Siemens reply to you request to write an initialisation
tool?
- can I somehow initalise the TCOS card?
Thanks a lot,
Goetz.
my first try still awaits moderator approval, but I've now subscribed to
the ML.
To skip all the context, search for QUESTION.
The Client-Side seems to be nice, and I already got a Siemens CardOS
4.3B-Smartcard. Unfortunately this card is not initialised and still
in manufacture-mode.
right now you need some official siemens tool to do that for you.
I'm asking siemens if we can use (and thus publish the command in
source).
not much hope here, but we can ask.
Gues what, I've a simmilar problem, my card is CardOS 4.2b and also in4.3B-Smartcard. Unfortunately this card is not initialised and still
in manufacture-mode.
right now you need some official siemens tool to do that for you.
I'm asking siemens if we can use (and thus publish the command in
source).
not much hope here, but we can ask.
manufacturing mode.
I'm using
- Debian 4.0
- OmniKey 3821 reader
- pcscd 1.4.99, pcsc-omnikey 3.4, opensc 0.11.4, openct 0.6.14 all from
backports40+1
output from cardos-info
| iso7816.c:99:iso7816_check_sw: Instruction code not supported or invalid
| iso7816.c:458:iso7816_select_file: returning with: Unsupported INS byte in APDU
| card.c:563:sc_select_file: returning with: Unsupported INS byte in APDU
| 3b:f2:18:00:02:c1:0a:31:fe:58:c8:09:75
| Info : CardOS V4.2B (C) Siemens AG 1994-2005
| Chip type: 123
| Serial number: xx xx xx xx xx xx
| Full prom dump:
| 33 66 00 45 CB CB CB CB 7B FF 25 B5 85 0F 06 27 3f.E....{.%....'
| 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
| OS Version: 200.9 (that's CardOS M4.2b)
| Current life cycle: 52 (manufacturing)
| Security Status of current DF:
| Free memory : 13321
| ATR Status: 0x0 ROM-ATR
| Packages installed:
| Ram size: 4, Eeprom size: 32, cpu type: 66, chip config: 63
| Free eeprom memory: 32620
| System keys: PackageLoadKey (version 0x00, retries 10)
| System keys: StartKey (version 0x00, retries 10)
| Unable to determine current DF:
| Received (SW1=0x6D, SW2=0x00)
| iso7816.c:99:iso7816_check_sw: Instruction code not supported or invalid
| iso7816.c:458:iso7816_select_file: returning with: Unsupported INS byte in APDU
| card.c:563:sc_select_file: returning with: Unsupported INS byte in APDU
I've no idea where the errors come from, maybe from beeing
uninitialised.
opensc-tool only knows the card, when i specify the driver
opensc-tool -a -v
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver Default driver for unknown cards.
| Card ATR:
| 3B F2 18 00 02 C1 0A 31 FE 58 C8 09 75 ;......1.X..u
| Card name: Unidentified card
opensc-tool -a -v -c cardos
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver Siemens CardOS.
| Card ATR:
| 3B F2 18 00 02 C1 0A 31 FE 58 C8 09 75 ;......1.X..u
| Card name: CardOS M4
I also have a TCOS card, but that seams to be unsupported, too.
opensc-tool -a -v
| Connecting to card in reader OMNIKEY CardMan 3821 00 00...
| Using card driver TCOS 2.0.
| Card ATR:
| 3B BA 96 00 81 31 86 5D 00 64 05 60 02 03 31 80 ;....1.].d.`..1.
| 90 00 66 ..f
| Card name: TCOS
pkcs15-tool -c
| PKCS#15 initialization failed: Unsupported card
opensc-tool -f
| 3f00 [\xD2v\x00\x00\x03] type: DF, size: 0
| select[NONE] lock[NONE] delete[N/A] create[NONE] rehab[NONE] inval[NONE] list[NONE] sec: Segmentation fault
Now to my QUESTIONs:
- where can I get an "official siemens tool" to initialise my card
- Andreas did Siemens reply to you request to write an initialisation
tool?
- can I somehow initalise the TCOS card?
Thanks a lot,
Goetz.
--
/"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting
\ / (c) 2008 Creative Commons, Attribution-ShareAlike 2.0 de
X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ]
/ \ [ 3. Reply to the list - 4. Read the archive *before* you post ]
/"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting
\ / (c) 2008 Creative Commons, Attribution-ShareAlike 2.0 de
X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ]
/ \ [ 3. Reply to the list - 4. Read the archive *before* you post ]