Commit Graph
26 Commits
Author SHA1 Message Date
Joel Biddle 7ec00475c6 +maxRetryAttempts, padding & safer error handling. Improved readability & comments. 2023-08-23 12:59:00 +10:00
Joel Biddle 25fc508d5e Fixed spelling 2023-08-23 02:56:03 +10:00
Joel Biddle ea262da505 Added check that password is not an email address 2023-08-23 02:14:22 +10:00
Joel Biddle 2960f86647 Fix comments explaining "international" password requirements 2023-08-23 01:41:37 +10:00
Joel Biddle b2888272f2 Added password criterion support for multiple languages and emojis 2023-08-23 01:27:30 +10:00
Joel Biddle e5c87442e5 Changed to use ES2018 rather than load scripts 2023-08-23 01:04:52 +10:00
Joel Biddle be08417c8b internationalize password requirements 2023-08-23 00:48:45 +10:00
Joel Biddle 61e44e152c optimised import 2023-08-22 23:47:33 +10:00
Joel Biddle 52c4f64655 Removed log and fixed comments 2023-08-22 23:36:24 +10:00
Joel Biddle 3e36adcf5c Removed all references to commonPasswords & the data file. This api route can be deprecated in favor of the client-side secure call to the haveIBeenPwnd password API. Further the datafile contains no passwords that meet the minimum password criteria. 2023-08-22 23:30:24 +10:00
Joel Biddle 1f60a3d73e fixed more error handling for password checks & translations 2023-08-22 22:42:02 +10:00
Joel Biddle 00089a6bba Added breached pwd error translations 2023-08-22 20:57:12 +10:00
Joel Biddle 026ea29847 further fixes to password check logic 2023-08-22 20:42:07 +10:00
Joel Biddle 1242d88acb Fixed breached pwd error messages 2023-08-22 20:20:54 +10:00
Joel Biddle f47a119474 fixed breached pwd error messages 2023-08-22 20:20:13 +10:00
Joel Biddle 0b359cd797 Made breached pwd API comments clearer 2023-08-22 19:45:35 +10:00
Joel Biddle c5ae402787 Added comments to explain breach passwords API 2023-08-22 18:14:03 +10:00
Joel Biddle e288402ec4 Properly added pwndpasswords API to CSP 2023-08-22 17:58:10 +10:00
Joel Biddle 196beb8355 removed logs & added pwndpasswords.com api to CSP 2023-08-22 17:50:43 +10:00
Joel Biddle d6222d5cee attempt to fix crypto.subtle issue 2023-08-22 17:33:35 +10:00
Joel Biddle e855d4a0ba added types for crypto 2023-08-22 17:26:00 +10:00
Joel Biddle 20f34b4764 removed async in crypto.subtle 2023-08-22 17:14:18 +10:00
Joel Biddle 0eb21919fb Password breach check 2023-08-22 16:49:17 +10:00
Joel Biddle fbeb210965 add to pwd length issue 2023-08-22 15:34:45 +10:00
Joel Biddle 0d1aa713ea added translations for error messges (used Google translate) 2023-08-22 14:57:02 +10:00
Joel Biddle 534d96ffb6 Set max password length (100 chars) to help prevent DDOS attack 2023-08-22 14:05:00 +10:00