8e566591d5
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> |
||
---|---|---|
.. | ||
debian | ||
examples | ||
src | ||
Cargo.toml |