HaHaWTH
3f6a7ce48f
Sync repo files to b22
2023-09-20 02:15:22 +08:00
HaHaWTH
ed320196fe
Remove all files
2023-09-20 02:10:19 +08:00
HaHaWTH
7e49e26735
reupload files
2023-07-11 20:45:01 +08:00
HaHaWTH
b014da245d
Del all files
2023-07-11 20:42:24 +08:00
Sabrita
674d72c113
优化 import 。更改默认配置
2023-02-28 12:36:56 +08:00
Gabriele C
75b3a571e1
Always specify Locale on toLowerCase and toUpperCase usages, fixes AuthMe not working correctly on machines with turkish locale. ('I'.toLowerCase() => 'ı')
2022-08-20 04:41:04 +02:00
ljacqu
f0d3d085c6
#1574 Use server name in 2FA QR code link instead of IP
2019-08-02 15:38:13 +02:00
ljacqu
210a4f61cb
#1219 Make 2FA tokens one-use only ( #1848 )
...
- Make TotpAuthenticator keep track of the used codes and reject any known ones
2019-07-06 18:26:43 +02:00
ljacqu
8e4288f911
Minor code householding
2018-05-20 13:10:26 +02:00
ljacqu
1e3ed795c1
#1141 2FA implementation fixes
...
- Merge TotpService into TotpAuthenticator
- Add missing tests
- Migrate old 2fa enabled key to new one
2018-05-01 22:49:07 +02:00
ljacqu
29ac3a7022
#1141 Fixes to TOTP implementation
...
- Revert back to SHA1 as HMAC hash function so that it works with Google authenticator
- Add message to user to tell him to run /2fa confirm to add a TOTP code
2018-04-22 11:13:27 +02:00
ljacqu
9326094d9c
#1141 Fix review remarks by @games647
...
- Use SHA512 to generate keys instead of default SHA1
- Declare google authenticator dependency as optional and add relocation rule
2018-04-03 00:13:53 +02:00
ljacqu
e9ab82db6b
#1141 Make 2fa messages translatable, various cleanups (null safety, ...)
2018-03-21 23:56:13 +01:00
ljacqu
eb9cd31a65
#1141 Split TOTP permissions for add/remove, refactor TOTP services
...
- Split TotpService further into GenerateTotpService and TotpAuthenticator, which wraps the GoogleAuthenticator impl
- Add missing tests for the services
- Change GenerateTotpService's interface to behave like a collection for more intuitive method behavior
2018-03-10 16:21:53 +01:00