summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/hashPassword/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2026-02-11 22:13:33 +0100
committermakefu <github@syntax-fehler.de>2026-02-11 22:13:33 +0100
commit490e66008b3e2837589d0c60ecfb3358fbfb089d (patch)
treebea05b1e1c97dc2d74e5a871941381784e74cfba /krebs/5pkgs/simple/hashPassword/default.nix
parentdce904dd1a33c8a2ca9f56b0f33f85f493eda499 (diff)
parent0122ded2137e568e771e753c0c3a17b1b20d9ca7 (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'krebs/5pkgs/simple/hashPassword/default.nix')
-rw-r--r--krebs/5pkgs/simple/hashPassword/default.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/krebs/5pkgs/simple/hashPassword/default.nix b/krebs/5pkgs/simple/hashPassword/default.nix
deleted file mode 100644
index 8d3ba2525..000000000
--- a/krebs/5pkgs/simple/hashPassword/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ lib, pkgs, ... }:
-
-pkgs.writers.writeDashBin "hashPassword" ''
- # usage: hashPassword [...]
- set -euf
-
- export PATH=${lib.makeBinPath (with pkgs; [
- coreutils
- mkpasswd
- openssl
- ])}
-
- salt=$(openssl rand -base64 16 | tr -d '+=' | head -c 16)
- exec mkpasswd -m sha-512 -S "$salt" "$@"
-''