Commit Graph

162 Commits

Author SHA1 Message Date
b917c812d3 Merge branch 'master' into renovate/serde_json-1.x
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
2022-05-05 15:54:26 +00:00
0f69c3cf2c Update CI script & add badge
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-05 17:52:48 +02:00
ee872a5365 Merge pull request 'Update Rust crate serde to 1.0.137' (#11) from renovate/serde-1.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #11
2022-05-05 15:51:38 +00:00
e853e16834 Merge branch 'master' into renovate/serde-1.x
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-05 15:34:14 +00:00
4ed5f6ac53 Merge pull request 'Update Rust crate qrcode-generator to 4.1.6' (#10) from renovate/qrcode-generator-4.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2022-05-05 15:32:13 +00:00
ba34deb0cd Merge branch 'master' into renovate/qrcode-generator-4.x
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-05 15:20:07 +00:00
144b7a982f Add CI script
All checks were successful
continuous-integration/drone Build is passing
2022-05-05 17:13:47 +02:00
8557b19629 Update Rust crate serde_json to 1.0.80 2022-05-01 14:51:25 +00:00
a5666b8f65 Update Rust crate serde to 1.0.137 2022-05-01 14:51:22 +00:00
f985abcc22 Update Rust crate qrcode-generator to 4.1.6 2022-04-29 00:03:36 +00:00
1c8c471fc6 Fix typo 2022-04-23 21:01:02 +02:00
a51cab4c39 Merge pull request 'Update Rust crate jwt-simple to 0.11.0' (#9) from renovate/jwt-simple-0.x into master
Reviewed-on: #9
2022-04-23 20:49:22 +02:00
b1ee7131d4 Merge pull request 'Update Rust crate uuid to v1' (#7) from renovate/uuid-1.x into master
Reviewed-on: #7
2022-04-23 20:48:25 +02:00
07b1ff4bae Merge pull request 'Update Rust crate clap to 3.1.12' (#6) from renovate/clap-3.x into master
Reviewed-on: #6
2022-04-23 20:47:03 +02:00
6f1e00e737 Add Permissions-Policy header 2022-04-23 20:45:34 +02:00
234e77d08a Block pages indexing 2022-04-23 20:41:31 +02:00
48112dfed7 Make usage of FatalErrorPage more convenient 2022-04-23 20:31:09 +02:00
a516f173ad Merge pull request 'Add webauthn' (#8) from webauthn into master
Reviewed-on: #8
2022-04-23 20:25:13 +02:00
822b78237a Finish implementation of Webauthn! 2022-04-23 20:23:34 +02:00
933c8ff024 Add expiration to webauthn challenges 2022-04-23 20:22:32 +02:00
9e345895ff Managed to authenticate user using Webauthn 2022-04-23 20:17:49 +02:00
05d3bee328 Send authenticate request 2022-04-23 19:20:59 +02:00
1d69ea536f Get auth challenge 2022-04-23 18:56:14 +02:00
drone
bdd1ac5419 Update Rust crate uuid to v1 2022-04-23 00:12:01 +00:00
drone
e62947ab9f Update Rust crate jwt-simple to 0.11.0 2022-04-23 00:11:57 +00:00
drone
d887e0df34 Update Rust crate clap to 3.1.12 2022-04-23 00:11:47 +00:00
f09a62f8df Disable "Start enrollment" button while processing credentials 2022-04-21 19:31:38 +02:00
0f17a8a35c Better sentence meaning 2022-04-21 19:28:54 +02:00
0f2fe87b5d cargo clippy 2022-04-21 19:26:50 +02:00
49716a8bf5 Register user security keys 2022-04-21 19:24:43 +02:00
1f0e6d05c8 Generate & return webauthn registration challenge 2022-04-20 21:06:53 +02:00
10982190e7 Add new test to validate TOTP codes generation 2022-04-20 18:06:04 +02:00
834ba1987e Improve handling of code input in TOTP page 2022-04-20 17:52:32 +02:00
1a1b31e8a0 Add support for numeric pad 2022-04-20 17:47:23 +02:00
68cb630339 Automatically display first factor input form if there is only one 2022-04-20 12:06:56 +02:00
867021e01a Improve TOTP form
Based on https://bbbootstrap.com/snippets/bootstrap-5-verify-otp-validation-form-inputs-78878858
2022-04-20 11:59:16 +02:00
0e02b63d93 Refuse to deliver token if code_verifier is present without code challenge 2022-04-20 09:52:00 +02:00
d7344feb9b Merge pull request 'Two factor authentication : TOTP' (#5) from twofactors into master
Reviewed-on: #5
2022-04-20 09:40:48 +02:00
0260742c01 Finish implementation of Authenticator App 2022-04-20 09:39:28 +02:00
1e401a0b10 Authentication using TOPT code is working 2022-04-20 09:35:57 +02:00
958f6eaabf Request focus on first input on login page 2022-04-20 09:16:21 +02:00
5e9c410e98 Improve TOPT login page 2022-04-19 20:55:42 +02:00
e8b3828f2c cargo clippy 2022-04-19 20:52:59 +02:00
94aeefe450 Replace type UserID with a structure 2022-04-19 19:40:36 +02:00
feb6db09b9 Fix typo 2022-04-19 19:33:16 +02:00
806a085c97 Improve redirect URI management 2022-04-19 19:30:24 +02:00
ce7118ff81 Display form to enter OTP code 2022-04-19 19:24:07 +02:00
c1677071fc Add a page to choose second factor 2022-04-19 18:27:21 +02:00
3add7a5d37 Rename SecondFactor => TwoFactor 2022-04-19 17:57:50 +02:00
9ff4392afb Replace Option<SecondFactor> with SecondFactor 2022-04-19 17:56:53 +02:00