bin2pass(1)
π bin2pass(1) β the manual, but make it cute π
okay bestie, so you know bin2pass(1)? yeah. the icon. it converts binary input to passwords. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
bin2pass β converts binary input to passwords π
πΈ SYNOPSIS πΈ
bin2pass [d|u|l] [<max size>] [<symbols>] <binary
like. that's it. that's the whole entrance. slay.
π¦ DESCRIPTION π¦
bin2pass takes binary input from standard input and turns it into human-readable passwords. no cap, that's literally its job. πβ¨
and listen, it accepts three optional parameters, and it uses the same syntax as sphinx(1), so if you already know that one you're already winning:
- Character set β a combo of the letters
uld, which turn on upper-case letters, lower-case letters, and digits respectively. if you don't say anything, it defaults tould. π - Maximum length β sets the max password length. but bestie, heads up: if you ask for a length that's longer than what's actually possible from the input, the output gets padded with leading
Acharacters. so like, you asked, you received, but with A's. π Defaults to the longest possible output from the input. - Symbol set β a string listing every symbol that's allowed in the password. the default symbol set includes:
| !"#$%&'()*+,-./:;<=>?@[\]^_`{}~
β οΈ note that spaces are allowed in the symbol set! but be careful to properly quote special characters your shell might try to interpret β things like",!, and\. your shell is nosy and will absolutely try to touch them. π
π EXAMPLES π
okay so here's the moment. generating the longest possible random password from /dev/random, where the resulting password has characters from digits, lowercase and uppercase letters, and the space and * symbols:
dd if=/dev/random bs=1 count=32 | ./pwdsphinx/bin2pass.py " *"
iconic. ate. periodt. π
π€ REPORTING BUGS π€
found something cursed? tell them here, fr fr:
https://github.com/stef/pwdsphinx/issues/
π AUTHOR π
Written by Stefan Marsiske π«Ά
π COPYRIGHT π
Copyright Β© 2023 Stefan Marsiske. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (no warranty bestie, that's the deal π)
π SEE ALSO π
that's the whole page, you're welcome, go forth and password-ify π
bin2pass(1) β mwah, that's a wrap β¨π
π¦ where this page comes from
- nixos 26.05: pwdsphinx 2.0.4
- nixpkgs unstable: pwdsphinx 2.0.4
- ubuntu stonking: pwdsphinx 2.0.4-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms