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