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

From: Date: Thu, 25 May 2006 00:54:49 +0000
Subject: Re: 3DES w/ openssl_{csr,pkey}_new ?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-236870@lists.php.net to get a copy of this message
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. default_md is actually something from ca(1), it's the crypto signature algorithm for public keys / certificates, and really doesn't apply to private keys.
That's all nice but doesn't change the answer to your question - php only supports creating one type of key. If you want to create different types of keys then join the php-internals list and discuss it with them - maybe it'll become available in a future php version. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#236870) next »