]> git.proxmox.com Git - proxmox-openid-rs.git/log
proxmox-openid-rs.git
11 months agoThis repository was moved into the `proxmox.git` repository master
Wolfgang Bumiller [Wed, 24 May 2023 09:27:07 +0000 (11:27 +0200)]
This repository was moved into the `proxmox.git` repository

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
15 months agobump version to 0.9.9-1
Thomas Lamprecht [Wed, 11 Jan 2023 17:41:29 +0000 (18:41 +0100)]
bump version to 0.9.9-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agocargo: update openidconnect to 2.4
Thomas Lamprecht [Wed, 11 Jan 2023 17:41:06 +0000 (18:41 +0100)]
cargo: update openidconnect to 2.4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobump version to 0.9.8-1
Fabian Grünbichler [Thu, 5 Jan 2023 11:26:04 +0000 (12:26 +0100)]
bump version to 0.9.8-1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
15 months agoupdate nix to 0.26
Fabian Grünbichler [Thu, 5 Jan 2023 11:24:51 +0000 (12:24 +0100)]
update nix to 0.26

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
15 months agoupdate d/control
Fabian Grünbichler [Thu, 5 Jan 2023 11:24:46 +0000 (12:24 +0100)]
update d/control

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 months agobump version to 0.9.7-1
Wolfgang Bumiller [Thu, 28 Jul 2022 11:41:01 +0000 (13:41 +0200)]
bump version to 0.9.7-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
20 months agobump proxmox-sys dep to 0.4
Wolfgang Bumiller [Thu, 28 Jul 2022 11:40:37 +0000 (13:40 +0200)]
bump proxmox-sys dep to 0.4

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
22 months agobump version to 0.9.6
Fabian Grünbichler [Thu, 2 Jun 2022 10:38:33 +0000 (12:38 +0200)]
bump version to 0.9.6

for nix 0.24 rebuild

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump version to 0.9.5-1
Thomas Lamprecht [Fri, 1 Apr 2022 13:56:38 +0000 (15:56 +0200)]
bump version to 0.9.5-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofix Open ID with Azure as provider
Mira Limbeck [Fri, 1 Apr 2022 09:44:25 +0000 (11:44 +0200)]
fix Open ID with Azure as provider

Azure doesn't accept `Transfer-Encoding: chunked` on their token endpoint,
but with the switch to ureq we always send requests with this set.

Fix by switching to `Content-Length` in the header instead. ureq only
sets `Transfer-Encoding: chunked` when the body length is not known
beforehand, which is the case when using `send`. See
https://docs.rs/ureq/2.4.0/ureq/index.html#content-length-and-transfer-encoding

See https://forum.proxmox.com/threads/openid-401-with-azure-ad.105892/
for the issue.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2 years agobump version to 0.9.4-1
Thomas Lamprecht [Tue, 22 Mar 2022 10:32:10 +0000 (11:32 +0100)]
bump version to 0.9.4-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agohttp client: rust format and whitespace cleanup
Thomas Lamprecht [Tue, 22 Mar 2022 09:57:21 +0000 (10:57 +0100)]
http client: rust format and whitespace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd http proxy support
Mira Limbeck [Tue, 22 Mar 2022 09:41:54 +0000 (10:41 +0100)]
add http proxy support

ureq has support for a HTTP proxy, but no support for HTTPS proxy yet.
ureq doesn't query `all_proxy` and `ALL_PROXY` environment variables by
itself, the way curl does. So set the proxy in code if any of the above
environment variables are set.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2 years agod/control: update
Thomas Lamprecht [Tue, 1 Feb 2022 12:18:22 +0000 (13:18 +0100)]
d/control: update

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 0.9.3-1
Thomas Lamprecht [Tue, 1 Feb 2022 08:08:41 +0000 (09:08 +0100)]
bump version to 0.9.3-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoinclude error messages in error display
Wolfgang Bumiller [Tue, 1 Feb 2022 09:39:23 +0000 (10:39 +0100)]
include error messages in error display

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agouse native-tls for ureq
Wolfgang Bumiller [Tue, 1 Feb 2022 09:35:10 +0000 (10:35 +0100)]
use native-tls for ureq

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoenable gzip feature for ureq
Dietmar Maurer [Tue, 1 Feb 2022 08:13:21 +0000 (09:13 +0100)]
enable gzip feature for ureq

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agocargo: enable "accept-rfc3339-timestamps" feature for OIDC
Thomas Lamprecht [Tue, 1 Feb 2022 08:03:56 +0000 (09:03 +0100)]
cargo: enable "accept-rfc3339-timestamps" feature for OIDC

It doesn't pull in any new dependency and we require it to be able to
work with the auth0 provider.
https://github.com/ramosbugs/openidconnect-rs/pull/55#issuecomment-1026567725

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agouse ureq (with native-tls) instead of curl
Dietmar Maurer [Tue, 1 Feb 2022 07:09:44 +0000 (08:09 +0100)]
use ureq (with native-tls) instead of curl

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoupdate debian/control
Dietmar Maurer [Wed, 24 Nov 2021 09:16:37 +0000 (10:16 +0100)]
update debian/control

2 years agobump version to 0.9.2-1, depend on proxmox-sys 0.2
Dietmar Maurer [Tue, 23 Nov 2021 11:38:34 +0000 (12:38 +0100)]
bump version to 0.9.2-1, depend on proxmox-sys 0.2

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump version to 0.9.1-1
Fabian Grünbichler [Thu, 18 Nov 2021 11:54:31 +0000 (12:54 +0100)]
bump version to 0.9.1-1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump openidconnect dep to 2.1
Fabian Grünbichler [Thu, 18 Nov 2021 11:53:37 +0000 (12:53 +0100)]
bump openidconnect dep to 2.1

for updated rand/base64 support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump version to 0.9.0-1
Dietmar Maurer [Thu, 18 Nov 2021 08:37:12 +0000 (09:37 +0100)]
bump version to 0.9.0-1

2 years agoallow to configure acr values
Dietmar Maurer [Fri, 6 Aug 2021 11:57:43 +0000 (13:57 +0200)]
allow to configure acr values

2 years agoallow to configure prompt behaviour
Dietmar Maurer [Fri, 6 Aug 2021 11:57:42 +0000 (13:57 +0200)]
allow to configure prompt behaviour

And do not set it by default.

2 years agonew helper verify_authorization_code_simple()
Dietmar Maurer [Fri, 6 Aug 2021 11:57:41 +0000 (13:57 +0200)]
new helper verify_authorization_code_simple()

Simply return data as serde_json::Value.

2 years agoalso return data from UserInfo endpoint
Dietmar Maurer [Fri, 6 Aug 2021 11:57:40 +0000 (13:57 +0200)]
also return data from UserInfo endpoint

2 years agoallow to configure used scopes
Dietmar Maurer [Fri, 6 Aug 2021 11:57:36 +0000 (13:57 +0200)]
allow to configure used scopes

2 years agobump version to 0.8.1-1
Dietmar Maurer [Thu, 21 Oct 2021 05:15:11 +0000 (07:15 +0200)]
bump version to 0.8.1-1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoadd fsync parameter to replace_file
Dietmar Maurer [Wed, 20 Oct 2021 12:55:15 +0000 (14:55 +0200)]
add fsync parameter to replace_file

Depend on proxmox 0.15.0

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoupdate to proxmox split and bump version to 0.8.0-1
Wolfgang Bumiller [Fri, 8 Oct 2021 10:20:20 +0000 (12:20 +0200)]
update to proxmox split and bump version to 0.8.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump version to 0.7.0, depend on proxmox 0.13.0
Wolfgang Bumiller [Tue, 24 Aug 2021 14:07:22 +0000 (16:07 +0200)]
bump version to 0.7.0, depend on proxmox 0.13.0

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agodepend on proxmox 0.12.0, bump version to 0.6.1
Dietmar Maurer [Tue, 20 Jul 2021 11:51:52 +0000 (13:51 +0200)]
depend on proxmox 0.12.0, bump version to 0.6.1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 0.6.0-2
Dietmar Maurer [Wed, 30 Jun 2021 06:43:40 +0000 (08:43 +0200)]
bump version to 0.6.0-2

2 years agoremove debug output
Dietmar Maurer [Wed, 30 Jun 2021 06:42:14 +0000 (08:42 +0200)]
remove debug output

2 years agobump version to 0.6.0-1
Dietmar Maurer [Fri, 25 Jun 2021 09:09:48 +0000 (11:09 +0200)]
bump version to 0.6.0-1

2 years agouse one lock file per realm
Dietmar Maurer [Fri, 25 Jun 2021 09:05:56 +0000 (11:05 +0200)]
use one lock file per realm

2 years agobump version to 0.5.0-1
Dietmar Maurer [Wed, 23 Jun 2021 09:29:13 +0000 (11:29 +0200)]
bump version to 0.5.0-1

2 years agoavoid unused features "sortable-macro" and "api-macro"
Dietmar Maurer [Wed, 23 Jun 2021 09:27:55 +0000 (11:27 +0200)]
avoid unused features "sortable-macro" and "api-macro"

2 years agobump versionm to 0.4.0-1
Dietmar Maurer [Wed, 23 Jun 2021 09:17:30 +0000 (11:17 +0200)]
bump versionm to 0.4.0-1

2 years agoset "default-features = false" for proxmox crate
Dietmar Maurer [Wed, 23 Jun 2021 09:15:33 +0000 (11:15 +0200)]
set "default-features = false" for proxmox crate

2 years agobump version toö 0.3.0-1
Dietmar Maurer [Tue, 22 Jun 2021 07:23:59 +0000 (09:23 +0200)]
bump version toö 0.3.0-1

2 years agoreturn Url as string
Dietmar Maurer [Mon, 21 Jun 2021 12:12:13 +0000 (14:12 +0200)]
return Url as string

To make perl bindings simple.

2 years agobump version to 0.2.0-1
Dietmar Maurer [Mon, 21 Jun 2021 11:37:43 +0000 (13:37 +0200)]
bump version to 0.2.0-1

2 years agoimplement Deserialize/Serialize for OpenIdConfig
Dietmar Maurer [Mon, 21 Jun 2021 11:27:05 +0000 (13:27 +0200)]
implement Deserialize/Serialize for OpenIdConfig

Useful to create perl bindings.

2 years agoadd packaging
Fabian Grünbichler [Fri, 18 Jun 2021 14:16:19 +0000 (16:16 +0200)]
add packaging

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agomake state directory configurable (pass state_dir as parameter)
Dietmar Maurer [Fri, 18 Jun 2021 08:49:38 +0000 (10:49 +0200)]
make state directory configurable (pass state_dir as parameter)

2 years agoinitial import
Dietmar Maurer [Fri, 18 Jun 2021 08:08:01 +0000 (10:08 +0200)]
initial import