Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #264 from alphagov/remove-ambiguous-letters-from-t…
Browse files Browse the repository at this point in the history
…okens

Remove ambiguous characters from tokens
  • Loading branch information
Paul M Furley committed Apr 10, 2014
2 parents b352a8d + a8f945f commit 2c47025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
# LC_CTYPE=C is specified for OS X, as otherwise tr will return
# an illegal byte sequence from assuming /dev/urandom is UTF-8

cat /dev/urandom | LC_CTYPE=C tr -cd 'a-zA-Z0-9' | head -c 64
cat /dev/urandom | LC_CTYPE=C tr -cd 'a-z0-9' | tr -d '01oil' | head -c 64

echo '' # Add a newline

0 comments on commit 2c47025

Please sign in to comment.