Skip to content

Commit

Permalink
chore: removed des and des-cbc mode (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
RFHackers committed Dec 23, 2023
1 parent 950363c commit 73e2392
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file removed lib/des-cbc.sh
Binary file not shown.
Binary file removed lib/des.sh
Binary file not shown.
4 changes: 2 additions & 2 deletions shell-compiler.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

MODE_ENC=("aes-128-cbc" "aes-192-cbc" "aes-256-cbc" "aria-128-cbc" "aria-192-cbc" "aria-256-cbc" \
"base64" "camellia-128-cbc" "camellia-192-cbc" "camellia-256-cbc" "ccrypt" "des" "des-cbc" \
"des-ede-cbc" "des-ede3-cbc" "gcrypt" "zlib")
"base64" "camellia-128-cbc" "camellia-192-cbc" "camellia-256-cbc" "ccrypt" "des-ede-cbc" "des-ede3-cbc" \
"gcrypt" "zlib")
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo null)

# The [[ -t 1 ]] check only works when the function is not called from
Expand Down
4 changes: 2 additions & 2 deletions tests/encryption.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -e

MODE_ENC=("aes-128-cbc" "aes-192-cbc" "aes-256-cbc" "aria-128-cbc" "aria-192-cbc" "aria-256-cbc" \
"base64" "camellia-128-cbc" "camellia-192-cbc" "camellia-256-cbc" "ccrypt" "des" "des-cbc" \
"des-ede-cbc" "des-ede3-cbc" "gcrypt" "zlib")
"base64" "camellia-128-cbc" "camellia-192-cbc" "camellia-256-cbc" "ccrypt" "des-ede-cbc" "des-ede3-cbc" \
"gcrypt" "zlib")

for ((i=0;i<${#MODE_ENC[@]};i++)); do
# For zlib mode not supported in OpenSSL version < 3.0.2
Expand Down

0 comments on commit 73e2392

Please sign in to comment.