diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-26 20:32:28 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-26 20:32:28 +0100 |
| commit | 6d6c350479685da0310b11037b9b680242120923 (patch) | |
| tree | 4d4a4d26ff44d900e80f195d30f89ccef13adfed | |
| parent | 8ebefdb9abf22b2277caae63aa83b8241e621e6c (diff) | |
| download | slcl-6d6c350479685da0310b11037b9b680242120923.tar.gz | |
usergen: Fix password generation
For longer passwords, od(1) might introduce a newline character, causing
printf(1) to interpret its input string incorrectly.
| -rwxr-xr-x | usergen | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ usage() to_hex() { - od -An -t x1 | tr -d ' ' + od -An -t x1 | tr -d ' ' | tr -d '\n' } to_bin() |
