32 Commits

Author SHA1 Message Date
cddc6b525b openid: bump version to 1.0.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-21 18:54:44 +02:00
5d8a5ad1ac openid connect: http client: avoid unversioned ureq module
It's simply not needed so do not bother with it.

Brings us again closer to what the proxmox-http sync client does, now
at least it's again so simple that there can be an argument for doing
this ourselves here over pulling in more dependencies.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-21 18:50:55 +02:00
78a4e18e9a openid connect: http client: use TlS platform verifier
As otherwise a valid cert from Let's Encrypt got rejected as insecure
TLS.

It might be better to switch to proxmox-http sync client here, which
is ureq but better maintained code and less duplication.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-21 18:43:07 +02:00
53e7f75a74 openid: bump version to 1.0.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-21 17:35:58 +02:00
bbc13cb519 fix #6541: openid: add missing connector chains for http-client
With the upgrade to ureq 3 the TLS connectors (native-tls, rustls) now
require a transport (tcp) in the chain before it, otherwise they
panic.

For HTTP Connect proxy support another ConnectProxy connector is
required.
The new chain, based on the DefaultConnector [0] chain in ureq, needs
to have the connectors in the order of:
ConnectProxy -> Tcp -> Tls

[0] https://github.com/algesten/ureq/blob/3.0.11/src/unversioned/transport/mod.rs#L346

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Link: https://lore.proxmox.com/20250721144832.570040-1-m.limbeck@proxmox.com
 [TL: tiny commit message touch-up]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-07-21 17:32:31 +02:00
933edddbf8 openid: use workspace dependency for http crate
This was switched to a version dependency to be able to build with the
old openidconnect crate during trixie bootstrapping.
It is now identical to the workspace version.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2025-06-24 09:30:42 +02:00
aed4a72a78 improve gitignore and remove accidentially comitted build files from openid
Fixes: 4a4c611c ("openid: refresh d/control for initial Debian Trixie versions")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-06-23 12:23:24 +02:00
2dcdb435ec openid: bump version to 1.0.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-05-30 18:42:15 +02:00
4a4c611c3c openid: refresh d/control for initial Debian Trixie versions
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-05-30 18:36:55 +02:00
f5d7b9b4df openid: update to openidconnect 4
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-05-23 11:02:48 +02:00
ef48ea5971 openid: update to ureq 3/http 1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-05-23 11:02:34 +02:00
c514c34693 openid: use http 0.2 to avoid openidconnect update
to avoid too much churn right now

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-05-22 16:39:29 +02:00
f1bcce2796 openid: adapt d/control
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-04-04 15:51:23 +02:00
56763c1184 bump proxmox-openid to 0.10.4-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-04-04 15:41:08 +02:00
6f5fefecc0 fix #4234: openid: add library functions for optional userinfo endpoint
Signed-off-by: Thomas Skinner <thomas@atskinner.net>
FG: rebased
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-04-04 15:40:28 +02:00
1c25b76c5d fix #4411: openid: add library code for generic id token claim support
Signed-off-by: Thomas Skinner <thomas@atskinner.net>
Tested-by: Mira Limbeck <m.limbeck@proxmox.com>
Reviewed-by: Mira Limbeck <m.limbeck@proxmox.com>
2025-04-04 14:52:23 +02:00
f4868ff519 tree-wide: check in d/control meta changes for newer debcargo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-11-26 14:44:33 +01:00
d6e86d670b tree-wide: unify workspace inherited attributes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-09-20 08:42:45 +02:00
c1a947c998 openid: bump to 0.10.3-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-08-14 12:00:58 +02:00
89df077104 openid: remove unused dependencies
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-08-14 11:38:48 +02:00
9d1758dfa2 openid: bump to 0.10.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-11 15:24:52 +02:00
0652d81977 tree-wide: enable doc_cfg and doc_auto_cfg for docs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-02 11:59:53 +02:00
51680ea77e openid: bump to 0.10.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-20 14:04:41 +02:00
8f7566209c clippy fix: unnecessary use of to_string
See:
https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:29:36 +02:00
b272279ef1 clippy fix: you should consider adding a Default implementation
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:29:36 +02:00
6f9cc14b9e clippy fix: redundant closure
See:
https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:29:36 +02:00
81ca4ae6a1 clippy fix: needless borrow
See:
https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:29:36 +02:00
de6337ae6d clippy fix: the borrowed expression implements the required traits
See: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-08 11:05:20 +02:00
d5b9f166a2 cargo fmt
bigger changes are only in the new crates
rest are minor ones

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-06-23 11:50:39 +02:00
656ec1e7db bump proxmox-openid to 0.10.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 09:50:33 +02:00
077a83f401 add proxmox-apt and proxmox-openid to workspace
and fixup d/copyright

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 09:24:27 +02:00
88d1783a65 move to proxmox-openid/
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-05-24 09:20:44 +02:00