Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip TLS verification during conformance tests #394

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Mar 22, 2023

It can be useful in tests like this to point the test at an HTTPS endpoint, even though it won't actually serve valid HTTPS, for example because it's running in a test environment.

Making the test skip TLS verification should make it easier to run in such test environments. Conformance doesn't rely on TLS verification itself (explicitly, anyway), and any TLS configuration should be tested outside of OCI conformance, so I don't consider this a regression of the strictness of the test.

jdolitsky
jdolitsky previously approved these changes Mar 22, 2023
jdolitsky
jdolitsky previously approved these changes Mar 22, 2023
@imjasonh
Copy link
Member Author

Thanks @jdolitsky !

mikebrow
mikebrow previously approved these changes Apr 4, 2023
Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdolitsky jdolitsky requested a review from sudo-bmitch April 4, 2023 15:48
@imjasonh imjasonh dismissed stale reviews from mikebrow and jdolitsky via aab9867 April 4, 2023 16:29
@imjasonh imjasonh force-pushed the insecure-skip-tls-verify branch from 5f09a20 to aab9867 Compare April 4, 2023 16:29
jdolitsky
jdolitsky previously approved these changes Apr 4, 2023
@sudo-bmitch sudo-bmitch merged commit 7fe7cbe into opencontainers:main Apr 4, 2023
@jdolitsky jdolitsky mentioned this pull request Apr 19, 2023
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 1, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants