@marcisreid RTFM before you complain.... it works correctly env: casuses openssl to use env
you can test it by using 2 different variables (if you still insist on not typing man openssl) with same content, like that:
date > date;export PASS1=pwd ; export PASS2=pwd ;cat date| openssl enc -e -aes-256-cbc -out archive.enc -pass env:PASS1 ;openssl enc -d -aes-256-cbc -in archive.enc -pass env:PASS2
@marcisreid RTFM before you complain.... it works correctly env: casuses openssl to use env
you can test it by using 2 different variables (if you still insist on not typing man openssl) with same content, like that:
date > date;export PASS1=pwd ; export PASS2=pwd ;cat date| openssl enc -e -aes-256-cbc -out archive.enc -pass env:PASS1 ;openssl enc -d -aes-256-cbc -in archive.enc -pass env:PASS2