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

Missing verify argument in providers.py #117

Open
schulmanworks opened this issue Nov 17, 2023 · 10 comments · May be fixed by #118
Open

Missing verify argument in providers.py #117

schulmanworks opened this issue Nov 17, 2023 · 10 comments · May be fixed by #118

Comments

@schulmanworks
Copy link

On line 906 of https://github.com/oras-project/oras-py/blob/main/oras/provider.py, the argument verify=self._tls_verify, has been omitted. As a result, if you are using tls_verify=False in a dev environment and there is a non-tls related error connecting to the registry, you will only receive a tls error. Apologies if this is not the correct place to report this bug, I did not see an alternative in the contributing guidelines. I would make a PR myself, but I found this at work and cannot do so.

@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

I can put in a quick PR for you to review / test for your environment, does that work?

@vsoch vsoch linked a pull request Nov 17, 2023 that will close this issue
@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

Please see #118

@schulmanworks
Copy link
Author

schulmanworks commented Nov 17, 2023 via email

@schulmanworks
Copy link
Author

schulmanworks commented Nov 17, 2023 via email

@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

Done.

@schulmanworks
Copy link
Author

schulmanworks commented Nov 17, 2023 via email

@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

I'm having trouble getting that added without trigger the pre-commit tests to pass (the noqa doesn't work). if you can give it a try when you are back at keyboard for something that works it would be appreciated!

@schulmanworks
Copy link
Author

schulmanworks commented Nov 17, 2023 via email

@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

You didn't get any pre-commit errors?

@vsoch
Copy link
Contributor

vsoch commented Nov 17, 2023

okay updated - and I just removed mypy. It's more pain than it's worth I think.

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 a pull request may close this issue.

2 participants