···4444 # however this is typically done using 'mkstemp()' which
4545 # is more secure than a leak in '/proc'.
4646 age -r "$pubkey" -o "$name.age" <<-EOF &&
4747- $pass
4747+ $pass
4848 EOF
4949 printf '%s\n' "Saved '$name' to the store."
5050}
···7171 age -i ~/.age/key.txt --decrypt "$1.age" > "$tmpfile"
7272 "${EDITOR:-vi}" "$tmpfile"
73737474- if [ ! -f $tmpfile ]; then
7474+ if [ ! -f "$tmpfile" ]; then
7575 die "New password not saved"
7676 fi
7777