spiegel_podman/pkg/machine/ocipull
Jan Kaluza 54d61c2f02 trust: switch policy.json lookup to configfile
Use shared configfile instead of custom policy.json path handling.
This updates ocipull to rely on signature.DefaultPolicy(), removes
explicit SignaturePolicyPath, and replaces trust's custom default-policy
path logic with common configfile code.

Replace hidden `--policypath` with --signature-policy` and require
it for `trust set` command instead of path resolution based on
configfile.

For `trust get`, the `--signature-policy` is optional.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2026-04-20 15:11:22 +02:00
..
oci.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
ociartifact.go Use pullOptions.systemContext in getDestArtifact 2026-03-02 23:17:12 +01:00
ociartifact_test.go Allow podman machine to download from oci registry 2024-02-12 15:19:34 -06:00
policy.json pkg/machine/ocipull: add default policy.json file 2024-02-27 15:29:59 +01:00
pull.go trust: switch policy.json lookup to configfile 2026-04-20 15:11:22 +02:00
source.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00