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

PresharedKey usage is broken since version 6.0.2 #279

Open
SnowdenDev opened this issue Feb 18, 2024 · 2 comments
Open

PresharedKey usage is broken since version 6.0.2 #279

SnowdenDev opened this issue Feb 18, 2024 · 2 comments

Comments

@SnowdenDev
Copy link

Hi @jchristn , I have a small problem that maybe has not been noticed, I have version 6.0.1 of the nuget WatsonTcp package currently in my project, I have noticed many improvements in the new versions so I need to implement in my project the current version 6.0.5....

As nothing prevents it I made the update in both client and server and the connection stopped working, like crazy I searched and found that the problem was in: server.Settings.PresharedKey = "1234567891234567"; and await client.AuthenticateAsync("1234567891234567");

Maybe there was some change that I did not see in the implementation, or maybe something is wrong, I would like to have your opinion, thank you very much.

@jchristn
Copy link
Collaborator

jchristn commented May 1, 2024

Hi @SnowdenDev I'm sorry for the delay in getting back to you. Are you indicating that the PresharedKey is hard-coded somewhere in the library? I'm not seeing it. I'll do a quick test and report back.

@jchristn
Copy link
Collaborator

jchristn commented May 1, 2024

Yep, it's buggered. Will look tonight

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

2 participants