Re: [opensc-devel] cardos split-key

2009-11-16 Thread JP Szikora
Viktor TARASOV a écrit : > JP Szikora wrote: >> Viktor TARASOV a écrit : >>> >>> I would try to prepare patch, but actually I have no CardOS card >>> recognized by OpenSC . >>> The card CardOS that I have is: >>> 3b:fb:18:00:02:c1:0a:31:fe:58:56:44:53:43:34:c8:08:00:00:00:01:4a >>> Info : CardOS V

Re: [opensc-devel] cardos split-key

2009-11-16 Thread Mats Andersson
Incidentally this ATR matches a Vasco CertiID initialized CardOS4.3b card, could that be what you have? I've investigated (sniffed) a card like this and found 3 anomalies (from a pkcs15-perspective): Empty/zero-filled EF(TokenInfo), wrong padChar in EF(AODF) pin object, missing pinReference in

[opensc-devel] Re-implement PIN cache and sc_pkcs15init_authenticate (sc_keycache_get_key)

2009-11-16 Thread Aktiv Co. Aleksey Samsonov
Hello, After changeset 3784 http://www.opensc-project.org/opensc/changeset/3784/branches Give special attention to: -static void cache_pin(void *, int, const sc_path_t *, const void *, size_t); and http://www.opensc-project.org/opensc/browser/branches/martin/0.12/src/pkcs11/framework-pkcs15.c

Re: [opensc-devel] swisssign cardos cards and opensc: C_CreateObjects fails because of lifecycle

2009-11-16 Thread Andreas Jellinghaus
Am Montag 16 November 2009 10:20:42 schrieb Marc Wäckerlin: > Am Sonntag, 15. November 2009 schrieb Andreas Jellinghaus: > > Marc/Freddy: can you recompile opensc yourself, and edit > > src/libopensc/card- cardos.c (look for > > cardos_lifecycle_set and make it return > > SC_ERROR_NOT_SUPPORTED)

Re: [opensc-devel] cardos split-key

2009-11-16 Thread Viktor TARASOV
JP Szikora wrote: Viktor TARASOV a écrit : I would try to prepare patch, but actually I have no CardOS card recognized by OpenSC . The card CardOS that I have is: 3b:fb:18:00:02:c1:0a:31:fe:58:56:44:53:43:34:c8:08:00:00:00:01:4a Info : CardOS V4.3B (C) Siemens AG 1994-2004 Chip type: 124 Any

Re: [opensc-devel] swisssign cardos cards and opensc: C_CreateObjects fails because of lifecycle

2009-11-16 Thread Marc Wäckerlin
Am Montag, 16. November 2009 schrieb Marc Wäckerlin: > Am Sonntag, 15. November 2009 schrieb Andreas Jellinghaus: > > Marc/Freddy: can you recompile opensc yourself, and > > edit src/libopensc/card- cardos.c (look for > > cardos_lifecycle_set and make it return > > SC_ERROR_NOT_SUPPORTED) - then

Re: [opensc-devel] swisssign cardos cards and opensc: C_CreateObjects fails because of lifecycle

2009-11-16 Thread Marc Wäckerlin
Am Sonntag, 15. November 2009 schrieb Andreas Jellinghaus: > Marc/Freddy: can you recompile opensc yourself, and edit > src/libopensc/card- cardos.c (look for > cardos_lifecycle_set and make it return > SC_ERROR_NOT_SUPPORTED) - then try again storing a > certificate. That's interesting: I did

Re: [opensc-devel] cardos split-key

2009-11-16 Thread JP Szikora
Viktor TARASOV a écrit : > > I would try to prepare patch, but actually I have no CardOS card > recognized by OpenSC . > The card CardOS that I have is: > 3b:fb:18:00:02:c1:0a:31:fe:58:56:44:53:43:34:c8:08:00:00:00:01:4a > Info : CardOS V4.3B (C) Siemens AG 1994-2004 > Chip type: 124 > > Any help