spiegel_podman/pkg/trust
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
..
testdata Add support for showing keyPaths in (podman image trust show) 2022-08-25 01:52:59 +02:00
policy.go trust: switch policy.json lookup to configfile 2026-04-20 15:11:22 +02:00
policy_test.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
registries.go api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
trust.go Preallocate a slice 2026-02-11 11:41:10 -08:00
trust_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00