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

binary/Hexadecimal PSK support #21

Open
jvermillard opened this issue Dec 31, 2023 · 0 comments
Open

binary/Hexadecimal PSK support #21

jvermillard opened this issue Dec 31, 2023 · 0 comments

Comments

@jvermillard
Copy link

The Client expects the PSK value to be a string, so I tried to set my hex string there, but debugging it, I saw the string is converted to bytes before being sent to the DTLS implementation.

I would expect the PSK value to be entered as Hex and not a string, as mandated by rfc4279: https://datatracker.ietf.org/doc/html/rfc4279#section-5.4
Also, how the current implementation would cope with non-ASCII/UTF8 generated binary PSKs?

@jvermillard jvermillard changed the title binary/Hexadecimal support binary/Hexadecimal PSK support Dec 31, 2023
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