Last active
July 21, 2020 10:31
-
-
Save m33x/d3d330efa3ef618045509647b3ca1442 to your computer and use it in GitHub Desktop.
1Password Web App (B5) v834 - July 17, 2020 - Watchtower - Weak Passwords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Watchtower Criteria "Weak-Passwords" - Taken from app.js | |
if ("weak-passwords" === e) | |
return t.filter((function(e) { | |
if ("N" !== e.trashed) | |
return !1; | |
var t = a[e.uuid]; | |
return t && "number" == typeof t.passwordStrength && t.passwordStrength >= 0 && t.passwordStrength < c.k.PASSWORD_STRENGTH.WEAK | |
} | |
)); | |
// Bins - Taken from b5.js | |
!function(e) { | |
e[e.FANTASTIC = 100] = "FANTASTIC", | |
e[e.EXCELLENT = 85] = "EXCELLENT", | |
e[e.VERY_GOOD = 73] = "VERY_GOOD", | |
e[e.GOOD = 60] = "GOOD", | |
e[e.FAIR = 53] = "FAIR", | |
e[e.WEAK = 44] = "WEAK", | |
e[e.TERRIBLE = 26] = "TERRIBLE" | |
}(r || (r = {})), | |
// Calculate Password Strength - Taken from b5.js | |
b5.util.calculatePasswordStrength("Correct Horse Battery Staple123", "username") | |
// Version Info | |
https://app-updates.agilebits.com/product_history/B5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment