pwned_passwords 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pwned_passwords.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8505686e542e62eea2a23b9beb2abd2241a883171d0687f80688ea19fc10474a
|
4
|
+
data.tar.gz: c60a83ba9d5a24eb474a6b6826f5fd2bfe69159ad00a9e539bef5ff9626bc955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc04b469fa86fde7bd04e1216c04c63f8d7c046b6c5356921764fed6d2452b203e5650ac714c59c27533e0cbe4917ad46a63821361d1f9ec45a0a364b2f4955c
|
7
|
+
data.tar.gz: 41a74b1f18fc8a3165cfdfa24816632d510d4a2b7de06b86fe59b646a3edbaefb51ea0cec2ebaa34688ca35fcd5dacbd7f059f202c3bdcd39617d58bf03522ba
|
data/lib/pwned_passwords.rb
CHANGED
@@ -24,7 +24,7 @@ class PwnedPasswords
|
|
24
24
|
end
|
25
25
|
if password_score > 100
|
26
26
|
puts "This password has been detected in too many breaches"
|
27
|
-
elsif (password_score > 20
|
27
|
+
elsif (password_score > 20 && password_score < 100)
|
28
28
|
puts "This password is not great. Consider changing it."
|
29
29
|
else
|
30
30
|
puts "This password is okay"
|