Re: [Bug 26123] New: Key ID definition should be aligned with JWK kid definition

Mike,

Can you explain why they should be aligned?

Named Key and kid have no relationship. Deserializing a JWK with a kid does
not yield a NamedKey, and serializing a NamedKey doesn't result in a JWK
with kid set.

Further, their use of id concepts are for separate purposes.

While I have little personal interest in NamedKey, this seems like an
unnecessary/unwarranted change.

If kid is going to be handled, you'd do it at the application layer - named
key or not - and it would not work with wrap/unwrap.

Note that CryptoKey (not NamedKey) are equally not meant to be 1:1
relationships with JWK. They are independent.

Received on Tuesday, 17 June 2014 22:28:23 UTC