[v0.55] libimage: HasDifferentDigest: add InsecureSkipTLSVerify option #1543
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To fix a BZ on auto-updates, we need to improve the system tests. To improve the system tests, we need to use the existing test infrastructure. To use the existing test infrastructure, we need to be able to skip TLS verification in tests. To be able to skip TLS verification in the tests, we need a new --tls-verify flag for podman-auto-update. And for that to work, we need a way to pass that down to libimage when checking if there's a new image on the registry.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2218315
@TomSweeneyRedHat @Luap99 PTAL
Needed to backport containers/podman#19092 to Podman v4.6. I did not bump the version as I also want to backport #1505 (not yet merged) to the v0.55 branch.