Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My full list of ambiguous letters, from https://gajus.com/blog/avoiding-visually-ambiguous-character...

- O / 0 - I / l / 1 / 7 - 5 / S - 2 / Z - 8 / B - 6 / G - 9 / q / g



I use the following:

  $ cat passgen.sh                                                           
  #!/bin/sh
  export LC_ALL=C
  printf "%.16s\n" "$(/usr/bin/openssl rand -base64 32 | /usr/bin/tr -d 'lIOSBGZ')"
This way if it looks like a number then it is. I don't usually mess up q/g and u/v with my fonts but its easy enough to ban more characters.


O / D can also be an issue with some fonts.


U / V

?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: