summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-01-05 13:52:25 -0800
committerelijah <elijah@riseup.net>2015-01-06 10:39:36 -0800
commit5dbbc5ba6d4e83f11bf4787dc020865001ad8ef4 (patch)
tree79890bc5f85b9bcd35362306e56c79d56d71098a
parenta27c9e53f46700acb79b33173060e45c97c183c2 (diff)
omit underscore from random alpha secrets in secrets.json
-rw-r--r--lib/leap_cli/util/secret.rb2
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
#