Re: [opensc-devel] pkcs15init: dummy private-key in template key-domain

2010-01-20 Thread Andreas Jellinghaus
Am Mittwoch 20 Januar 2010 18:00:01 schrieben Sie: > I've tested this approach with oberthur (not-BSO) and CardOS (BSO). > > Any objections? it looks to me that you know what you are doing, and improving the code. I know that cardos stores privkeys in special files, not normal ones, but that is a

[opensc-devel] pkcs15init: dummy private-key in template key-domain

2010-01-20 Thread Viktor TARASOV
Hi, Afais, currently there are five cards that have private key implemented as BSO - Base Security Object (or SDO - Security Data Object). These cards need in the 'key-domain' template of their profile some 'dummy' EF private-key entry with the file-id = . In reality, for these cards, with

Re: [opensc-devel] debugging opensc-tool with gdb gives error: generic error

2010-01-20 Thread Andreas Jellinghaus
you need to compile opensc with "-pthread" in CFLAGS and LIBS. OpenSC itself is not multi-threaded AFAIK, but it loads libraries that are, and that confuses the debugger. if you compile it with "-pthread", the compiler and linker will put debug info for threadding in the metadata and gdb should wo

Re: [opensc-devel] Pkcs15init old API: question

2010-01-20 Thread Viktor TARASOV
Hi, Old API in pkcs15init has a little infirmity: when storing new object data, an invalid index can be supplied to the card specific 'new_file'. The value of this index is the number of existing objects of a given type. So, when there is a 'hole' in the sequence of the object file-ids (for ex

Re: [opensc-devel] debugging opensc-tool with gdb gives error: generic error

2010-01-20 Thread Douglas E. Engert
Bart Vanherck wrote: > Hello, > > I tried today to debug the opensc-tool program but it seems not to work > for me. > > Steps to reproduce my problem: > > First checkout the trunk of other release > svn co http://www.opensc-project.org/svn/opensc/trunk/ > > $ ./bootstrap > $ ./configure >

[opensc-devel] debugging opensc-tool with gdb gives error: generic error

2010-01-20 Thread Bart Vanherck
Hello, I tried today to debug the opensc-tool program but it seems not to work for me. Steps to reproduce my problem: First checkout the trunk of other release svn co http://www.opensc-project.org/svn/opensc/trunk/ $ ./bootstrap $ ./configure My CFLAGS are including -g for debug info $ make

[opensc-devel] Pkcs15init old API: question

2010-01-20 Thread Viktor TARASOV
Hi, can I find somewhere OpenSC compatible cards 'myeid', 'miocos' and 'setcos' (to buy, hire, or else), please? Or, maybe, someone, who have these cards, can make some tests? Kind wishes, Viktor. -- Viktor Tarasov ___ opensc-devel mailing list o