mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
We wrongly use the object identifier of ML-KEM for the `alg` field of exported ML-KEM key in JWK format. We should use the values specified in Section 8 of [draft-ietf-jose-pqc-kem-01] (Figure 1) instead. [draft-ietf-jose-pqc-kem-01] (Figure 1): https://www.ietf.org/archive/id/draft-ietf-jose-pqc-kem-01.html#direct-table Testing: WPT currently does not have relevant tests for ML-KEM keys in JWK format since The JWK format for ML-KEM is not standardized yet. We strive to remain compliant with the current specification. --------- Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>