|
62390aa0ad
|
Return Result from Authenticator::verify_user_token()
|
2024-02-10 11:57:09 +00:00 |
|
|
97ed869230
|
Pass username to Authenticator::verify_user_token()
|
2024-02-10 11:57:09 +00:00 |
|
|
dbcd963bb1
|
Add base64, time crates
|
2024-02-10 11:57:09 +00:00 |
|
|
c8daa312bf
|
Add hmac, md-5 crates
|
2024-02-10 11:57:09 +00:00 |
|
|
34a7d57507
|
Add UserServerKey, ServerPadlock, ServerHash types
|
2024-02-10 11:57:09 +00:00 |
|
|
d195147f35
|
make Authenticator non-generic
|
2024-02-10 12:56:35 +01:00 |
|
|
399ed56b74
|
move secrets to secrets.rs
|
2024-02-10 12:32:01 +01:00 |
|
|
e4aa6c1909
|
impl From<String> for {Password,UserToken}
|
2024-02-10 12:30:04 +01:00 |
|
|
9cd4848ce8
|
Database::get_token
|
2024-02-10 12:25:46 +01:00 |
|
|
3c5bff0237
|
trait bound
|
2024-02-10 12:11:36 +01:00 |
|
|
d4639c3152
|
beginnings of SqliteDatabase
|
2024-02-10 12:06:53 +01:00 |
|
|
0006004db1
|
Add API error type
|
2024-02-10 10:49:36 +00:00 |
|
|
32e99b155c
|
Implement dummy /api_login
|
2024-02-10 10:46:13 +00:00 |
|
|
2447786c81
|
Impl Deserialize for Password, UserToken
|
2024-02-10 10:45:55 +00:00 |
|
|
8ce85262be
|
Remove nonsensical DebugSecret implementation
|
2024-02-10 10:45:55 +00:00 |
|
|
a5a55ad69a
|
README: mention updater server override
|
2024-02-10 10:44:42 +00:00 |
|
|
63cdc0713d
|
Allow deserializing secrets
|
2024-02-10 10:44:42 +00:00 |
|
|
6bfda3f16b
|
log {create,verify}_user_token
|
2024-02-10 11:20:35 +01:00 |
|
|
9f08d698c3
|
Add serde
|
2024-02-10 10:18:12 +00:00 |
|
|
be0e778f80
|
Set up tracing-error
|
2024-02-10 10:13:44 +00:00 |
|
|
ec9b0993bc
|
Move axum stuff to separate module
|
2024-02-10 10:13:44 +00:00 |
|
|
6a1be899f7
|
verify_user_token
|
2024-02-10 11:11:46 +01:00 |
|
|
6e70220222
|
use SecretString for password and user token
|
2024-02-10 11:10:58 +01:00 |
|
|
3f7a1b3e2f
|
Start axum, add tls-check route
|
2024-02-10 10:04:58 +00:00 |
|
|
6ba03b79be
|
authenticator skeleton
|
2024-02-10 11:01:02 +01:00 |
|
|
bde8d3da15
|
Add dependencies, set up tracing
|
2024-02-10 09:53:28 +00:00 |
|
|
0adbf28b5c
|
Add clippy configuration
|
2024-02-10 09:20:44 +00:00 |
|
|
5370126e2c
|
Add cargo project scaffold
|
2024-02-09 20:22:29 +00:00 |
|
|
a018a8b371
|
Add license
|
2024-02-09 20:22:03 +00:00 |
|
|
244b8ee8ef
|
Add .editorconfig
|
2024-02-09 20:21:31 +00:00 |
|
|
691099499b
|
Add README.md
|
2024-02-09 20:21:27 +00:00 |
|
|
4c6831b1e8
|
initial empty commit
|
2024-02-09 19:29:43 +00:00 |
|