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

Expose mbedtls_ssl_cookie_ctx callbacks to node.js #1

Open
bu5hm4nn opened this issue Jun 15, 2018 · 0 comments
Open

Expose mbedtls_ssl_cookie_ctx callbacks to node.js #1

bu5hm4nn opened this issue Jun 15, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@bu5hm4nn
Copy link
Collaborator

Refer to the section "Server-side only: Cookies for client verification" in this document https://tls.mbed.org/kb/how-to/dtls-tutorial.

We need the two callbacks mentioned mbedtls_ssl_cookie_write_t and mbedtls_ssl_cookie_check_t to be optionally exposed to node.js so that our server backend can handle them.

Make registering these optional, so if the user does not decide to use them the current use of the default handlers is preserved.

Write an example server and client that show how to test and use these callbacks by persisting a connection cookie across multiple client connects and add the example to the example/test directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant