Skip to content

Commit 185aaca

Browse files
authored
Merge pull request #76 from ietf-rats-wg/addressing-issue-68-gmandyam-streaming-remote-attestation
Integrated @gmandyam's comments/review on streaming remote attestation.
2 parents a1f674c + 57c8f4f commit 185aaca

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

draft-ietf-rats-reference-interaction-models.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ informative:
121121
name: Butler Lampson
122122
date: 2006
123123
I-D.ietf-rats-endorsements: rats-endorsements
124+
I-D.ietf-rats-network-device-subscription: rats-network-device-subscription
124125
...
125126

126127
--- abstract
@@ -619,7 +620,11 @@ This binding provides a proof of synchronization that MUST be included in all pr
619620
This model provides proof that Evidence generation happened after the Handle generation phase.
620621
The Verifier can always determine whether the received Evidence includes a fresh Handle, i.e., one corresponding to the current Epoch.
621622

622-
### Handle Lifecycle and Propagation Delays
623+
### Handle Lifecycle and Propagation Delays {#handle-lifecycle-and-propagation-delays}
624+
625+
The term "uni-directional" refers to individual conveyance channels: one from the Handle Distributor to the Attester, and one from the Attester to the Verifier.
626+
Together, they establish an attestation loop without requiring request/response exchanges.
627+
This model does not assume that Verifiers broadcast Handles, as such a setup would require Verifiers to take on the Handle Distributor role and undermine the separation of duties between these roles.
623628

624629
The lifecycle of a handle is a critical aspect of ensuring the freshness and validity of attestation Evidence.
625630
When a new handle is generated by the Handle Distributor, it effectively supersedes the previous handle.
@@ -643,8 +648,10 @@ To manage this complexity, it is essential to define a clear policy for handle v
643648
Implementing these measures will help mitigate the risks associated with the handle lifecycle, particularly in environments where propagation delays are significant.
644649
This careful management ensures that the integrity and trustworthiness of the attestation process are maintained.
645650

646-
While periodically pushing Evidence to the Verifier, the Attester only needs to generate and convey evidence generated from Claim values that have changed and new Event Log entries since the previous conveyance.
647-
These updates reflecting the differences are called "delta" in the sequence diagram above.
651+
While periodically pushing Evidence to the Verifier, the Attester only needs to generate and convey updates since the previous conveyance.
652+
These updates, referred to as "delta" in the sequence diagrams, are not limited to net changes of Claim values.
653+
They MUST include all state changes detected since the previous conveyance, even if values later revert to their prior state.
654+
For example, if an Attester goes through a sleep or hibernation cycle and a Claim value changes and then reverts, both transitions MUST be reported to the Verifier as soon as possible after resuming operation.
648655

649656
Effectively, the Uni-Directional model allows for a series of Evidence to be pushed to multiple Verifiers simultaneously.
650657
Methods to detect excessive time drift that would mandate a fresh Handle to be received by the Handle Distributor as well as timing of Handle distribution are out-of-scope of this document.
@@ -738,6 +745,9 @@ Handles provided by a specific subscribing Verifier MUST be used in Evidence gen
738745
The streaming model without a Broker uses the same information elements as the Challenge/Response and the Uni-Directional model.
739746
Methods to detect excessive time drift that would render Handles stale and mandate a fresh Handles to be conveyed via another subscribe operation are out-of-scope of this document.
740747

748+
If Evidence or delta Evidence repeatedly fails to verify, a Verifier may terminate the subscription.
749+
The detailed mechanisms for unsubscribe and re-subscribe are protocol-specific and out of scope for this document; for example, subscription lifecycle management is defined in {{-rats-network-device-subscription}}.
750+
741751
### Streaming Remote Attestation with a Broker {#streaming-with-broker}
742752

743753
This model includes a Broker to facilitate the distribution of messages between RATS roles, such as Attesters and Verifiers.
@@ -881,6 +891,8 @@ Exactly as in the Challenge/Response and Uni-Directional interaction models, the
881891
In the Publish-Subscribe model above, the Attester publishes Evidence to the topic "AttEv" (= Attestation Evidence) on the PubSub server, to which a Verifier subscribed before.
882892
The PubSub server notifies Verifiers, accordingly, by forwarding the attestation Evidence.
883893
Although the above diagram depicts only full attestation Evidence and Event Logs, later attestations may use "deltas' for Evidence and Event Logs.
894+
The definition of delta Evidence is provided in {{handle-lifecycle-and-propagation-delays}}.
895+
884896
Verifiers appraise the Evidence and publish the Attestation Result to topic "AttRes" (= Attestation Result) on the PubSub server.
885897

886898
#### Attestation Result Generation

0 commit comments

Comments
 (0)