Skip to content

Commit

Permalink
Merge pull request #53 from ietf-rats-wg/authorized-by+thumbprint
Browse files Browse the repository at this point in the history
allow key thumbprints as authorized-by
  • Loading branch information
thomas-fossati committed Feb 28, 2023
2 parents 51e3332 + 56c0339 commit 5d27892
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
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(digest)
5 changes: 5 additions & 0 deletions draft-ietf-rats-corim.md
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,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

0 comments on commit 5d27892

Please sign in to comment.