-
Notifications
You must be signed in to change notification settings - Fork 38
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
Comments
I can put in a quick PR for you to review / test for your environment, does that work? |
Please see #118 |
Yeah I can do that!
…On Fri, Nov 17, 2023, 11:27 AM Vanessasaurus ***@***.***> wrote:
I can put in a quick PR for you to review / test for your environment,
does that work?
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBTO52TWTRIQRCSAGLSH23YE6UCXAVCNFSM6AAAAAA7QFV2DWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWHA4TOMJXGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Looks like you also need line 922
On Fri, Nov 17, 2023 at 11:32 AM Ryan Schulman ***@***.***>
wrote:
… Yeah I can do that!
On Fri, Nov 17, 2023, 11:27 AM Vanessasaurus ***@***.***>
wrote:
> I can put in a quick PR for you to review / test for your environment,
> does that work?
>
> —
> Reply to this email directly, view it on GitHub
> <#117 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABBTO52TWTRIQRCSAGLSH23YE6UCXAVCNFSM6AAAAAA7QFV2DWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWHA4TOMJXGM>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Done. |
I found another instance off missing the verify arg on line 988 of that
same file
…On Fri, Nov 17, 2023 at 11:43 AM Vanessasaurus ***@***.***> wrote:
Done.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBTO556PNIDTXGWGHIMCC3YE6V6XAVCNFSM6AAAAAA7QFV2DWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWHEYTMOBQGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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! |
Yeah I changed that line to:
`authResponse = self.session.get(h.realm, verify=self._tls_verify,
headers=-headers, params=params)`
Does that work for you?
…On Fri, Nov 17, 2023 at 1:00 PM Vanessasaurus ***@***.***> wrote:
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!
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBTO56VCBCRSAPXF3SCUV3YE667JAVCNFSM6AAAAAA7QFV2DWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGAYTGMBTGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You didn't get any pre-commit errors? |
okay updated - and I just removed mypy. It's more pain than it's worth I think. |
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 usingtls_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.The text was updated successfully, but these errors were encountered: