auth-api: bump to 0.4.8-1

While *technically* breaking as it changes the method signature for
the `create_ticket` call to use a struct for its parameters, this is
only (supposed to be) used via its `CREATE_TICKET_API_METHOD` handler
to be passed to a router. Direct use of this does not make sense.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2025-03-04 16:01:24 +01:00
parent e73bc1509d
commit b5e238613e
3 changed files with 28 additions and 10 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "proxmox-auth-api"
description = "Tickets, API and Realm handling"
version = "0.4.7"
version = "0.4.8"
authors.workspace = true
edition.workspace = true

View File

@ -1,3 +1,19 @@
rust-proxmox-auth-api (0.4.8-1) bookworm; urgency=medium
* add `AuthContext::prefixed_auth_cookie_name` to prepare for HttpOnly cookies
* check for new prefixed cookies when extracting auth data
* introduce `CreateTicket` and `CreateTicketResponse` API types and use them
in the create_ticket API
* add create_ticket endpoint variant for HttpOnly tickets
* add logout method (as browser-side client code cannot access and therefore
not delete HttpOnly cookies)
-- Proxmox Support Team <support@proxmox.com> Tue, 04 Mar 2025 16:00:13 +0100
rust-proxmox-auth-api (0.4.7-1) bookworm; urgency=medium
* rebuild with proxmox-schema 4.0

View File

@ -33,8 +33,8 @@ Provides:
librust-proxmox-auth-api-0+default-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+default-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+default-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.8+default-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - Rust source code
Source code for Debianized Rust crate "proxmox-auth-api"
@ -47,15 +47,17 @@ Depends:
librust-proxmox-auth-api+api-types-dev (= ${binary:Version}),
librust-proxmox-auth-api+ticket-dev (= ${binary:Version}),
librust-http-0.2+default-dev,
librust-proxmox-rest-server-0.8+default-dev,
librust-proxmox-router-3+default-dev,
librust-hyper-0.14+default-dev (>= 0.14.5-~~),
librust-proxmox-rest-server-0.8+default-dev (>= 0.8.7-~~),
librust-proxmox-router-3+default-dev (>= 3.1.0-~~),
librust-proxmox-tfa-5+api-dev,
librust-proxmox-tfa-5+default-dev,
librust-proxmox-time-2+default-dev,
librust-serde-json-1+default-dev
Provides:
librust-proxmox-auth-api-0+api-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+api-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+api-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8+api-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - feature "api"
This metapackage enables feature "api" for the Rust proxmox-auth-api crate, by
pulling in any additional dependencies needed by that feature.
@ -77,7 +79,7 @@ Depends:
Provides:
librust-proxmox-auth-api-0+api-types-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+api-types-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+api-types-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8+api-types-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - feature "api-types"
This metapackage enables feature "api-types" for the Rust proxmox-auth-api
crate, by pulling in any additional dependencies needed by that feature.
@ -95,7 +97,7 @@ Depends:
Provides:
librust-proxmox-auth-api-0+pam-authenticator-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+pam-authenticator-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+pam-authenticator-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8+pam-authenticator-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - feature "pam-authenticator"
This metapackage enables feature "pam-authenticator" for the Rust proxmox-auth-
api crate, by pulling in any additional dependencies needed by that feature.
@ -115,7 +117,7 @@ Depends:
Provides:
librust-proxmox-auth-api-0+password-authenticator-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+password-authenticator-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+password-authenticator-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8+password-authenticator-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - feature "password-authenticator"
This metapackage enables feature "password-authenticator" for the Rust proxmox-
auth-api crate, by pulling in any additional dependencies needed by that
@ -133,7 +135,7 @@ Depends:
Provides:
librust-proxmox-auth-api-0+ticket-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4+ticket-dev (= ${binary:Version}),
librust-proxmox-auth-api-0.4.7+ticket-dev (= ${binary:Version})
librust-proxmox-auth-api-0.4.8+ticket-dev (= ${binary:Version})
Description: Tickets, API and Realm handling - feature "ticket"
This metapackage enables feature "ticket" for the Rust proxmox-auth-api crate,
by pulling in any additional dependencies needed by that feature.