Skip to content

Match a signature for any tag when pulling/coping by digest #99

Description

@runcom

The scenario is the following (requires interacting with Docker):

  • docker pull runcom/busybox:signed
  • the docker CLI checks that a valid signature exists for runcom/busybox:signed via containers/image
  • containers/image provides the trusted digest for runcom/busybox:signed
  • the docker CLI now tries to docker pull runcom/busybox@sha256:%HEX%
  • since there's the trust-plugin on the docker API side ...
  • trust-plugin check that a valid signature exists for runcom/busybox@sha256:%HEX%
  • trust-plugin fails because we don't have signature for runcom/busybox@sha256:%HEX% but for runcom/busybox:signed (which is one of the tag for that digest, which should be already trusted)

I'm proposing something to relax this since if you're pulling by digest at some time it's likely that you have already checked for signatures from a tag.

/cc @mtrmac @aweiteka @rhatdan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions