|
|
|
|
|
by mike_hock
2362 days ago
|
|
This is a security footgun and a vulnerability waiting to happen, but bash is at fault, not age. age does the best it can do (while maintaining O(1) memory requirement) by exiting non-zero, but the shell swallows that if it's in the middle of a pipeline. |
|
Use
and some care when writing scripts. Possibly decrypt to a file first.A proper and likely footgun would be decrypting and passing tainted plaintext and only then exiting nonzero. E.g.
Definitely should be documented either way.