On Fri, Jul 08, 2022 at 01:46:30PM -0500, Orie Steele wrote:
> Actually I forgot about this:
> 
> https://www.rfc-editor.org/rfc/rfc8037#section-2
> 
>       The parameter "crv" MUST be present and contain the subtype of the
>       key (from the "JSON Web Elliptic Curve" registry).
> 
> So I revise my Options to account for your new kty name:
> 
> Option 1: { kty: AKP, pset: SPHINCS+-128s }
> Option 1: { kty: AKP, pset: CRYDI3 }

That is isomorphic to OKP (assuming sensible key encoding). What breaks
the isomorphism for AKP I proposed is subtyping on alg (more concretely:
alg -> crv is blocked by special meaning of alg).

> Option 2: { kty: CRYDI, pset: CRYDI3 }
> Option 2: { kty: SPHINCS+, pset: 128s }
 
That is isomorphic to OKP (nothing blocks crv <-> pset).



-Ilari

_______________________________________________
COSE mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/cose

Reply via email to