Re: [PHP] 3DES w/ openssl_{csr,pkey}_new ?

2006-05-24 Thread Brian A. Seklecki
RSA and DSA are different types of key formats. They do not imply protecting the private keywith an encryption algorithm. If you look at gendsa(1) or genrsa(1), you will see that passphrase protection is optional to both, and that there a good many choices. default_md is actually something

Re: [PHP] 3DES w/ openssl_{csr,pkey}_new ?

2006-05-24 Thread Chris
Brian A. Seklecki wrote: RSA and DSA are different types of key formats. They do not imply protecting the private keywith an encryption algorithm. If you look at gendsa(1) or genrsa(1), you will see that passphrase protection is optional to both, and that there a good many choices.

Re: [PHP] 3DES w/ openssl_{csr,pkey}_new ?

2006-05-23 Thread Chris
Brian A. Seklecki wrote: Does anyone know how to specify the encryption cipher used in this funciton as documented in OpenSSL's genrsa(1)? Why isn't the encryption method a value in [array configargs] ? -des|-des3|-idea These options encrypt the private key with the DES,