Skip to content

Commit

Permalink
goodpasswd: difference between US and DK keyboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Tange committed Apr 26, 2014
1 parent bed89b3 commit b0b7911
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions goodpasswd/goodpasswd
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@
# * will survive being passed through a bad fax machine
# * has UPPER lower number and sign
#
# Too close: B8 cC g9 kK lI l1 oO O0 pP sS uU vV xX zZ ,. :; `' S5
# Too close: B8 cC g9 kK lI l1 oO O0 pP sS uU vV xX zZ Z2 ,. :; `' S5
# Causes problems in URLs: @/:
# Causes problems in shell: ! " # $ & ( ) [ ] { } ? | < > \ * =
# SQL uses: % for wildcard
# Hard to type: ^ ~ ¨ ¤ § ½ æ ø å Æ Ø Å
# Never 2 same chars next to eachother. (--) is bad
#
# US-kbd: ~!@#$%^&*()_+ [] {} ;'\ :"| < > ,./ <>?
# DK-kbd: §!"#¤%&/()=?` å" Å^ æø' ÆØ* < > ,.- ;:_
# Common: ! # % < > ,.

my $pw;
my @chars=split //, 'abdefhijmnqrtyADEFGHJLMNQRTY23467+-';
my @chars=split //, 'abdefhijmnqrtyADEFGHJLMNQRTY3467+-';
do {
$pw = "";
for (1..12) {
Expand Down

0 comments on commit b0b7911

Please sign in to comment.