Roundup Tracker - Issues

Message8198

Author rouilj
Recipients rouilj
Date 2024-11-26.22:04:21
Message-id <1732658661.29.0.147948230514.issue2551373@roundup.psfhosted.org>
In-reply-to
issue 2551370 changes the session cookie name to restrict use to only https channels.

I have testing for the http channel, but not https.

I need a way in the testing environment to spin up an HTTPS endpoint that I can
test against using an HTTPS url. Then verify the cookie has the proper __Secure- prefix.

The roundup-server script can self-generate https keys, but the script is not
set up to allow me to easily spin it up and shut it down in a testing
environment.

Ideally this implementation would extend test/wsgi_liveserver.py.


Possible idea:

  https://stackoverflow.com/questions/16528297/how-to-enable-ssl-for-the-built-in-wsgi-server-
from-python
History
Date User Action Args
2024-11-26 22:04:21rouiljsetrecipients: + rouilj
2024-11-26 22:04:21rouiljsetmessageid: <1732658661.29.0.147948230514.issue2551373@roundup.psfhosted.org>
2024-11-26 22:04:21rouiljlinkissue2551373 messages
2024-11-26 22:04:21rouiljcreate