Re: [opensc-devel] PublicKey ASN1 decoding

2012-11-13 Thread Douglas E. Engert
On 11/13/2012 12:26 PM, Viktor Tarasov wrote: > Hello Andreas, > > On Tue, Nov 13, 2012 at 10:26 AM, Andreas Schwier > mailto:andreas.schw...@cardcontact.de>> > wrote: > > What I've still on my list is to fix the EC Public Key encoding. The > current encoding (basically just the EC poin

Re: [opensc-devel] PublicKey ASN1 decoding

2012-11-13 Thread Viktor Tarasov
Hello Andreas, On Tue, Nov 13, 2012 at 10:26 AM, Andreas Schwier < andreas.schw...@cardcontact.de> wrote: > What I've still on my list is to fix the EC Public Key encoding. The > current encoding (basically just the EC point) does not allow to carry > domain parameter, so I would like to change t

Re: [opensc-devel] PublicKey ASN1 decoding

2012-11-13 Thread Andreas Schwier
Dear Viktor, that's fine with me. What I've still on my list is to fix the EC Public Key encoding. The current encoding (basically just the EC point) does not allow to carry domain parameter, so I would like to change that to the SubjectPublicKeyInfo Format. What I'm not sure about is whether the

[opensc-devel] PublicKey ASN1 decoding

2012-11-13 Thread Viktor Tarasov
Hello, it seems that the reason of recent segmentation faults related to the uninitialized public key components (t451, t455) is here: https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/pkcs15-pubkey.c#L373 /* this should be required, not optional. But it is missing in some siemens ca