Skip to content

Interposition does not fetch Root if top-level metadata has expired or had its keys revoked #158

Closed

Activity

  1. added a commit that references this issue on Jan 2, 2014
  2. vladimir-v-diaz commented on Jan 2, 2014

    @vladimir-v-diaz
    ContributorAuthor

    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)

  3. trishankkarthik commented on Jan 5, 2014

    @trishankkarthik
    Contributor

    Thanks for fixing this. Has this recommended default behaviour been documented in the specification?

  4. added a commit that references this issue on Jan 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions