kasi

POSIX shell password manager that is cryptography program-agnostic
Log | Files | Refs | README | LICENSE

commit a9c7cd5bfcb2a42636ab6f276af94c4847d533c0
parent 1d32cffa061847479c31f4192659102355a8d990
Author: kar <kar@13f0.net>
Date:   Sun, 25 Aug 2024 16:21:26 -0400

don't hardcode dd path to /bin/dd, breaks nixos

Diffstat:
Mcontrib/random | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/random b/contrib/random @@ -9,7 +9,7 @@ NUM="0-9" SPECIAL='!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' random() { - </dev/urandom tr -dc "${ALPHA}${NUM}${SPECIAL}" | /bin/dd bs=1 count=${LEN:-32} 2>/dev/null ; echo + </dev/urandom tr -dc "${ALPHA}${NUM}${SPECIAL}" | dd bs=1 count=${LEN:-32} 2>/dev/null ; echo } case $1 in