]> git.proxmox.com Git - proxmox-backup.git/commit
auth: move to auth-api's private and public keys when loading keys
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 6 Mar 2024 12:36:08 +0000 (13:36 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 May 2024 14:04:19 +0000 (16:04 +0200)
commit048a81cc558e07d9899e2b61974c7334b3aa89b2
treed6bd22d47a6779ce9ae7f94f0ff8dff5ff945b6e
parent8e77260256ac83d8800511e7bb210b1266442ec7
auth: move to auth-api's private and public keys when loading keys

this commit moves away from using openssl's `PKey` and uses the
wrappers from proxmox-auth-api. this allows us to handle keys in a
more flexible way and enables as to move to ec based crypto for the
authkey in the future.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
src/auth.rs
src/auth_helpers.rs