I'm trying to script verification of keys produced by another library.
The keys include public, private and encrypted private from RSA, DSA
and EC.

The scripting works well for all keys except for encrypted EC keys.

The following two commands work fine from the command line. That is,
the password is read from the command and not prompted:

  openssl ec -in ec-enc-priv.pem -passin pass:test -text -noout
  openssl ec -in ec-enc-priv.pem -passin pass:test -text -noout >/dev/null

However, when I try to script the last one:

  openssl ec -in ec-enc-priv.pem -passin pass:test -text -noout >/dev/null

A password prompt shows up on the command line.

Any ideas how to work around the issue?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to