ietf-rats / ietf-corim-cddl

This repository is abandoned. The adopted I-D can be found at:
https://github.com/ietf-rats-wg/draft-ietf-rats-corim/
2 stars 0 forks source link

add element-name to identity-claim-map #31

Closed nedmsmith closed 3 years ago

nedmsmith commented 3 years ago

We decided to add 'element-name-map' to the 'identity-claim-map' but this change needs a PR.

numeric code point: 0 text code point: comid.element-name type: element-name-map optional: T Extension point: '$$identity-claim-map-extension' Description: element-name MAY match the element-name or equivalent fields of a module name in another CoMID tag or the element-name of a claim in another CoMID tag.

thomas-fossati commented 3 years ago

My memory is terrible, what is the use case for this?

nedmsmith commented 3 years ago

it allows matching ref value claims or endorsed claims with identity claims using element-name.

thomas-fossati commented 3 years ago

Note that, in the identity claim map, code point 0 is already allocated to comid.device-id. We can mint a new comid.identity-element-name (similar to what we have in the instance claims map) and call it 2.

nedmsmith commented 3 years ago

I'm not following 'comid.identity-element-name' vs. 'comid.element-name' code point collision since we reuse 'comid.element-name' in the other claims maps. I put added element-name-map to code point = 0 to align with the other structures, but making it 2 instead of 0 isn't a big deal.