small brain: "well if I make a passphrase it should be enough to protect my emails"
cosmic brain: "besides the password, is a 26-characters hexadecimal ProtonMail GnuPG encryption key enough? I'll just make it 50-characters just to be sure."
Basically, I did [1] for my login password and [2] for my ProtonMail GnuPG password
[1] $ apg -n 1 -m 16 [2] $ apg -a 1 -n 1 -m 50 -M nc -E GHIJKLMNOPQRSTUVWXYZ
-a decides of the algorithm: 0 (default) means a speakable password and 1 a random hash
-n 1 means I just want one password (six is the default)
-m manages the password minimum length (it has priority over the default maximum length)
-M decides of the characters being used: n means the password must contain numbers and c means the password must contain lowercase letters, excluding everything else
brainfuck Afficher plus
Basically, I did [1] for my login password and [2] for my ProtonMail GnuPG password
[1] $ apg -n 1 -m 16
[2] $ apg -a 1 -n 1 -m 50 -M nc -E GHIJKLMNOPQRSTUVWXYZ
-a decides of the algorithm: 0 (default) means a speakable password and 1 a random hash
-n 1 means I just want one password (six is the default)
-m manages the password minimum length (it has priority over the default maximum length)
-M decides of the characters being used: n means the password must contain numbers and c means the password must contain lowercase letters, excluding everything else
-E excludes non-hexadecimal characters