On Tue, Dec 02, 2025 at 07:46:58AM +0100, Filip Skokan wrote:
> Hello Tiru,
> 
> > PQ/T HPKE for JWE will be updated to use the "OKP" key type, consistent
> with existing HPKE usage in JWE.
> 
> Can you please elaborate? Existing OKP/EC registrations cannot be used to
> represent the draft-ietf-hpke-pq-03
> <https://www.ietf.org/archive/id/draft-ietf-hpke-pq-03.html> keys, not
> their public composite component, nor the private seed component. No
> P-256/P-384/X25519 JWK parser could deal with those values if they were
> OKP. AKP is perfectly fitting for this. OKP is not.

Firstly, OKP not just can represent keys like that, it was _designed_
to do that. 

The JWE implementation I am working on is capable of dealing with such
OKP JWK keys, and this is done without any extra code.

And secondly, AKP is not fitting for this. Earlier I thought it AKP
would fit this purpose, but then I tried implementing it... The
encryption side is fine, the decryption side is not.




-Ilari

_______________________________________________
jose mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to