-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added sections for key verification triples Added sections for key verification triples including updates to external representations, transformation section and processing section. Issue #330 also describes issue related to key type specific verification and how to represent it in internal representation. * Update attest-key-triple-record.cddl Update external representations to include authority and mkey as optional but useful condition information. * Update identity-triple-record.cddl Updated to include optional but useful condition information. * Update draft-ietf-rats-corim.md Co-authored-by: Dionna Amalie Glaze <[email protected]> * Update draft-ietf-rats-corim.md Co-authored-by: Dionna Amalie Glaze <[email protected]> * Update draft-ietf-rats-corim.md revert plural to singular voice * Update draft-ietf-rats-corim.md reverted text * change the order of fields in the record Avoids conflicts with exsiting fields. * Update draft-ietf-rats-corim.md Co-authored-by: Dionna Amalie Glaze <[email protected]> * Update draft-ietf-rats-corim.md Co-authored-by: Dionna Amalie Glaze <[email protected]> * Apply suggestions from code review Co-authored-by: Dionna Amalie Glaze <[email protected]> * Update cddl/attest-key-triple-record.cddl Co-authored-by: Henk Birkholz <[email protected]> * Added conditions map Added map containing mkey and authorized-by conditions. * Update comid-5.diag added examples for identity and attest-key triples that exercises the optional conditions map * Update spec to reflect cddl changes Added option map to attest-key and identity triples to include conditions for mkey and authorized-by * Update comid-5.diag Added section for reference-values triple that identifies keys as being measurements. A subsequent identity-triple example matches it so that key verify process will be applied. * Apply suggestions from code review * Create intrep-key.cddl add file to define typed keys * Create intrep-start.cddl added start file for intrep * Update corim-frags.mk added intrep-start.cddl and intrep-key.cddl to corim-frags.mk * Update corim-frags.mk Added frags to enable intrep autogen to build * Update intrep-ect.cddl Modified ECT to use code points as the alternative wouldn't build * Update intrep-key.cddl Created extension to measurement-values-map to support attest and identity key types. * Update intrep-start.cddl created a start cddl file to focus testing on ECT * ECT examples created Created examples to test ECT structure * Update Makefile Added target for internal representation examples * Update intrep-3.diag changed cmtype to be endorsements * Update intrep-key.cddl Added 's' to intrep-key to indicate it is a list of keys. * Updated key verification sections ...to reflect use of internal representation of attest-keys and identity-keys. * Update Makefile Fixing a tooling error * Update Gemfile Changed to use latest cddl version * Update draft-ietf-rats-corim.md Co-authored-by: Dionna Amalie Glaze <[email protected]> * Update draft-ietf-rats-corim.md Co-authored-by: Thomas Fossati <[email protected]> * Update draft-ietf-rats-corim.md restructured identity and attest key triples to accommodate Dionna's feedback and to improve readability. Updated Phase 5 wording to be less prescriptive and more conceptual. * revert intrep-ect.cddl Signed-off-by: Thomas Fossati <[email protected]> * intrep-key changes to follow convention Changed intrep-key to follow internal representation convention that uses text keys instead of numeric. --------- Signed-off-by: Thomas Fossati <[email protected]> Co-authored-by: Dionna Amalie Glaze <[email protected]> Co-authored-by: Yogesh Deshpande <[email protected]> Co-authored-by: Henk Birkholz <[email protected]> Co-authored-by: Thomas Fossati <[email protected]>
- Loading branch information
1 parent
50960a3
commit 9895d55
Showing
12 changed files
with
342 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'json_pure' | ||
gem 'cddl', '>=0.12.5' | ||
gem 'cddl', '>=0.12.6' | ||
gem 'cbor-diag', '>=0.8.7' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
attest-key-triple-record = [ | ||
environment-map | ||
[ + $crypto-key-type-choice ] | ||
environment: environment-map | ||
key-list: [ + $crypto-key-type-choice ] | ||
? conditions: non-empty< { | ||
? &(mkey: 0) => $measured-element-type-choice, | ||
? &(authorized-by: 1) => [ + $crypto-key-type-choice ] | ||
}> | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/ ECT / { | ||
"cmtype" : 2 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/ ECT / { | ||
"environment" : { | ||
/ class / 0 : { | ||
/ class-id / 0 : | ||
/ tagged-uuid-type / 37( h'67b28b6c34cc40a19117ab5b05911e37' ) | ||
} | ||
}, | ||
"cmtype" : 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/ ECT / { | ||
"environment" : { | ||
/ class / 0 : { | ||
/ class-id / 0 : | ||
/ tagged-uuid-type / 37( h'67b28b6c34cc40a19117ab5b05911e37' ) | ||
} | ||
}, | ||
"element-list" : [ | ||
/ element-map / { | ||
"element-claims" : { | ||
/ ver / 0 : { | ||
/ version / 0 : "1.0.0" | ||
}, | ||
/ digests / 2 : [ [ | ||
/ hash-alg-id / 1, / sha256 / | ||
/ hash-value / h'44aa336af4cb14a879432e53dd6571c7fa9bccafb75f488259262d6ea3a4d91b' | ||
] ], | ||
/ intrep-key / 65534 : [ | ||
/ typed-crypto-key / { | ||
"key": 556("base64_cert_path_X"), | ||
"key-type": 1 | ||
}, | ||
/ typed-crypto-key / { | ||
"key": 554("base64_key_Y"), | ||
"key-type": 2 | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"cmtype" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
identity-triple-record = [ | ||
environment-map | ||
[ + $crypto-key-type-choice ] | ||
] | ||
environment: environment-map | ||
key-list: [ + $crypto-key-type-choice ] | ||
? conditions: non-empty<{ | ||
? &(mkey: 0) => $measured-element-type-choice, | ||
? &(authorized-by: 1) => [ + $crypto-key-type-choice ] | ||
}> | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$$measurement-values-map-extension //= ( | ||
&(intrep-keys: 65534) => [ + typed-crypto-key ] | ||
) | ||
|
||
typed-crypto-key = { | ||
key: $crypto-key-type-choice | ||
? key-type: uint .bits key-type | ||
} | ||
|
||
key-type = &( | ||
attest-key: 0 | ||
identity-key: 1 | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
start = ECT |
Oops, something went wrong.