rust-sequoia-sq/rust-sequoia-sq-mldsa-alias.patch
Jakub Jelen 26415f21c5 Introduce alias for ML-DSA keys during key generation
The pre-release version we pulled used the short names without
the edwards curve, but final PQC code is using the full name.

For backward compatibility, introduce the old ones as aliases.

Related: RHEL-172374
2026-05-22 11:23:31 +02:00

15 lines
313 B
Diff

diff --git a/src/cli/key.rs b/src/cli/key.rs
index f238bf4..b8896a2 100644
--- a/src/cli/key.rs
+++ b/src/cli/key.rs
@@ -105,7 +105,9 @@ pub enum CipherSuite {
Rsa4k,
#[default]
Cv25519,
+ #[value(alias("mldsa65"))]
MLDSA65_Ed25519,
+ #[value(alias("mldsa87"))]
MLDSA87_Ed448,
}