diff --git a/bin/decrypt.sh b/bin/decrypt.sh index 9bb8a95..7eb0656 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -28,7 +28,7 @@ esac openssl smime -decrypt \ -in "${2}" \ - -binary -inform DEM \ + -stream -binary -inform DEM \ -inkey "${1}" \ -out "${OUT_FILENAME}" diff --git a/bin/encrypt.sh b/bin/encrypt.sh index 4ae9072..517ac81 100755 --- a/bin/encrypt.sh +++ b/bin/encrypt.sh @@ -22,7 +22,7 @@ if [ ! -f "${2}" ]; then fi -openssl smime -encrypt -binary -text -aes256 \ +openssl smime -encrypt -stream -binary -text -aes256 \ -in "${2}" \ -out "${2}.enc" \ -outform DER "${1}"