[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2020-10-22 Thread Sebastien Bacher
is that still an issue with current versions? ** Tags removed: upgrade-software-version -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312462 Title: SmartCard-HSM card fails when generating ECC

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2018-06-16 Thread David Ward
** Tags added: upgrade-software-version -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312462 Title: SmartCard-HSM card fails when generating ECC keypair To manage notifications about this bug go

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-08-22 Thread Andreas Schwier
The main patch to add support for persistent ECC public keys is in [1], however a lot of the ECC code was changed in the patch series around Feb 9, 2014. The safest ways is to change to the stable 0.14 version released a couple of weeks ago. Version 0.13 is about two years old. Andreas [1]

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-08-22 Thread Andreas Schwier
Just did a quick test on my machine running OpenSC 0.14: asc@calzone:~/tmp/ecctest$ sc-hsm-tool Using reader with a card: SCM SCR 3310 [CCID Interface] (21120843305113) 00 00 Version : 1.2 User PIN tries left : 3 asc@calzone:~/tmp/ecctest$ pkcs11-tool --module

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-06-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: opensc (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312462 Title:

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-06-14 Thread Jonathan Davies
I did some tests with the latest Git code and something interesting is happening: Generating a key with Ubuntu packages (0.13.0-3ubuntu4.1): $ pkcs11-tool --module opensc-pkcs11.so -l --keypairgen --key-type EC:prime256v1 --label My first EC key

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-06-14 Thread Jonathan Davies
The latter seems related to: 0x7ff363a22740 11:30:29.006 [opensc-pkcs11] pkcs15-lib.c:436:sc_pkcs15init_set_p15card: called 0x7ff363a22740 11:30:29.006 [opensc-pkcs11] pkcs15-lib.c:470:sc_pkcs15init_set_p15card: sc_pkcs15init_set_p15card() returns 0x7ff363a22740 11:30:29.006 [opensc-pkcs11]

[Bug 1312462] Re: SmartCard-HSM card fails when generating ECC keypair

2014-06-14 Thread Gert van Dijk
Yes, I think I've seen similar results when doing some testing around the time of this bug report with OpenSC upstream, OpenSC-CardContact upstream and Ubuntu's 0.13.0 version. I did not manage to find a set of patches to get it working properly with EC keys, even with CardContact's OpenSC.