Skip to content

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented May 13, 2025

This change introduces the HAVE_TLS1_3_POST_HANDSHAKE_AUTH definition to explicitly indicate whether the underlying TLS library supports TLS 1.3 post-handshake authentication (PHA).

For example HTTP/2 forbids Post Handshake Auth: https://datatracker.ietf.org/doc/html/rfc8740

With cmake -B build -DUSE_TLS1_3_PHA=OFF this feature could now be disabled.

Beside HTTP/2 issue, current state for TLS 1.3 PHA server/client support:

  • nginx -> no
  • apache2 -> yes
  • Firefox -> not enabled
  • MbedTLS -> no
  • AWS-LC -> no
  • LibreSSL -> no
  • WolfSSL -> yes
  • Curl (OpenSSL backend) -> yes

This change introduces the HAVE_TLS1_3_POST_HANDSHAKE macro
to explicitly indicate whether the underlying TLS library supports TLS 1.3
post-handshake authentication (PHA).
@sreimers sreimers force-pushed the http_post_handshake branch from 87d7e2e to 8776c2d Compare May 13, 2025 05:51
@sreimers sreimers marked this pull request as ready for review May 13, 2025 06:14
@sreimers sreimers merged commit b481e8c into main May 13, 2025
38 checks passed
@sreimers sreimers deleted the http_post_handshake branch May 13, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant