I tried :
./openssl   genrsa   -des   -out ca.key   2048
After I changed MIN for passphrase to 0 in openssl.cnf

No luck.
It still asks for passphrase and seeks a minimum of 4 chars. Since I
wondered where this 4 came from, I looked around.
I might be wrong, but it seems to make a call to pem_lib.c in which the MIN
is defined to be 4 !

In crypto/pem/pem_lib.c:
#define MIN_LENGTH 4

Is there any way to not have openssl genrsa invoke pem_lib for passphrase
encryption at all ?

Thanks,

Sandipan

PS. My apologies to users of the mailing list who were hit with read receipt
requests. I am new to openssl-users and did not know it doesnt filter out
the request for disposition notification. I am now shutting off the request
flag on my OE5.5 before posting.

----- Original Message -----
From: "Richard Levitte - VMS Whacker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 3:33 PM
Subject: Re: obtaining input from a file or from the command line


> From: "Sandipan Gangopadhyay" <[EMAIL PROTECTED]>
>
> sandipan> Thanks - you have saved me from grave error. I had assumed
> sandipan> des3 = 3des despite what the man page said  !!!
>
> Uhmm, DES in CBC mode is popularly called tripple-DES or 3des, so your
> assumption was perfectly correct...
>
> --
> Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
> Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
> Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
> Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> Software Engineer, Celo Communications: http://www.celocom.com/
>
> Unsolicited commercial email is subject to an archival fee of $400.
> See <http://www.stacken.kth.se/~levitte/mail/> for more info.
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to