Closed viccuad closed 2 months ago
I cannot reproduce that.
This is what I've done:
rm -rf ~/.config/kubewarden/fulcio_and_rekor_data
rm -rf ~/.sigstore # not used, but just to be extra safe
Then, inside of the kwctl
repository checkout:
kwctl-1.16.1 verify --verification-config-path tests/data/sigstore/verification-config-keyless.yml registry://ghcr.io/kubewarden/tests/capabilities-psp:v0.1.9
The command works fine, after that I can see ~/.config/kubewarden/fulcio_and_rekor_data
has been created and is filled with the contents of the TUF repository. The ~/.sigstore
directory does not exist, which is fine.
Since 1.15 inclusive,
kwctl
fails forkwctl run
when obtaining the Sigstore trust root automatically (the default behavior).This happens regardless of cleaning
~/{.config,cache}/kubewarden
.This happens to me in 2 separate machines, from the released binaries, and current kwctl built from main.
Looked a bit into policy-fetcher, but didn't find the issue.