Re: PEM returns null

2007-07-11 Thread John T. Cox
Jim, Thanks for confirming that for me. I added the formatting requirements to my private key assembly function and everything appears to be working great now. I am going to see if I can send a little something your way as a thank you. Thanks again for ALL of your help. On 7/11/07, Jim Fox <[

RE: PEM returns null

2007-07-11 Thread David Schwartz
> What I am trying to accomplish is create a remote application with an > embedded private key that can securely retrieve a small block of data. > > I started by generating a private key without a password: > > openssl genrsa -out private.pem 2048 > > I then used various methods to hide the key in

Re: PEM returns null

2007-07-11 Thread Jim Fox
What I am trying to accomplish is create a remote application with an embedded private key that can securely retrieve a small block of data. Is there somewhere a public key to go with this private key? I assume the RSA header and footer line are unnecessary? Bad assumption. Both are part

PEM returns null

2007-07-11 Thread John T. Cox
Ok, so I got all the coding "finished". However, the call to PEM_read_bio_RSAPrivateKey() is returning a null pointer. What I am trying to accomplish is create a remote application with an embedded private key that can securely retrieve a small block of data. I started by generating a private ke