]> git.proxmox.com Git - proxmox.git/commit
auth-api: move to Ed25519 signatures
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 6 Mar 2024 12:35:59 +0000 (13:35 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 May 2024 08:26:35 +0000 (10:26 +0200)
commit09d31a1a8bb706c7dc03c9e335880f406f0f3d32
treea25b9ab520254aa00ef9ddead58eb472ed79f2d0
parent8e566591d52030c80aded0e9db6d78d969dc53fb
auth-api: move to Ed25519 signatures

previously we used P-256 as the curve of our choice for ec signatures.
however, in the meantime Ed25519 has become a lot more wide-spread.
this simplifies our ec generation code significantly while keeping the
same security level. Ed25519 was also specifically designed and
reviewed to avoid implementation errors likely making it a more secure
choice

note that Ed25519 as a signature scheme always uses sha512, so signing
or verifying with a chosen digest is not supported.

as this mostly affects newly generated keys, this should not break any
existing setups.

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