mirror of
https://github.com/megastep/makeself.git
synced 2025-09-26 19:41:12 +08:00
Update makeself.sh
adding `-pbkdf2` to ENCRYPT_CMD and DECRYPT_CMD in order fix the error of `deprecated key derivation used`
This commit is contained in:

committed by
Stéphane Peter

parent
1f4baba44c
commit
6b5ff56431
@@ -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"
|
||||
|
Reference in New Issue
Block a user