mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Use OPENSSL_OPTS for encryption too
This commit is contained in:
3
yadm
3
yadm
@@ -996,7 +996,8 @@ function _encrypt_to() {
|
|||||||
require_openssl
|
require_openssl
|
||||||
|
|
||||||
OPENSSL_CIPHERNAME="$(_get_openssl_ciphername)"
|
OPENSSL_CIPHERNAME="$(_get_openssl_ciphername)"
|
||||||
$OPENSSL_PROGRAM enc -e "-${OPENSSL_CIPHERNAME}" -salt -out "$output_archive"
|
_set_openssl_options
|
||||||
|
$OPENSSL_PROGRAM enc -e "${OPENSSL_OPTS[@]}" "-${OPENSSL_CIPHERNAME}" -salt -out "$output_archive"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user