Unverified Commit f8d7e221 authored by Denys Otrishko's avatar Denys Otrishko Committed by Ruben Bridgewater
Browse files

tls: add PSK support



Add the `pskCallback` client/server option, which resolves an identity
or identity hint to a pre-shared key.

Add the `pskIdentityHint` server option to set the identity hint for the
ServerKeyExchange message.

Co-authored-by: default avatarChris Osborn <chris.osborn@sitelier.com>
Co-authored-by: default avatarstephank <gh@stephank.nl>
Co-authored-by: default avatarTaylor Zane Glaeser <tzglaeser@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/23188


Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 3d47c859
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment