On Sun, Jul 20, 2014 at 10:11 PM, Salz, Rich <rs...@akamai.com> wrote: > I don't think I understand. Are you saying that this command line: > openssl ec -in ec-enc-priv.pem -passin pass:test -text -noout > >/dev/null > works when typed at the shell, but not if put into a script? Can you cut and > paste the output? > -- Correct. When run from a script, the command prompts me for a password.
Here's the script: http://pastebin.com/cVzHg0AZ Here's the output when running the script from the command line: $ ./pem-verify-keys.sh read DSA key read DSA key read DSA key read EC key read EC key Enter PEM pass phrase: read EC key Finished testing keys written by Crypto++ $ It seems odd to me too. But I am working on a Mac, and Apple is notorious for buggy and untested software. It compiles, so ship it... ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org