![]() |
Roman π¦ππ‘
@romanzolotarev
|
Sep 26 |
Generate passwords on #OpenBSD
romanzolotarev.com/bin/pass_new
/dev/urandom + tr + fold + head
[:alnum:] is 5.954 bits of entropy per char, so 20 chars is safe for pretty everything ;) pic.twitter.com/wtKRdQ4ntR
|
||
![]() ![]() ![]() |
![]() |
Bojan Nastic
@bnastic
|
Sep 26 |
Many sites wonβt let you in without a βspecialβ char in the password. I remember seeing similar but βbetterβ script on z3bra.orgβs gopher site
|
||
![]() ![]() ![]() |
![]() |
Roman π¦ππ‘
@romanzolotarev
|
Sep 26 |
1. Close the browser tab and clear the history. Never visit those sites again.
2. Better? No way :)
<3 z3bra.org
|
||
![]() ![]() ![]() |
![]() |
Bojan Nastic
@bnastic
|
Sep 26 |
LEN=${1:-16}; tr -cd ' -~' < /dev/urandom | fold -w $LEN | sed 1q
|
||
![]() ![]() ![]() |
![]() |
Roman π¦ππ‘
@romanzolotarev
|
Sep 26 |
Hmm, okay.jpeg
' -~' vs [:alnum:] aren't the same
head -1 vs sed 1q, really?
|
||
![]() ![]() ![]() |
![]() |
Bojan Nastic
@bnastic
|
Sep 26 |
I just copied the line verbatim. The β -~β is the important difference. Despite you not liking it, I canβt dictate what password policy services want to enforce.
|
||
![]() ![]() ![]() |
![]() |
Roman π¦ππ‘
@romanzolotarev
|
Sep 26 |
Or just
$ tr -cd [:print:] ...
|
||
![]() ![]() ![]() |
![]() |
Tim Chase
@gumnos
|
Sep 26 |
Or that, but more showing the set-composability aspect π
|
||
![]() ![]() ![]() |
![]() |
Roman π¦ππ‘
@romanzolotarev
|
Sep 26 |
Thank you! :)
|
||
![]() ![]() ![]() |