Adrià Casajús
faeddc365c
Display recovery codes for mfa only once ( #1317 )
...
* Recovery codes can only be shown after adding a 2FA code and cannot be seen afterwards
* Added recovery codes fix
* Updated models and script
* Formatting
* Format
* Added base code
* Updated wording
* Set the config by default
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-03 12:32:45 +02:00
Son
bd8b9526f6
set Fido.user_id
2021-11-22 15:57:51 +01:00
Son
372466ab06
do not use flask-sqlalchemy
...
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son Nguyen Kim
5ac78f2694
reformat
2021-09-08 11:29:55 +02:00
Renaud Boyer
4e93e511ec
linting
2020-12-06 22:05:13 +01:00
Son NK
0a4fc76b61
optimize import
2020-10-15 16:45:28 +02:00
Son NK
b395c2ebd0
use warning log for FIDO error
2020-08-12 12:48:51 +02:00
Son NK
6437ee46e0
use LOG.exception instead of LOG.error to provide stacktrace
2020-07-17 12:59:07 +02:00
Son NK
683b3e54d8
remove User.can_use_fido column: anyone can setup FIDO
2020-05-28 20:38:29 +02:00
Son NK
22c5513909
fix ForeignKeyViolation
2020-05-24 20:35:52 +02:00
devStorm
7bd97e13b0
fido_model -> fidos
2020-05-18 13:55:38 -07:00
devStorm
ea914e0378
Rename FIDO->Fido
2020-05-18 13:54:05 -07:00
devStorm
b64ed7ad63
key management page
2020-05-18 05:07:06 -07:00
devStorm
6509053fa8
named key
2020-05-18 02:55:41 -07:00
devStorm
0cdd0b3b07
black
2020-05-18 02:15:52 -07:00
devStorm
f79eb90d2a
sudo mode
2020-05-18 02:14:40 -07:00
devStorm
2b8febe0b9
black
2020-05-18 00:06:24 -07:00
devStorm
9fb91c83e7
more setup
2020-05-18 00:01:27 -07:00
devStorm
f2f6e13af7
DB & Setup ready for multi-keys
2020-05-17 22:05:37 -07:00
Son NK
043ecd4fac
redirect user to recovery codes page after MFA setup. Remove all recovery codes when user is no more MFA.
2020-05-17 10:11:38 +02:00
devStorm
d236f906ad
🐛 WebAuthn bug fixes
...
- User may not have name
- user_verification should be discouraged to work on iOS
2020-05-08 14:21:38 -07:00
Son NK
4709237b92
only user with can_use_fido can use fido
2020-05-07 17:58:24 +02:00
Son NK
84c529c867
optimize import
2020-05-07 17:49:29 +02:00
devStorm
e4895b52a0
fix SITE_URL
2020-05-07 05:34:17 -07:00
devStorm
f7e3320242
model - fido_enabled
2020-05-07 05:32:52 -07:00
devStorm
9b8340f3e0
Black formatted
2020-05-07 02:53:28 -07:00
devStorm
0052dad13e
Do not show full error msg to user
2020-05-07 02:48:56 -07:00
devStorm
282cbe25a3
Calculate RP_ID in config
2020-05-07 02:39:30 -07:00
devStorm
c38b3c768c
fix SimpleLogin brand name
2020-05-07 02:34:19 -07:00
devStorm
3ab3f819b7
Make RP_ID a constant
2020-05-07 02:33:24 -07:00
devStorm
b8b1313db9
typo 'infomation'
2020-05-07 02:31:42 -07:00
devStorm
650d6e35f0
FIDO login middleware
2020-05-05 05:03:29 -07:00
devStorm
286b1143ca
Store sign count
2020-05-05 03:16:52 -07:00
devStorm
a32b69078f
Key registration (Backend)
2020-05-05 01:58:42 -07:00
devStorm
3ce4dfb371
Security key setup page (front-end)
2020-05-05 01:32:49 -07:00