mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
b6af3a43c7
The class IPACertificate builds objects from x509 Certificate objects and creates the not_valid_before and not_valid_after values by converting to a timestamp + applying timezone delta to UTC + reading from the timestamp. This results in applying twice the delta. Use a simpler method that replaces the timezone info with UTC in the datetime object. Fixes: https://pagure.io/freeipa/issue/9462 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
test_aci.py | ||
test_backend.py | ||
test_base.py | ||
test_capabilities.py | ||
test_cli.py | ||
test_config.py | ||
test_crud.py | ||
test_errors.py | ||
test_frontend.py | ||
test_messages.py | ||
test_output.py | ||
test_parameters.py | ||
test_plugable.py | ||
test_rpc.py | ||
test_text.py | ||
test_util.py | ||
test_x509.py |