This really isn't something that is OpenSSL specific. But you can always
look into the 'read' (ie. man read) command, example:
read -sp "Enter path to key: " key
read -sp "Enter IV: " iv
openssl enc -e -aes256 -K $key -iv $iv -in ... -out ...
On 04/03/2013 02:59 PM, grajdean wrote:
openssl enc -e -aes256 -K xxx -iv xxx -in ... -out ...
While the above command executes, if someone were to issue a ps -ef,
the K/iv leak. How would one specify the Key/iv to protect against this?
I'm looking for something akin to -pass file:xxx, but not for
passwords and for keys directly.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org