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

allow key thumbprints as authorized-by #53

Merged
merged 4 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ report.xml
*.swp
.tags
/.targets.mk
*.txt
draft-*.txt
*.upload
/versioned/
/.vscode/
!cddl/cbor-tags.txt
*.cbor
*.pretty
cddl/concise-swid-tag.cddl
cddl/*-autogen.cddl
1 change: 1 addition & 0 deletions cddl/cbor-tags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ tagged-min-svn = #6.553(min-svn)
tagged-pkix-base64-key-type = #6.554(tstr)
tagged-pkix-base64-cert-type = #6.555(tstr)
tagged-pkix-base64-cert-path-type = #6.556(tstr)
tagged-thumbprint-type = #6.557(digest)
$raw-value-type-choice /= #6.560(bytes)
2 changes: 2 additions & 0 deletions cddl/crypto-key-type-choice.cddl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
$crypto-key-type-choice /= tagged-pkix-base64-key-type
$crypto-key-type-choice /= tagged-pkix-base64-cert-type
$crypto-key-type-choice /= tagged-pkix-base64-cert-path-type
$crypto-key-type-choice /= tagged-thumbprint-type

tagged-pkix-base64-key-type = #6.554(tstr)
tagged-pkix-base64-cert-type = #6.555(tstr)
tagged-pkix-base64-cert-path-type = #6.556(tstr)
tagged-thumbprint-type = #6.557(hash-entry)
thomas-fossati marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions draft-ietf-rats-corim.md
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,11 @@ A cryptographic key can be one of the following formats:
certificates MUST be concatenated in order so that each directly certifies
the one preceding.

A fourth format is used to represent thumbprints of raw keys or certificated
keys:

* `tagged-thumbprint-type`: hash of a certificate or raw public key.

~~~ cddl
{:include cddl/crypto-key-type-choice.cddl}
~~~
Expand Down