Skip to content

Commit

Permalink
Update makeself.sh
Browse files Browse the repository at this point in the history
adding `-pbkdf2` to ENCRYPT_CMD and DECRYPT_CMD in order fix the error of `deprecated key derivation used`
  • Loading branch information
zero-pytagoras authored and megastep committed Feb 21, 2024
1 parent 1f4baba commit 6b5ff56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makeself.sh
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ if test x"$ENCRYPT" = x"openssl"; then
echo "Appending to existing archive is not compatible with OpenSSL encryption." >&2
fi

ENCRYPT_CMD="openssl enc -aes-256-cbc -salt"
DECRYPT_CMD="openssl enc -aes-256-cbc -d"
ENCRYPT_CMD="openssl enc -aes-256-cbc -salt -pbkdf2"
DECRYPT_CMD="openssl enc -aes-256-cbc -d -salt -pbkdf2"

if test x"$OPENSSL_NO_MD" != x"y"; then
ENCRYPT_CMD="$ENCRYPT_CMD -md sha256"
Expand Down

0 comments on commit 6b5ff56

Please sign in to comment.