Skip to content
Commit 9654e09b authored by Joachim Fasting's avatar Joachim Fasting
Browse files

cjdns service: ensure that generated passwd has requested length

`head -cNUM ... | tr -dc SET` might generate output containing fewer
than NUM characters.  Given the limited alphabet, this could result in a
fairly weak passphrase. The construction `tr </dev/urandom | head
-cNUM`, however, is sure to give us the full `NUM`.
parent e94bd6f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment