pve-rs: depend on proxmox-openid 0.9, bump version to 0.4.0

This commit is contained in:
Dietmar Maurer 2021-11-18 09:53:04 +01:00
parent 42dbadec03
commit 544f85bb89
4 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "pve-rs"
version = "0.3.2"
version = "0.4.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
license = "AGPL-3"
@ -29,5 +29,5 @@ serde_json = "1.0"
perlmod = { version = "0.8.1", features = [ "exporter" ] }
proxmox-apt = "0.8"
proxmox-openid = "0.8"
proxmox-openid = "0.9"
proxmox-tfa = { version = "1.3", features = ["api"] }

View File

@ -1,3 +1,11 @@
libpve-rs-perl (0.4.0) bullseye; urgency=medium
* depend on proxmox-openid 0.0 (support prompt and scopes)
* openid: use new verify_authorization_code_simple() to return all claims
-- Proxmox Support Team <support@proxmox.com> Thu, 18 Nov 2021 09:52:26 +0100
libpve-rs-perl (0.3.2) bullseye; urgency=medium
* generate an explicit 'incompatible' tfa entry for the old ticket api if a

View File

@ -16,7 +16,7 @@ Build-Depends: debhelper (>= 12),
librust-perlmod-0.8+default-dev (>= 0.8.1-~~),
librust-perlmod-0.8+exporter-dev (>= 0.8.1-~~),
librust-proxmox-apt-0.8+default-dev,
librust-proxmox-openid-0.8+default-dev,
librust-proxmox-openid-0.9+default-dev,
librust-proxmox-tfa-1+api-dev (>= 1.3-~~),
librust-proxmox-tfa-1+default-dev (>= 1.3-~~),
librust-serde-1+default-dev,

View File

@ -81,7 +81,7 @@ mod export {
) -> Result<Value, Error> {
let open_id = this.inner.lock().unwrap();
let claims = open_id.verify_authorization_code(code, &private_auth_state)?;
let claims = open_id.verify_authorization_code_simple(code, &private_auth_state)?;
Ok(to_value(&claims)?)
}