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

Add support for TLS PSK #1846

Closed
gdamore opened this issue Jul 21, 2024 · 0 comments
Closed

Add support for TLS PSK #1846

gdamore opened this issue Jul 21, 2024 · 0 comments

Comments

@gdamore
Copy link
Contributor

gdamore commented Jul 21, 2024

We would like to have the ability to use PSK. There are many contexts where pre-shared keys are a lot easier to use.

Note that pre-shared keys need to be specified along with an identity. As with some other aspects of TLS, the single value functions for setopt() seem not up to task.

Instead, we would like to use the TLS configuration object for this, with functions to operate on the TLS configuration. There simply isn't a much better solution.

gdamore added a commit that referenced this issue Jul 21, 2024
gdamore added a commit that referenced this issue Jul 21, 2024
gdamore added a commit that referenced this issue Jul 21, 2024
gdamore added a commit that referenced this issue Jul 21, 2024
gdamore added a commit that referenced this issue Jul 21, 2024
gdamore added a commit that referenced this issue Jul 21, 2024
This also adds an SP layer transport test for TLS, based on the TCP
test but with some additions; this test does not cover all the edge
cases for TLS, but it does at least show how to use it.
gdamore added a commit that referenced this issue Jul 21, 2024
This also adds an SP layer transport test for TLS, based on the TCP
test but with some additions; this test does not cover all the edge
cases for TLS, but it does at least show how to use it.
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

No branches or pull requests

1 participant