Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe case where env-map has class & instance #175

Closed
wants to merge 37 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ec1ba6a
Describe case where env-map has class & instance
andrew-draper Dec 6, 2023
7d58e37
Respond to comments
andrew-draper Dec 20, 2023
3e08bc5
Textual changes
andrew-draper Dec 20, 2023
a03572b
Rewrite description of triple processing to match recent discussions
andrew-draper Jan 8, 2024
e6ce2f7
Fix build failure and some typos
andrew-draper Jan 9, 2024
69501b8
Update based on review comments
andrew-draper Jan 11, 2024
89f865a
Fix lint
andrew-draper Jan 11, 2024
6c759f5
Fold in review comments
andrew-draper Jan 16, 2024
f1824f7
Break apart multi-sentance lines
andrew-draper Jan 16, 2024
a280a2a
the MEC part of
henkbirkholz Dec 1, 2023
993dfa0
q
henkbirkholz Dec 1, 2023
fb8dec4
added condition-triple-record.cddl
henkbirkholz Dec 1, 2023
cc76d6f
Update cddl/triples-map.cddl
nedmsmith Dec 5, 2023
109759f
fixed some lint
henkbirkholz Dec 6, 2023
47c9560
addressing https://github.com/ietf-rats-wg/draft-ietf-rats-corim/pull…
henkbirkholz Dec 6, 2023
b20e44f
added condition-triple-record.cddl to frags
henkbirkholz Dec 6, 2023
69ade4e
tweaks
thomas-fossati Dec 6, 2023
e82f289
transplant
thomas-fossati Dec 6, 2023
d378a0a
Andy's fix
thomas-fossati Dec 6, 2023
7ee6a11
Add naming consistency
yogeshbdeshpande Dec 6, 2023
e256b43
Add reference to the MEC triple
yogeshbdeshpande Dec 6, 2023
7ef0cac
Update cddl/triples-map.cddl
henkbirkholz Dec 6, 2023
dadd587
Update cddl/mec-endorsement-triple-record.cddl
henkbirkholz Dec 6, 2023
4a82296
align naming
thomas-fossati Dec 6, 2023
cf968f6
Update draft-ietf-rats-corim.md
yogeshbdeshpande Dec 6, 2023
f29bb93
issue tracking
thomas-fossati Dec 6, 2023
c1e9fb0
changed cryptokeys code point to 13
nedmsmith Dec 18, 2023
11e887c
extend the use of tagged-bytes to identifiers
thomas-fossati Dec 20, 2023
97438e1
add test vector
thomas-fossati Dec 20, 2023
9de1032
Andy's comment about uniqueness
thomas-fossati Dec 20, 2023
66c0dd6
do not use the passive form
thomas-fossati Dec 20, 2023
5a4d1fa
plural
thomas-fossati Dec 20, 2023
c688011
scoped uniqueness
thomas-fossati Dec 20, 2023
e88134b
Ned's editorial suggestion
thomas-fossati Jan 3, 2024
c5456de
add references to the tagged-bytes section
thomas-fossati Jan 8, 2024
17a1b11
Fix text describing cryptokeys id to match CDDL
andrew-draper Jan 9, 2024
17c9723
disable cddl-latest as it breaks on the comid-flags example
thomas-fossati Jan 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions draft-ietf-rats-corim.md
Original file line number Diff line number Diff line change
Expand Up @@ -1656,14 +1656,17 @@ A Reference Value consists of an `environment-map` plus a `measurement-map`. In
Reference Values are represented more compactly by letting one `environment-map`
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
apply to multiple `measurement-map`s.

The Verifier first looks for entries in the Accepted Claims Set with the same
`environment-map` as the Reference Value. These are the candidate claims. If there are
The Verifier first looks for entries in the Accepted Claims Set with an
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
`environment-map` which is compatible with the Reference Value.
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
These are the candidate claims. If there are
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
no candidate claims then the Reference Value does not match.

A Verifier SHALL compare two `environment-map`s using a binary comparison of the CBOR
encoded objects.
An ACS entry has a compatible `environment-map` if each field which is present
in the Reference Value environment-map (for example `class`, `instance` etc.)
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
is also present in the ACS entry, and the CBOR encoded field values in the Reference Value and ACS entry are binary identical.
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
If a field is not present in the Reference value then the presence of, and value of, the corresponding ACS entry field does not affect whether the `environment-map`s are compatible.
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved

A Verifier SHOULD convert `environment-map` into a form which meets CBOR Core
A Verifier SHOULD convert `environment-map` fields into a form which meets CBOR Core
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
Deterministic Encoding Requirements {{-cbor}} before performing the binary comparison.

If the Reference Value contains an `authorized-by` field then the Verifier
andrew-draper marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
Loading