Its probably because the signing key is encrypted with a symmetric cipher? You're using the "-sign" option and that private key private.txt is probably encrypted, find out with what and then you can use some other openssl function to read in the file and then output it, except output it without the encryption that requires the password.

On Dec 1, 2004, at 4:16 AM, Schneider, Ronald wrote:

Hi,

I'm trying to sign a file without password prompting (under Windows)

openssl md5  -sign private.txt signature.txt > signed.dat

(Enter password .....)


Then I tried this:

openssl md5 -passin pass:test -sign private.txt Signature.txt > signed.dat

.. and this:

echo -n test | openssl md5 -sign private.txt Signature.txt > signed.dat


but still a password input prompts.

Mhmmmm - any ideas??

With best regards - Ronald.




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


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

Reply via email to