Skip to content

Commit

Permalink
fix: bad magic number on dedrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilchm committed Jun 5, 2024
1 parent b7e01f4 commit 780b860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotsecrets
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ fi

var() {
echo -n "$1="
echo "$2" | openssl enc -d -aes256 -base64 -pass "$PASS" -pbkdf2 || exit 1
echo "$2" | openssl enc -d -aes256 -base64 -A -pass "$PASS" -pbkdf2 || exit 1
echo ""
}

file() {
echo "$2" | openssl enc -d -aes256 -base64 -pass "$PASS" -pbkdf2 > "$1"
echo "$2" | openssl enc -d -aes256 -base64 -A -pass "$PASS" -pbkdf2 > "$1"
}

# SECRETS

0 comments on commit 780b860

Please sign in to comment.