SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 215 Python

gh-119400: make_ssl_certs: update reference test data automatically, pass in expiration dates as parameters #119400 (GH-119401)

* Lib/test/certdata: do not hardcode reference cert data into tests

The script was simply printing the reference data and asking
users to update it by hand into the test suites. This can
be easily improved by writing the data into files and
having the test cases load the files.

* make_ssl_certs: make it possible to pass in expiration dates from command line

Note that in this commit, the defaults are same as they were,
so if nothing is specified the script works as before.

---------

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
A
Alexander Kanavin committed
1ff1b899ce13b195d978736b78cd75ac021e64b5
Parent: 17a544b
Committed by GitHub <noreply@github.com> on 9/25/2024, 9:23:47 PM