On Thu, Feb 03 2022 at 01:32:04 PM, Grant Edwards
wrote:
> On 2022-02-03, Kushal Kumaran wrote:
>
>> On Thu, Feb 03 2022 at 10:57:56 AM, Grant Edwards
>> wrote:
>>> I've got a small ssl server app. I want to require a certificate from
>>> the client, so I'm using a context with
>>>
>>> context
On Fri, 4 Feb 2022 at 09:37, Grant Edwards wrote:
> I've looked through the ssl.Context documentation multiple times, and
> haven't been able to spot any option or flag that disables client
> certificate validation or allows the user to override the actual
> client certificate validation process.
On Thu, 3 Feb 2022 at 23:16, Greg Ewing wrote:
>
> On 4/02/22 5:07 am, Albert-Jan Roskam wrote:
> > On Feb 3, 2022 17:01, Dan Stromberg wrote:
> >
> > What profiler do you recommend
>
> If it runs for that long, just measuring execution time should
> be enough. Python comes with a "timeit
On 4/02/22 5:07 am, Albert-Jan Roskam wrote:
On Feb 3, 2022 17:01, Dan Stromberg wrote:
What profiler do you recommend
If it runs for that long, just measuring execution time should
be enough. Python comes with a "timeit" module to help with
that, or you can use whatever your OS provi
Barry writes:
>> On 3 Feb 2022, at 04:45, Cecil Westerhof via Python-list
>> wrote:
>>
>> Have to be careful that timing keeps correct when target takes a 'lot'
>> of time.
>> Something to ponder about, but can wait.
>
> You have noticed that your class does call the function at the repeat
>
On 2022-02-03, Barry wrote:
>
>> [...] I just want to require that the client provide a certificate
>> and then print it out using print(connection.getpeercert())
>
> I am not near the pc with the code on. But in outline you provide a
> ssl context that returns true for the validation of the cert
> On 3 Feb 2022, at 21:34, Grant Edwards wrote:
>
> On 2022-02-03, Kushal Kumaran wrote:
>
>>> On Thu, Feb 03 2022 at 10:57:56 AM, Grant Edwards
>>> wrote:
>>> I've got a small ssl server app. I want to require a certificate from
>>> the client, so I'm using a context with
>>>
>>> context
> On 3 Feb 2022, at 04:45, Cecil Westerhof via Python-list
> wrote:
>
> Have to be careful that timing keeps correct when target takes a 'lot'
> of time.
> Something to ponder about, but can wait.
You have noticed that your class does call the function at the repeat interval
but
rather at t
On 2022-02-03, Kushal Kumaran wrote:
> On Thu, Feb 03 2022 at 10:57:56 AM, Grant Edwards
> wrote:
>> I've got a small ssl server app. I want to require a certificate from
>> the client, so I'm using a context with
>>
>> context.verify_mode = ssl.CERT_REQUIRED
>>
>> But, I want all certificates
On 2022-02-03, Kushal Kumaran wrote:
>
>> [...]
>> However, example server code I've found does not wrap the newly
>> accepted connection. I've checked, and newsocket is already an
>> object. [...]
>>
>> What is the purpose of wrapping newsocket?
>
> That section is talking about using an "ordina
On Thu, Feb 03 2022 at 10:57:56 AM, Grant Edwards
wrote:
> I've got a small ssl server app. I want to require a certificate from
> the client, so I'm using a context with
>
> context.verify_mode = ssl.CERT_REQUIRED
>
> But, I want all certificates accepted. How do I disable client
> certificate v
On Thu, Feb 03 2022 at 11:17:17 AM, Grant Edwards
wrote:
> According to the docs, when you accept() an ssl connection,
> you need to wrap the new connection:
>
> https://docs.python.org/3/library/ssl.html?highlight=ssl#ssl-sockets
>
>When a client connects, you’ll call accept() on the socket
According to the docs, when you accept() an ssl connection,
you need to wrap the new connection:
https://docs.python.org/3/library/ssl.html?highlight=ssl#ssl-sockets
When a client connects, you’ll call accept() on the socket to get
the new socket from the other end, and use the context’s
I've got a small ssl server app. I want to require a certificate from
the client, so I'm using a context with
context.verify_mode = ssl.CERT_REQUIRED
But, I want all certificates accepted. How do I disable client
certificate verification?
--
Grant
--
https://mail.python.org/mailman/listinfo/
On Feb 3, 2022 17:01, Dan Stromberg wrote:
> The best answer to "is this slower on
> Pypy" is probably to measure.
> Sometimes it makes sense to rewrite C
> extension modules in pure python for pypy.
Hi Dan, thanks. What profiler do you recommend I normally us
The best answer to "is this slower on Pypy" is probably to measure.
Sometimes it makes sense to rewrite C extension modules in pure python for
pypy.
On Thu, Feb 3, 2022 at 7:33 AM Albert-Jan Roskam
wrote:
>Hi,
>I inherited a fairly large codebase that I need to port to Python 3.
> Since
Hi,
I inherited a fairly large codebase that I need to port to Python 3. Since
the program was running quite slow I am also running the unittests against
pypy3.8. It's a long running program that does lots of pairwise
comparisons of string values in two files. Some parts of the progr
Dear Sir or Madam,
We prepared a short survey to understand practitioners’ perspectives
towards the requirements engineering. Our survey basically aims to clarify
on many aspects of the requirements engineering applied in industry, including
(i) requirements gathering and specifications, (ii) req
On Feb 2, 2022 23:31, Barry wrote:
> On 2 Feb 2022, at 21:12, Marco Sulla
wrote:
>
> You could add a __del__ that calls stop :)
Didn't python3 make this non deterministic when del is called?
I thought the recommendation is to not rely on __del__ in python3 code
On 2022-02-03 at 05:52:19 +0100,
Cecil Westerhof via Python-list wrote:
> 2qdxy4rzwzuui...@potatochowder.com writes:
>
> > FWIW, I'd find some way to tell users the units (seconds, milliseconds,
> > fortnights, etc.) instead of making them wade through your code to find
> > the call to (and poss
20 matches
Mail list logo