mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 09:40:47 +03:00
7dae15b7bc
I had first used `printf` for outputting the data, but that breaks if the secret itself contains null bytes. One could fix this by using e.g. `cat`, but looking a bit more at the code I realized that in the -d case we never need to `mktemp` at all and can just ask `age` to write directly to stdout by not setting -o. |
||
---|---|---|
.. | ||
agenix.nix | ||
agenix.sh |