Roundup Tracker - Issues

Message8048

Author rouilj
Recipients kragacles, rouilj
Date 2024-05-15.04:13:50
Message-id <1715746430.78.0.268253840353.issue2551350@roundup.psfhosted.org>
In-reply-to
Hi Andrew:

Can you use the patch from:

  https://github.com/roundup-
tracker/roundup/commit/2fb480eaed37b3247d61e183301b140be22423f1.patch

(corresponding to changeset:   7968:d7e79f8eb943).

I made a few changes to your patch in addition to making it conditional
on python version:

  initialize SSLContext with ssl.PROTOCOL_TLS_CLIENT
  if there is a cert file specified, enable sslctx.check_hostname
  if there is no cert file, call sslctx.load_default_certs()

Sadly there are no tests for this code in the test suite because of the need to
have an SSMTP server that we can configure as part of the tests. Issue2551351 has
been opened to record this deficiency.
History
Date User Action Args
2024-05-15 04:13:50rouiljsetmessageid: <1715746430.78.0.268253840353.issue2551350@roundup.psfhosted.org>
2024-05-15 04:13:50rouiljsetrecipients: + rouilj, kragacles
2024-05-15 04:13:50rouiljlinkissue2551350 messages
2024-05-15 04:13:50rouiljcreate