mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +03:00
fix truncated output when decrypting a large file to stdout via -d
rage intentionally truncates large output when writing to stdout:55e52c252b/age/src/cli_common/file_io.rs (L219)
but if told to write to "-" instead, it will not truncate:55e52c252b/age/src/cli_common/file_io.rs (L312)
This commit is contained in:
parent
03b51fe8e4
commit
40550f0619
@ -196,5 +196,5 @@ function rekey {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[ $REKEY -eq 1 ] && rekey && exit 0
|
[ $REKEY -eq 1 ] && rekey && exit 0
|
||||||
[ $DECRYPT_ONLY -eq 1 ] && decrypt "${FILE}" "$(keys "$FILE")" && exit 0
|
[ $DECRYPT_ONLY -eq 1 ] && DEFAULT_DECRYPT+=("-o" "-") && decrypt "${FILE}" "$(keys "$FILE")" && exit 0
|
||||||
edit "$FILE" && cleanup && exit 0
|
edit "$FILE" && cleanup && exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user