diff options
| author | EuAndreh <eu@euandre.org> | 2021-01-17 21:02:18 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-01-17 21:02:18 -0300 |
| commit | 8224d12d37314d56c3237aef376c4ebf91d56f79 (patch) | |
| tree | b968b2ac391dde2bac6fdd5953c1888faee800b6 | |
| parent | scripts/c: Make it $TMUX aware (diff) | |
| download | dotfiles-8224d12d37314d56c3237aef376c4ebf91d56f79.tar.gz dotfiles-8224d12d37314d56c3237aef376c4ebf91d56f79.tar.xz | |
bash/util.sh: Use urandom for genpassword
| -rw-r--r-- | bash/util.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/util.sh b/bash/util.sh index e9519f54..c38b18cb 100644 --- a/bash/util.sh +++ b/bash/util.sh @@ -24,7 +24,7 @@ extract () { genpassword() { length="${1-99}" - tr -cd '[:alnum:]' < /dev/random | fold "-w$length" | head -n1 ||: + tr -cd '[:alnum:]' < /dev/urandom | fold "-w$length" | head -n1 ||: } t() { |
