Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various SNI related issues #4059

Merged
merged 4 commits into from
May 23, 2024
Merged

Fix various SNI related issues #4059

merged 4 commits into from
May 23, 2024

Conversation

randombit
Copy link
Owner

This set of changes allows connecting tls_client cli to an IP address and we simultaneously avoid sending the IP in the SNI but still have the option of checking the IP address against the certificate SAN.

It should be empty anyway unless we're doing server auth but if it is
set by some means, we shouldn't ignore it.
Previously the tls_client cli util had a hack for this but any
other users who provided an IP address in TLS::Server_Information
would end up sending the raw IP in SNI.
These can be useful for testing purposes
@randombit randombit requested a review from reneme May 15, 2024 12:02
@coveralls
Copy link

Coverage Status

coverage: 91.933% (-0.003%) from 91.936%
when pulling 1014e64 on jack/tls-sni-fixes
into 36eb2ee on master.

@randombit randombit added this to the Botan 3.5.0 milestone May 22, 2024
@randombit randombit merged commit 8a77f73 into master May 23, 2024
43 checks passed
@randombit randombit deleted the jack/tls-sni-fixes branch May 23, 2024 16:00
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.

None yet

3 participants