tis 2003-08-05 klockan 15.12 skrev [EMAIL PROTECTED]: > openssl rsautl -decrypt -inkey private/cakey.pem -in crypt.bin -out > out.txt > > after this console prompt me for passphrase. I need write it as > parameter.
Does not seem to be any command line parameters for specifying key passphrase to rsautl. The rsa command has the ability to read passphrase from a file, but rsautl does not seem to have such option. One way around this limitation is to script the execution of the command using expect. Another (not recommended) is to temporarily decrypt the key with the rsa command. This is not recommended as it causes both the passphrase and the decrypted key to be temporarily stored in files. Regards Henrik -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
