diff options
author | elijah <elijah@riseup.net> | 2015-01-05 13:52:25 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-01-05 13:52:25 -0800 |
commit | 4f51f398b05d8e62bbd906fb98a9446fa2333832 (patch) | |
tree | 79890bc5f85b9bcd35362306e56c79d56d71098a /lib | |
parent | cd6c2d6e98bdc4b7fba72c3a1687fbc4d475a260 (diff) |
omit underscore from random alpha secrets in secrets.json
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/util/secret.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/util/secret.rb b/lib/leap_cli/util/secret.rb index 837a0af..749b959 100644 --- a/lib/leap_cli/util/secret.rb +++ b/lib/leap_cli/util/secret.rb @@ -8,7 +8,7 @@ autoload :OpenSSL, 'openssl' module LeapCli; module Util class Secret - CHARS = ('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a + "_".split(//u) - "io01lO".split(//u) + CHARS = (('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a) - "i1loO06G".split(//u) HEX = (0..9).to_a + ('a'..'f').to_a # |