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

Split specification.md into three separate files. #23

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

MarkLodato
Copy link
Collaborator

Previously, the specification did not cleanly separate the (required)
protocol from the (optional) encoding, and it also contained a lot of
supplemental background material.

Now the protocol, encoding (envelope), and background are three separate
files. This should hopefully make the spec easier to use.

Previously, the specification did not cleanly separate the (required)
protocol from the (optional) encoding, and it also contained a lot of
supplemental background material.

Now the protocol, encoding (envelope), and background are three separate
files. This should hopefully make the spec easier to use.
@adityasaky adityasaky self-requested a review March 18, 2021 16:35
Co-authored-by: Aditya Sirish <[email protected]>
Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up, @MarkLodato. Except for one typo this looks good to me. Feel free to address any of the other comments as you see fit.

Specifications for:

* [Protocol](protocol.md) (*required*)
* [Data structure](envelope.md), a.k.a. "Envelope" (*recommended*)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 for "Envelope" instead of "Wrapper". The latter always had a different connotation for me.

protocol.md Outdated
To verify:

- Receive and decode SERIALIZED_BODY, PAYLOAD_TYPE, SIGNATURE, and KEYID.
Reject if decoding fails.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: Maybe also point to the envelope document here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Please check the wording.

- Fix typos.
- Add TODO to update "current" to "legacy" whenever TUF/in-toto switch
  to this.
- Add "Why not existing TUF/in-toto" to README.
- Clean up references to the JSON envelope in protocol.md.
Copy link
Member

@lukpueh lukpueh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick turn-around!

@adityasaky adityasaky merged commit d7a5afd into secure-systems-lab:master Mar 23, 2021
@MarkLodato MarkLodato deleted the split branch March 23, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants