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

Candidate TAP for POUFs #106

Merged
merged 41 commits into from
Sep 13, 2019

Conversation

mnm678
Copy link
Contributor

@mnm678 mnm678 commented Nov 9, 2018

This TAP outlines the creation of a wireline format for TUF. This format will allow the creation of 'POUFs' that specify a wireline format and can be used to allow interoperability.

POUFs are not required for implementing TUF.

tap11.md Show resolved Hide resolved
tap11.md Show resolved Hide resolved
tap11.md Show resolved Hide resolved
@trishankatdatadog
Copy link
Member

TAP makes sense to me!

@mnm678
Copy link
Contributor Author

mnm678 commented Nov 14, 2018

@JustinCappos I added detail about creation, storage and security audits.

@JustinCappos JustinCappos mentioned this pull request Nov 20, 2018
@SantiagoTorres
Copy link
Member

I like where this is going, but I'm curious to know a little bit more about the specifics:

  • Where is the .md for the canonical json wireline format?
  • The existing security audit for TUF's reference impl covers this or not?

It'd be wise to mention that profile interoperability is not what a desireable goal.

On the topic of storing and creating profiles. I'd think it'd be useful to mention what the process is to put it here (i.e., do we want to specify an acceptance process?). I know there's a security review process by the community, so I assume it'd be useful to mention how to report security issues with a profile. Further, we may want to consider if there's a "under review" or "proposal" state for profiles, so as to note them as candidates for a specific usage.

I really would like to make profiles rare we should strive to avoid cases in which we have many profiles that are slightly different (e.g., ASN1-AUTOMOTIVE and ASN1-IOT profiles, that only vary in maximum string length or so).

Thanks for taking a first stab at this, @mnm678 !

@mnm678
Copy link
Contributor Author

mnm678 commented Nov 26, 2018

@SantiagoTorres I added some clarification and put the canonical json into an example profile.

Copy link
Member

@SantiagoTorres SantiagoTorres left a comment

Choose a reason for hiding this comment

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

This LGTM, module very small nits.

Profiles/profile1.md Outdated Show resolved Hide resolved
Profiles/profile2.md Outdated Show resolved Hide resolved
Profiles/profile2.md Outdated Show resolved Hide resolved
@JustinCappos
Copy link
Member

JustinCappos commented Dec 3, 2018

Does the profile that is used get mentioned somewhere in the metadata? Do implementations signal this? Is it part of saying you implement TUF 1.0.2p2? How do versions of profiles evolve with versions of the spec? Is there a separate profile for TUF 2.0.0 since the format has changed from 1.0.0?

@mnm678
Copy link
Contributor Author

mnm678 commented Dec 4, 2018

@JustinCappos I added a requirement that the TUF version be included in the profile and a proposed way to update them for new spec versions. I also state that the profile should be listed in the documentation of an implementation, but including it in root metadata might be a good option as well.

Profiles/profile1.md Outdated Show resolved Hide resolved
Profiles/profile1.md Outdated Show resolved Hide resolved
tap11.md Outdated Show resolved Hide resolved
tap11.md Outdated Show resolved Hide resolved
tap11.md Outdated Show resolved Hide resolved
Copy link
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

very minor changes requested. Let's post publicly after these are resolved and get the broader community to comment, etc.

Profiles/profile2.md Outdated Show resolved Hide resolved
}
}

### mirrors.json
Copy link
Member

Choose a reason for hiding this comment

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

I think this is obsolete. @awwad , can you confirm?

tap11.md Outdated Show resolved Hide resolved
tap11.md Outdated Show resolved Hide resolved
@trishankatdatadog
Copy link
Member

trishankatdatadog commented Feb 6, 2019 via email

@mnm678 mnm678 changed the title Candidate TAP for Profiles Candidate TAP for POUFs Aug 19, 2019
Copy link
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

We need to discuss a few issues as are listed here.

candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
@mnm678
Copy link
Contributor Author

mnm678 commented Aug 28, 2019

@JustinCappos I edited to address your review.

@mnm678
Copy link
Contributor Author

mnm678 commented Aug 29, 2019

@JustinCappos I added line breaks and addressed your comments.

candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
Copy link
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

please fix then ask for feedback

candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
candidate-wireline-format.md Outdated Show resolved Hide resolved
@JustinCappos
Copy link
Member

This supersedes #74.

@SantiagoTorres
Copy link
Member

Thanks @mnm678 !

@SantiagoTorres SantiagoTorres merged commit 418239d into theupdateframework:master Sep 13, 2019
@mnm678 mnm678 deleted the wireline-format branch March 1, 2023 15:14
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.

None yet

6 participants