Skip to content

cosign 3.0.3: cosign attestation download skips new-bundle-format style annotations, if any sort of bundle is found via referrers api #4573

@tamcore

Description

@tamcore

Description

With cosign v3.0.3, new-bundle-format style attestations are correctly detected on an image. It correctly checks the referrers API for artifacts for references.

But it already considers itself to be done, if the referrers api even returns just a simple cosign signature, without an attestation.

In that case, expected behaviour would be, for it to move on and check for an new-bundle-format=false style sha256-xyz.att attestation as well.

If I comment out the line

it works just fine and it detects both old and new-style attestations just fine.

Version

3.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions