diff options
author | talyz <kim.lindberger@gmail.com> | 2021-05-04 15:59:15 +0200 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2021-05-19 09:32:00 +0200 |
commit | 27f8f6956a1f44884b1ff07a71174a308e818e99 (patch) | |
tree | cb6982ebf04d2ba08b56ead3b6302188c14417bc /pkgs/build-support/replace-secret/test/passwd | |
parent | 7cefeafb1141bae3aad85518079397499ede1866 (diff) | |
download | nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar.gz nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar.bz2 nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar.lz nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar.xz nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.tar.zst nixpkgs-27f8f6956a1f44884b1ff07a71174a308e818e99.zip |
replace-secret: Init
Add a small utility script which securely replaces secrets in files. Doing this with `sed`, `replace-literal` or similar utilities leaks the secrets through the spawned process' `/proc/<pid>/cmdline` file.
Diffstat (limited to 'pkgs/build-support/replace-secret/test/passwd')
-rw-r--r-- | pkgs/build-support/replace-secret/test/passwd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/replace-secret/test/passwd b/pkgs/build-support/replace-secret/test/passwd new file mode 100644 index 00000000000..68f266226e4 --- /dev/null +++ b/pkgs/build-support/replace-secret/test/passwd @@ -0,0 +1 @@ +$6$UcbJUl5g$HRMfKNKsLTfVbcQb.P5o0bmZUfHDYkWseMSuZ8F5jSIGZZcI3Jnit23f8ZeZOGi4KL86HVM9RYqrpYySOu/fl0 |