tr -cd "[:alnum:]" < /dev/urandom | fold -w 20 | sed 10q
So I have no need for these fancy password generators :)
tr -cd "[:alnum:]" < /dev/urandom | fold -w 20 | sed 10q
So I have no need for these fancy password generators :)
echo -n "$(diceware -d '-' -n 3)"$(( RANDOM % 10 )) | xsel -b
It copies passwords like `Uncertain-Postbox-Cannot5` to your clipboard. Much easier to remember/type, and just as secure. I've assigned that to a hotkey, so whenever I need a password I press Super+G, Ctrl+V, and that's it. echo 4 openssl rand -base64 20Although I'm pretty sure I've met websites that require brackets and ampersands but will reject, say, periods and underscores, because web developers are sociopaths.
I was completely baffled on why it was designed that way - if you're going to truncate the password, the login field should do the same.
A special place in hell is reserved for those websites that consider themselves too cool for a password manager. They actively block auto fill or cut & paste in the password field. I don’t envy the 1password devs for having to put up and work around this stuff.
Firefox -- set the "dom.event.clipboardevents.enabled" setting in about:config to 'false'. No more "actively blocking paste" by websites.
This is exceedingly common for US Banks. You'll find, usually only after pasting in the newly generated random password and clicking submit, that the "your password must include at least one number and two special characters" description up front failed to also include: "oh, also, we do not allow use of the character % in your password" (or some other character).
This was around October 2019, so it's not like they shouldn't have know better.
pwgen 32 1
This creates one password of 32 characters of reasonable classes. There are options to adjust character classes if the site enforces something like that.(ignoring that they could get the same output by chance)
From my dumb tests (run DD in one, then many threads), the 4 thread run have 4x the performance of single thread one (I have 4 core CPU), while 16 thread one have predictably same-ish total throughput, so if there are any serialization still there it is not noticeable much.
There's nothing fancy here. On password fields browsers have an auto-fill. Your method requires more effort compared to it.