fixed mismatch of macOS openssl vs others i.e. use of LibreSSL defaulting to md5

master
Arul Selvan 2 years ago
parent bf3efd185a
commit 64872cdb42
No known key found for this signature in database
GPG Key ID: 9C75DE35451A1B6C

@ -24,4 +24,6 @@ alias battery='cat /sys/class/power_supply/battery/capacity'
# note: vi stdin does not work on busybox so manually do vi after decrypting
# supply the encrypted filename arg to dec alias ofcourse
alias dec='openssl enc -d -aes-256-cbc -a -in'
# note: remove -md md5 if you are not using macOS native openssl which uses LibreSSL
# that is defaulting to md5 so other platform version of openssl will fail decrypting
alias dec='openssl enc -d -aes-256-cbc -a -md md5 -in'

Loading…
Cancel
Save