google / google/go-attestation

attest: Add signal that Data section in an event corresponds to the event digest

Open
#91 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
444
Forks
109
PR merge metrics
No merged PRs in 30d

Description

Use case:
- Sometimes interesting information is put in the Data section of an event
- In these cases the event is such that the digest extended matches the digest of the Data section
- In this case, the consumer of the Event would like to use the contents of the data section _if and only if_ the data section matches the digest of the event

Proposal:
- Add a method/field that would indicate whether the data field of an `Event` is verified by the digest or not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.