Skip to content

test_proxy_cli failures due to certauth incompatiblity with pyOpenSSL 26.2 #1000

Description

@ato

Describe the bug

The following tests fail with pyOpenSSL 26.2:

FAILED tests/test_cli.py::TestProxyCLIConfig::test_proxy_cli - AttributeError: 'X509' object has no attribute 'add_extensions'
FAILED tests/test_cli.py::TestProxyCLIConfig::test_proxy_cli_ts_iso_date - AttributeError: 'X509' object has no attribute 'add_extensions'
FAILED tests/test_cli.py::TestProxyCLIConfig::test_proxy_cli_ts - AttributeError: 'X509' object has no attribute 'add_extensions'
FAILED tests/test_cli.py::TestProxyCLIConfig::test_proxy_cli_rec - AttributeError: 'X509' object has no attribute 'add_extensions'

wsgiproxy uses certauth which uses X509.add_extensions() which was removed in pyOpenSSL 26.2.

Steps to reproduce the bug

CI=1 tox -e py314

Expected behavior

Tests pass.

Environment

MacOS and Github Actions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions