You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should we check for timestamp role expiration when validating a new snapshot? #113
It's possible there could be substantial amount of time between when updating the timestamp metadata, and updating a snapshot. So it's possible that at 5.2.3 the new timestamp metadata is unexpired, but it since expired by the time we start validating the new snapshot at 5.3. Does this matter? I ask because this is what rust-tuf does (see https://github.com/heartsucker/rust-tuf/blob/develop/src/tuf.rs#L223, look for all the calls to safe_$ROLE_ref()), and I'm trying to determine if this matters.
A discussion in Slack about this issue suggested that we could have a fixed notion of "now" for the duration of the update workflow, and that we should ensure that the delta between the current time and the fixed "now" should not be longer than the update period of timestamp.
Activity
joshuagl commentedon Sep 17, 2020
A discussion in Slack about this issue suggested that we could have a fixed notion of "now" for the duration of the update workflow, and that we should ensure that the delta between the current time and the fixed "now" should not be longer than the update period of timestamp.
rdimitrov commentedon Feb 11, 2022
@joshuagl - I think we can close this one considering #118 has been merged already 👍
joshuagl commentedon May 25, 2022
Yes, thanks Radoslav. This was resolved in #118.