Skip to content

Commit

Permalink
Merge pull request #12 from mprorock/patch-1
Browse files Browse the repository at this point in the history
Review on draft-birkholz-cose-tsa-tst-header-parameter.md
  • Loading branch information
henkbirkholz authored Aug 27, 2024
2 parents e48f877 + 2d50659 commit ef10261
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions draft-birkholz-cose-tsa-tst-header-parameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ entity:

--- abstract

RFC 3161 provides a method for timestamping a message digest to prove that the message was created before a given time.
This document defines a CBOR Signing And Encrypted (COSE) header parameter that can be used to combine COSE message structures used for signing (i.e., COSE_Sign and COSE_Sign1) with existing RFC 3161-based timestamping infrastructure.
This document defines a CBOR Signing And Encrypted (COSE) header parameter for incorporating RFC 3161-based timestamping into COSE message structures (COSE_Sign and COSE_Sign1). This enables the use of established RFC 3161 timestamping infrastructure to prove the creation time of a message.

--- middle

# Introduction

RFC 3161 {{-TSA}} provides a method to timestamp a message digest to prove that it was created before a given time.

This document defines a new COSE {{-COSE}} header parameter that carries the TimestampToken (TST) output of RFC 3161, thus allowing existing and widely deployed trust infrastructure to be used with COSE structures used for signing (COSE_Sign and COSE_Sign1).
This document defines a new CBOR Object Signing and Encryption (COSE) {{-COSE}} header parameter that carries the TimestampToken (TST) output of RFC 3161, thus allowing existing and widely deployed trust infrastructure to be used with COSE structures used for signing (COSE_Sign and COSE_Sign1).

## Requirements Notation

Expand All @@ -67,6 +66,8 @@ There are two different modes of composing COSE protection and timestamping.

{{fig-timestamp-then-cose}} shows the case where a datum is first digested and submitted to a TSA to be timestamped.

This mode is utilized when the signature should also be performed over the timestamp to provide an immutable timestamp.

A signed COSE message is then built as follows:

* The obtained timestamp token is added to the protected headers,
Expand All @@ -93,6 +94,8 @@ The message imprint sent to the TSA ({{Section 2.4 of -TSA}}) MUST be the hash o
{{fig-cose-then-timestamp}} shows the case where the signature(s) field of the signed COSE object is digested and submitted to a TSA to be timestamped.
The obtained timestamp token is then added back as an unprotected header into the same COSE object.

This mode is utilized when a record of the timing of the signature operation is desired.

~~~ aasvg
.----------------------. .-----.
| COSE_Sign/COSE_Sign1 |<--------+ TST |
Expand Down

0 comments on commit ef10261

Please sign in to comment.