Problems reading PKCS8 private key

2013-01-25 Thread Ken Allen
Hi All, I'm having a bit of a problem. I need to load a private key (EC, but I'm having the same problem with RSA) from an unecrypted, der encoded, PKCS8 memory buffer. I'm just trying to get it to work loading from a file for now and it's simply not working. Can someone tell me what I'm doing

Re: Problems reading PKCS8 private key

2013-01-25 Thread Viktor Dukhovni
On Fri, Jan 25, 2013 at 04:13:02PM +, Ken Allen wrote: Hi All, I'm having a bit of a problem. I need to load a private key (EC, but I'm having the same problem with RSA) from an unecrypted, der encoded, PKCS8 memory buffer. I'm just trying to get it to work loading from a file for now and

Re: Problems reading PKCS8 private key

2013-01-25 Thread Viktor Dukhovni
On Fri, Jan 25, 2013 at 05:10:03PM +, Viktor Dukhovni wrote: On Fri, Jan 25, 2013 at 04:13:02PM +, Ken Allen wrote: Hi All, I'm having a bit of a problem. I need to load a private key (EC, but I'm having the same problem with RSA) from an unecrypted, der encoded, PKCS8 memory

RE: Problems reading PKCS8 private key

2013-01-25 Thread Ken Allen
-prologic.com From: owner-openssl-us...@openssl.org [owner-openssl-us...@openssl.org] on behalf of Viktor Dukhovni [openssl-us...@dukhovni.org] Sent: Friday, January 25, 2013 12:21 PM To: openssl-users@openssl.org Subject: Re: Problems reading PKCS8 private key

Re: Problems reading PKCS8 private key

2013-01-25 Thread Dr. Stephen Henson
On Fri, Jan 25, 2013, Ken Allen wrote: Awesome, that worked. Is there a official name for the asn.1 structure that's being produced here? It's a PKCS#8 PrivateKeyInfo structure. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see:

RE: Problems reading PKCS8 private key

2013-01-25 Thread Ken Allen
-openssl-us...@openssl.org [owner-openssl-us...@openssl.org] on behalf of Dr. Stephen Henson [st...@openssl.org] Sent: Friday, January 25, 2013 1:00 PM To: openssl-users@openssl.org Subject: Re: Problems reading PKCS8 private key On Fri, Jan 25, 2013, Ken Allen wrote: Awesome, that worked

RE: Problems reading PKCS8 private key

2013-01-25 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Viktor Dukhovni Sent: Friday, 25 January, 2013 12:21 On Fri, Jan 25, 2013 at 05:10:03PM +, Viktor Dukhovni wrote: On Fri, Jan 25, 2013 at 04:13:02PM +, Ken Allen wrote: Hi All, I'm having a bit of a problem. I need to load a