My favorite Linux command line to generate password:
apg -a 0 -m 30 -n 40 -x 30 -M SNCL
I used it regularly when I create accounts on websites. Then save it to my vaultwarden password manager.
I hope that with 30 random characters long, I'm secure at least for the next 3 years, until quantum processors and IA combined will be able to brute force passwords faster than ever.
-s
is added to enforce the strict mode.-E O01l
is added to exclude the uppercase 'O', zero '0', the number one '1', and the lowercase 'l' to avoid confusion.uuidgen
For extra security, I also register accounts with a username/email that has+${uuidgen}
so the login name is also universally unique and canβt be guessed by an attacker trying to brute force access (very handy for financial accounts online when your public email addresses are known).pwgen -y 30 1