Re: [opensc-devel] Fail encryption on cardos card

2007-07-18 Thread Dmitry
Andreas Jellinghaus dungeon.inka.de> writes: > > > ah. what is that? is it open source? available for download somewhere? > we have the pkcscsp and csp11 sources but noone found time so far to get them > working and the result signed by microsoft :( > (ok, the signing should be easy, but I'm no

Re: [opensc-devel] Fail encryption on cardos card

2007-07-17 Thread Andreas Jellinghaus
On Monday 16 July 2007 17:24:05 Dmitry wrote: > I work with opensc throw Windows CSP (extansion of csp11) on PKCS11 level > with ready for using card. So I can't use pkcs15-init.exe tool. ah. what is that? is it open source? available for download somewhere? we have the pkcscsp and csp11 sources b

Re: [opensc-devel] Fail encryption on cardos card

2007-07-16 Thread Dmitry
Andreas Jellinghaus dungeon.inka.de> writes: > > you can either: > a) store the key for decryption only, see the --key-usage parameter to > pkcs15-init. > b) store the key as split key: opensc will store the keys twice, once for > signing and once for decryption, and magically choose the right

Re: [opensc-devel] Fail encryption on cardos card

2007-07-15 Thread Andreas Jellinghaus
On Thursday 12 July 2007 15:54:36 Dmitry wrote: > I try to encipherment throw cardos card. I use certificate, which support: > Digital Signature, Key Encipherment, Data Encipherment (b0). > > But, key export fails in sc_pkcs15init_generate_key on > check_key_compatibility with message: > "This devi

[opensc-devel] Fail encryption on cardos card

2007-07-15 Thread Dmitry
I try to encipherment throw cardos card. I use certificate, which support: Digital Signature, Key Encipherment, Data Encipherment (b0). But, key export fails in sc_pkcs15init_generate_key on check_key_compatibility with message: "This device requires that keys have a specific key usage. Keys can