source-controller/internal/oci
Hidde Beydals 0ec49784b5
oci: sort remaining quirks in cosign verify logic
This commit properly sets `IgnoreTlog` to `true` when a public key is
provided to check the signature against, which matches the (silent)
default behavior from cosign v1.

However, during this exercise it has become apparant that this
assumption isn't necessarily true. As you can theoretically have a
custom key and a tlog entry.

Given this, we should inventarise the possible configuration options
and the potential value they have to users (e.g. defining a custom
Rekor URL seems to be valuable as well), and extend our API to
facilitate these needs.

In addition to the above, the CTLog public keys are now properly
retrieved to avoid a `none of the CTFE keys have been found` error.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-05-22 11:08:16 +02:00
..
auth.go Refactor internal OCI package 2022-09-20 18:34:02 +03:00
verifier.go oci: sort remaining quirks in cosign verify logic 2023-05-22 11:08:16 +02:00
verifier_test.go Accept a slice of remote.Option for cosign verification 2022-09-29 14:45:25 +02:00