truststore icon indicating copy to clipboard operation
truststore copied to clipboard

Replace SSLContext reference kept in botocore.httpsession

Open mckirk opened this issue 7 months ago • 2 comments

This should fix #179.

mckirk avatar Jul 07 '25 22:07 mckirk

I don't love that we're going to have to do this for many other libraries :/ Boto doesn't support a way to configure SSLContexts?

sethmlarson avatar Jul 08 '25 20:07 sethmlarson

I don't love that we're going to have to do this for many other libraries :/ Boto doesn't support a way to configure SSLContexts?

Yeah, it's admittedly not so cool that these hacks are apparently necessary... but botocore even seems to go out of its way to get an 'unpatched' SSLContext: https://github.com/boto/botocore/blob/develop/botocore/httpsession.py#L40

But maybe they'd be open to removing that, the commit that introduced this is seven years old: https://github.com/boto/botocore/commit/9ce22db4d85030924f05ca0abefe7c201349207b

mckirk avatar Jul 08 '25 20:07 mckirk