Fixed form (error messages too long). Consolidated tests & errors. Moved regexes to another file. Added regex to check for PII & reject pwd if true. Confirmed hashing & encryption/decryption works with top 50 languages, emojis etc (screen videos & unit tests to come).

This commit is contained in:
Joel Biddle
2023-08-25 01:44:02 +10:00
parent 688cf91eb7
commit 4d6a8f0476
14 changed files with 293 additions and 374 deletions
+8 -10
View File
@@ -232,16 +232,14 @@
"current-wrong": "The current password may be wrong",
"new": "New password",
"validate-base": "Password should contain:",
"validate-too-short": "at least 14 characters",
"validate-too-long": "at most 100 characters",
"validate-uppercase": "at least 1 uppercase character",
"validate-lowercase": "at least 1 lowercase character",
"validate-number": "at least 1 number",
"validate-special-char": "at least 1 special character",
"validate-repeated-char": "at most 2 repeated, consecutive characters",
"validate-is-email": "The password cannot be an email address.",
"validate-is-url": "The password cannot be a URL.",
"validate-is-breached": "The new password is in a list of passwords commonly used on other websites. Please try again with a stronger password."
"validate-tooShort": "at least 14 characters",
"validate-tooLong": "at most 100 characters",
"validate-noLetterChar": "at least 1 letter character",
"validate-noNumOrSpecialChar": "at least 1 number or special character",
"validate-repeatedChar": "at most 3 repeated, consecutive characters",
"validate-escapeChar": "No escape characters allowed.",
"validate-lowEntropy": "Password contains sensitive data.",
"validate-breached": "Password was found in a data breach."
},
"token": {
"service-tokens": "Service Tokens",