Skip to content

test_npn_protocols broken with LibreSSL 2.6.1+ #76559

Closed

Description

@tiran
BPO 32378
Nosy @tiran
PRs
  • bpo-32378: Skip NPN tests with LibreSSL 2.6.1+ #4930
  • bpo-32378: LibreSSL NPN workaround #5253
  • bpo-30622: Change NPN detection #5343
  • Superseder
  • bpo-30622: Fix NPN guard for OpenSSL 1.1
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/tiran'
    closed_at = <Date 2018-02-25.20:32:28.929>
    created_at = <Date 2017-12-19.18:59:04.004>
    labels = ['expert-SSL', '3.7']
    title = 'test_npn_protocols broken with LibreSSL 2.6.1+'
    updated_at = <Date 2018-03-02.19:15:00.748>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2018-03-02.19:15:00.748>
    actor = 'spil'
    assignee = 'christian.heimes'
    closed = True
    closed_date = <Date 2018-02-25.20:32:28.929>
    closer = 'christian.heimes'
    components = ['SSL']
    creation = <Date 2017-12-19.18:59:04.004>
    creator = 'christian.heimes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32378
    keywords = ['patch']
    message_count = 4.0
    messages = ['308669', '310757', '312855', '313156']
    nosy_count = 2.0
    nosy_names = ['christian.heimes', 'spil']
    pr_nums = ['4930', '5253', '5343']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '30622'
    type = None
    url = 'https://bugs.python.org/issue32378'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Activity

    1. tiran commented on Dec 19, 2017

      @tiran
      MemberAuthor

      LibreSSL 2.6.1 to 2.6.4 have a broken implementation of NPN protocol. 2.6.0 and earlier are fine.

      ======================================================================
      FAIL: test_npn_protocols (test.test_ssl.ThreadedTests)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/home/heimes/dev/python/cpython/Lib/test/test_ssl.py", line 3424, in test_npn_protocols
          self.assertEqual(client_result, expected, msg % (client_result, "client"))
      AssertionError: None != 'http/1.1' : failed trying ['http/1.1', 'spdy/2'] (s) and ['http/1.1', 'spdy/2'] (c).
      was expecting http/1.1, but got None from the client

      Upstream issue libressl/portable#368

    2. self-assigned this
      on Dec 19, 2017
    3. spil commented on Jan 26, 2018

      spilmannequin
      Mannequin

      See also #5343

      Note: I am Sp1l on Github, spil here, CLA has been signed.

    4. tiran commented on Feb 25, 2018

      @tiran
      MemberAuthor

      NPN issue has been fixed in BPO bpo-30622.

      Thanks for your help!

    5. spil commented on Mar 2, 2018

      spilmannequin
      Mannequin

      My pleasure! Glad we sorted this out for no-nextprotoneg and LibreSSL :D

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions