diff --git a/proxmox-tfa/Cargo.toml b/proxmox-tfa/Cargo.toml index 7a3fe941..8eb7b69a 100644 --- a/proxmox-tfa/Cargo.toml +++ b/proxmox-tfa/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-tfa" -version = "1.2.0" +version = "1.3.0" authors = ["Proxmox Support Team "] edition = "2018" license = "AGPL-3" @@ -20,9 +20,9 @@ serde_plain = "1.0" serde_json = { version = "1.0", optional = true } libc = { version = "0.2", optional = true } -proxmox-schema = { path = "../proxmox-schema", features = [ "api-macro" ], optional = true } -proxmox-time = { path = "../proxmox-time", optional = true } -proxmox-uuid = { path = "../proxmox-uuid", optional = true } +proxmox-schema = { version = "1", path = "../proxmox-schema", features = [ "api-macro" ], optional = true } +proxmox-time = { version = "1", path = "../proxmox-time", optional = true } +proxmox-uuid = { version = "1", path = "../proxmox-uuid", optional = true } webauthn-rs = { version = "0.2.5", optional = true } [features] diff --git a/proxmox-tfa/debian/changelog b/proxmox-tfa/debian/changelog index 07f007ea..c5aa6e4b 100644 --- a/proxmox-tfa/debian/changelog +++ b/proxmox-tfa/debian/changelog @@ -1,3 +1,9 @@ +rust-proxmox-tfa (1.3.0-1) stable; urgency=medium + + * add tfa API entry points and optional api-type/schema generation + + -- Proxmox Support Team Wed, 17 Nov 2021 09:27:33 +0100 + rust-proxmox-tfa (1.2.0-1) stable; urgency=medium * make u2f::AuthChallenge Clone + Debug diff --git a/proxmox-tfa/debian/control b/proxmox-tfa/debian/control index 1149ec74..a40a7a09 100644 --- a/proxmox-tfa/debian/control +++ b/proxmox-tfa/debian/control @@ -34,21 +34,66 @@ Depends: librust-serde-1+default-dev, librust-serde-plain-1+default-dev Suggests: + librust-proxmox-tfa+api-dev (= ${binary:Version}), + librust-proxmox-tfa+api-types-dev (= ${binary:Version}), librust-proxmox-tfa+libc-dev (= ${binary:Version}), + librust-proxmox-tfa+proxmox-time-dev (= ${binary:Version}), + librust-proxmox-tfa+proxmox-uuid-dev (= ${binary:Version}), librust-proxmox-tfa+serde-json-dev (= ${binary:Version}), - librust-proxmox-tfa+u2f-dev (= ${binary:Version}) + librust-proxmox-tfa+u2f-dev (= ${binary:Version}), + librust-proxmox-tfa+webauthn-rs-dev (= ${binary:Version}) Provides: librust-proxmox-tfa+default-dev (= ${binary:Version}), librust-proxmox-tfa-1-dev (= ${binary:Version}), librust-proxmox-tfa-1+default-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2+default-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2.0-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2.0+default-dev (= ${binary:Version}) + librust-proxmox-tfa-1.3-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+default-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+default-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - Rust source code This package contains the source for the Rust proxmox-tfa crate, packaged by debcargo for use with cargo and dh-cargo. +Package: librust-proxmox-tfa+api-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-proxmox-tfa+u2f-dev (= ${binary:Version}), + librust-proxmox-time-1+default-dev, + librust-proxmox-uuid-1+default-dev, + librust-webauthn-rs-0.2+default-dev (>= 0.2.5-~~) +Provides: + librust-proxmox-tfa-1+api-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+api-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+api-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "api" + This metapackage enables feature "api" for the Rust proxmox-tfa crate, by + pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-tfa+api-types-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-proxmox-schema-1+api-macro-dev, + librust-proxmox-schema-1+default-dev +Provides: + librust-proxmox-tfa+proxmox-schema-dev (= ${binary:Version}), + librust-proxmox-tfa-1+api-types-dev (= ${binary:Version}), + librust-proxmox-tfa-1+proxmox-schema-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+api-types-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+proxmox-schema-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+api-types-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+proxmox-schema-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "api-types" and 1 more + This metapackage enables feature "api-types" for the Rust proxmox-tfa crate, by + pulling in any additional dependencies needed by that feature. + . + Additionally, this package also provides the "proxmox-schema" feature. + Package: librust-proxmox-tfa+libc-dev Architecture: any Multi-Arch: same @@ -58,12 +103,42 @@ Depends: librust-libc-0.2+default-dev Provides: librust-proxmox-tfa-1+libc-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2+libc-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2.0+libc-dev (= ${binary:Version}) + librust-proxmox-tfa-1.3+libc-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+libc-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "libc" This metapackage enables feature "libc" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. +Package: librust-proxmox-tfa+proxmox-time-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-proxmox-time-1+default-dev +Provides: + librust-proxmox-tfa-1+proxmox-time-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+proxmox-time-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+proxmox-time-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "proxmox-time" + This metapackage enables feature "proxmox-time" for the Rust proxmox-tfa crate, + by pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-tfa+proxmox-uuid-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-proxmox-uuid-1+default-dev +Provides: + librust-proxmox-tfa-1+proxmox-uuid-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+proxmox-uuid-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+proxmox-uuid-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "proxmox-uuid" + This metapackage enables feature "proxmox-uuid" for the Rust proxmox-tfa crate, + by pulling in any additional dependencies needed by that feature. + Package: librust-proxmox-tfa+serde-json-dev Architecture: any Multi-Arch: same @@ -73,8 +148,8 @@ Depends: librust-serde-json-1+default-dev Provides: librust-proxmox-tfa-1+serde-json-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2+serde-json-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2.0+serde-json-dev (= ${binary:Version}) + librust-proxmox-tfa-1.3+serde-json-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+serde-json-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "serde_json" This metapackage enables feature "serde_json" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. @@ -90,8 +165,23 @@ Depends: librust-serde-json-1+default-dev Provides: librust-proxmox-tfa-1+u2f-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2+u2f-dev (= ${binary:Version}), - librust-proxmox-tfa-1.2.0+u2f-dev (= ${binary:Version}) + librust-proxmox-tfa-1.3+u2f-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+u2f-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "u2f" This metapackage enables feature "u2f" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-tfa+webauthn-rs-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-webauthn-rs-0.2+default-dev (>= 0.2.5-~~) +Provides: + librust-proxmox-tfa-1+webauthn-rs-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3+webauthn-rs-dev (= ${binary:Version}), + librust-proxmox-tfa-1.3.0+webauthn-rs-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "webauthn-rs" + This metapackage enables feature "webauthn-rs" for the Rust proxmox-tfa crate, + by pulling in any additional dependencies needed by that feature.