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 }}
Interposition does not fetch Root if top-level metadata has expired or had its keys revoked #158
As requested, updater.refresh() may now unsafely fetch (i.e., unknown file size and hash) Root metadata if valid top-level metadata cannot be downloaded successfully (e.g., top-level keys may have been revoked). The repository must also sign the new Root file (at least until all clients have updated) with any revoked keys so that clients may successfully update. After unsafely updating Root, the top-level metadata is updated again as normal (and only once to avoid an infinite loop). By default, refresh() unsafely updates Root if only invalid top-level metadata can be downloaded, although this behavior may be overridden by the caller if they wish. Changed default behavior: refresh(self, unsafely_update_root_if_necessary=True)
Activity
Address Issues #165, #158, and #147.
vladimir-v-diaz commentedon Jan 2, 2014
As requested, updater.refresh() may now unsafely fetch (i.e., unknown file size and hash) Root metadata if valid top-level metadata cannot be downloaded successfully (e.g., top-level keys may have been revoked). The repository must also sign the new Root file (at least until all clients have updated) with any revoked keys so that clients may successfully update. After unsafely updating Root, the top-level metadata is updated again as normal (and only once to avoid an infinite loop). By default, refresh() unsafely updates Root if only invalid top-level metadata can be downloaded, although this behavior may be overridden by the caller if they wish. Changed default behavior: refresh(self, unsafely_update_root_if_necessary=True)
trishankkarthik commentedon Jan 5, 2014
Thanks for fixing this. Has this recommended default behaviour been documented in the specification?
Update tuf-spec.txt