fix: allow for newlines in keys

This commit is contained in:
Ellis Gibbons 2024-04-12 17:50:07 -04:00
parent 1381a759b2
commit 2c1d1fb134
No known key found for this signature in database

View file

@ -171,7 +171,9 @@ function edit {
ENCRYPT=()
while IFS= read -r key
do
if [ -n "$key" ]; then
ENCRYPT+=(--recipient "$key")
fi
done <<< "$KEYS"
REENCRYPTED_DIR=$(@mktempBin@ -d)