-
Notifications
You must be signed in to change notification settings - Fork 31
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
Snapshot is only required to contain Targets versions. #92
Conversation
Also add a note about malicious mirrors being out of scope but discussed in the Mercury paper. Signed-off-by: Patrick Vacek <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @patrickvacek, LGTM
I recommend removing that bit and only mention the "Z number of bytes" 👍
The snapshot metadata is not required or recommended to contain the lengths of targets metadata. It just has versions. Signed-off-by: Patrick Vacek <[email protected]>
@trishankatdatadog Thanks for the suggestion. I've pushed a second commit that addresses the length issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
For more information, see: uptane/uptane-standard#90 uptane/uptane-standard#92 Signed-off-by: Patrick Vacek <[email protected]>
Uptane (and TUF) no longer require them. If they are there, we will use them, and if not, we skip them. This provides no real security benefit, but may help detect implementation faults. For more information, see: uptane/uptane-standard#90 uptane/uptane-standard#92 Signed-off-by: Patrick Vacek <[email protected]>
Uptane (and TUF) no longer require them. If they are there, we will use them, and if not, we skip them. This provides no real security benefit, but may help detect implementation faults. For more information, see: uptane/uptane-standard#90 uptane/uptane-standard#92 Signed-off-by: Patrick Vacek <[email protected]>
Uptane (and TUF) no longer require them. If they are there, we will use them, and if not, we skip them. This provides no real security benefit, but may help detect implementation faults. For more information, see: uptane/uptane-standard#90 uptane/uptane-standard#92 Signed-off-by: Patrick Vacek <[email protected]>
Also add a note about malicious mirrors being out of scope but discussed in the Mercury paper.
Closes #90.
However, section 5.4.4.6 (How to check Targets metadata) still mentions that we should "[d]ownload the number of bytes either specified in the Snapshot metadata file, or some Z number of bytes [...]" despite that the Snapshot metadata does not mention anything about length. Should we say length is optional in snapshots, or remove that bit and only mention the "Z number of bytes"?