On Sat, Nov 09, 2024 at 08:48:22AM +0000, Orie Steele wrote:
> AKP seems fine to me, for example:
> 
> const jwk = {
>     kty: "AKP",
>     kid: "01",
>     alg: "X-Wing",
>     pub: "4iNrNajCSz...tmrrIzQSQQO9lNA", // both public keys
>     priv: "f5wrpOiP...rPpm7yY", // single seed
>     key_ops: ["deriveBits"],
> };

This does not work, because with KEMs (e.g., X-Wing) one always gets at
least two algorithms, which is something AKP can not deal with.

E.g., if one natively adds X-Wing, one gets one algorithm for X-Wing
as Direct Key Agreement and at least one algorithm for X-Wing combined
with key wrapping as Key Agreement with Key Wrapping.

Or if adding X-Wing via HPKE, there are multiple possible AEADs, and
each becomes an algorithm.




-Ilari

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

Reply via email to