proxmox/proxmox-auth-api
Stefan Sterz 8e566591d5 auth-api: move signing into the private key
this commit moves the current ticket signing code into the private key
implementation. the upside is that the caller does not need to deal
with openssl's `Signer` directly. it also simplifies and unifies the
code by using the same helper for verifying a signature and creating it.

also derive `Clone` on `PrivateKey` and `PublicKey`. as they are
essentially thin wrappers around `openssl::pkey::PKey<Private>` and
`openssl::pkey::PKey<Public>`, which can be cloned, deriving `Clone`
just makes them easier to use.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
2024-05-22 10:26:33 +02:00
..
debian auth-api: bump version to 0.3.5 2024-04-24 21:22:33 +02:00
examples auth-api: fixup examples 2023-07-10 09:06:35 +02:00
src auth-api: move signing into the private key 2024-05-22 10:26:33 +02:00
Cargo.toml auth-api: bump version to 0.3.5 2024-04-24 21:22:33 +02:00