On 20 March 2013 21:11, Matt Caswell <fr...@baggins.org> wrote:
> On 20 March 2013 07:14, Leon Brits <le...@parsec.co.za> wrote:
>> Hi Matt,
>>
>> I use:
>> $ openssl version
>> OpenSSL 1.0.1e-fips 11 Feb 2013
>>
>> I was able to successfully parse your attached private key.
>> I've attached my smallest prime, binary and kolbitz curve key pairs. As I 
>> said the prime curve parses correct with the openssl command line tool but 
>> not the binary curve keys.
>>
>> Regards,
>> Leon Brits
>>
>
> Well, I am unable to reproduce your problem, my code works fine under
> vanilla OpenSSL 1.0.1e. I don't have a fips build environment so it
> could be a fips issue. Are you able to test your code under normal
> non-fips openssl and see if you still get the same problem?
>
> Matt

Just to clarify that a bit - I meant I am unable to reproduce your
problem when writing out private keys. Private keys I write out work
fine.

I have taken a look at the pem files you sent and I get the same error
as you when trying to read them. So something about the way you are
writing them out, or the version/build of openssl you are using is
causing the issue. As I said if you can try on a non-fips build that
would rule that out.

Matt
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to