Commit graph

113 commits

Author SHA1 Message Date
aee71e94c1 Add missing dependencies to PKGBUILD 2024-11-03 16:28:33 +00:00
a47b972def update contrib/PKGBUILD 2024-10-31 18:39:46 +01:00
35f706b537 add PAM auth backend 2024-10-31 18:37:19 +01:00
74f12d0b55 move LdapBackend to new submodule 2024-10-31 17:15:38 +01:00
e894e8eb18 bump version harder 2024-10-25 12:40:32 +02:00
9b7681f3d9 bump version 2024-10-25 12:23:38 +02:00
9bb084f0a7 support LDAP aliases 2024-10-25 12:17:13 +02:00
188e54f893 Add Arch package recipe 2024-10-21 13:54:03 +00:00
691bebf6ba actually validate that the LDAP bind succeeded 2024-10-21 14:58:27 +02:00
63487af2a4 Use rustls for reqwest 2024-10-18 16:18:02 +00:00
ed7920e289 Remove sqlx rustls dependency
We use sqlite, which is local.
2024-10-18 16:15:46 +00:00
5e94db3c17 Dependency updates 2024-10-14 20:39:58 +00:00
b8c5c4961b Update deny.toml for upstream license handling changes 2024-10-14 20:21:45 +00:00
a95d81d19f cargo update 2024-10-14 20:14:23 +00:00
614274669d README.md: fix typo, properly link to config file 2024-02-20 22:30:13 +00:00
2ef758764a Release v1.0.0 2024-02-20 22:22:00 +00:00
623104231f Add sqlx metadata
Gnenerated using https://crates.io/crates/sqlx-cli.
2024-02-20 22:22:00 +00:00
3f2ed1c118 Cargo.toml: add repository and documentation fields 2024-02-20 22:11:33 +00:00
a52567330a Add 'run' subcommand
For future extensibility
2024-02-20 22:03:07 +00:00
aecf9509f5 Implement padlock proxy 2024-02-20 21:57:03 +00:00
fe7cea89c5 Add url, reqwest dependencies 2024-02-20 21:50:49 +00:00
d1f8e461b1 db: rename methods to clarify token kind 2024-02-20 21:00:08 +00:00
a50660ddc3 Sort dependencies properly 2024-02-20 19:59:26 +00:00
3c0db5f1b5 Mention padlock-secret in README 2024-02-15 21:05:32 +00:00
ead1c7ebad Enforce minimum length for padlock generation secret 2024-02-15 20:58:41 +00:00
32d76be0fd Lint against unwrap/expect 2024-02-15 20:45:34 +00:00
360f3fcbbf Improve error handling 2024-02-15 20:14:07 +00:00
fa7dc5a3f9 Allow specifying IP address to listen on 2024-02-15 19:58:33 +00:00
0e2d440489 Silence clippy 2024-02-15 18:34:43 +00:00
31665f3fb0 Update README
mention the requirement for anonymous LDAP search of search-base
2024-02-11 20:15:32 +01:00
e913de5e8d update last_used on verify_user_token 2024-02-11 20:00:58 +01:00
731f6f2f6c bugfix: return existing token instead of creating a new one every time 2024-02-11 19:12:51 +01:00
5c747f2b41 slightly shorten db.get_token
(no good reason other than i think it looks better)
2024-02-11 19:04:53 +01:00
db133d68d8 remove invalid quotes from editorconfig 2024-02-11 17:26:33 +01:00
c887378476 use trait object for database 2024-02-11 16:48:03 +01:00
e5b95a1f8e auth.rs -> auth/mod.rs 2024-02-11 16:24:34 +01:00
79bf7f764b small clean-ups
remove one level of Arc in state
2024-02-11 16:23:11 +01:00
988afff71d Update README 2024-02-10 22:11:39 +00:00
e0c12f4c14 Update authors list in Cargo.toml 2024-02-10 22:08:39 +00:00
765953f9a3 Slightly reduce dependency duplication 2024-02-10 22:05:41 +00:00
45589781ba Add cargo-deny config 2024-02-10 22:05:11 +00:00
271714dd37 Appease clippy 2024-02-10 21:48:09 +00:00
011ee55fc0 Update README, example config 2024-02-10 21:46:44 +00:00
f446d67cf4 Implement LDAP authentication backend 2024-02-10 21:44:43 +00:00
8dd283d773 Rename AuthenticationError::Backend to Database 2024-02-10 20:00:28 +00:00
e7a73009ad Update README 2024-02-10 19:08:47 +00:00
045d5394ca Implement /generate-server-padlock-2 2024-02-10 18:59:28 +00:00
8d4b969419 Implement ServerPadlockGenerator 2024-02-10 18:59:21 +00:00
dbf8a34534 Add sha2 crate 2024-02-10 18:49:23 +00:00
9c3905c7a5 server: use default API version if not specified 2024-02-10 18:35:20 +00:00