source-controller/internal/controller
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
..
testdata Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
artifact.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
artifact_matchers_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
artifact_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
bucket_controller.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
bucket_controller_fetch_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
bucket_controller_test.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
common_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
gitrepository_controller.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
gitrepository_controller_fuzz_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
gitrepository_controller_test.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
helmchart_controller.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
helmchart_controller_test.go oci: sort remaining quirks in cosign verify logic 2023-05-22 11:08:16 +02:00
helmrepository_controller.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
helmrepository_controller_oci.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
helmrepository_controller_oci_test.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
helmrepository_controller_test.go controller: verify digest of artifact in storage 2023-05-10 17:09:47 +02:00
ocirepository_controller.go Update cosign to v2 2023-05-22 11:08:12 +02:00
ocirepository_controller_test.go oci: sort remaining quirks in cosign verify logic 2023-05-22 11:08:16 +02:00
source_predicate.go Move controllers to internal/controller 2023-05-03 15:35:45 +05:30
storage.go storage: set `0o744` for files with exec mode set 2023-05-12 10:11:08 +02:00
storage_test.go storage: set `0o744` for files with exec mode set 2023-05-12 10:11:08 +02:00
suite_test.go oci: sort remaining quirks in cosign verify logic 2023-05-22 11:08:16 +02:00