-
Notifications
You must be signed in to change notification settings - Fork 4.7k
REALITY client: Fix log when printing "is using X25519MLKEM768..." #4929
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
Conversation
|
我这里咋好像没问题 |
|
|
|
不过这样改好像不对吧,应该针对 ServerShare,@Fangliding 你看下 |
一样的 你要去 ServerShare 拿的话位置是 c.HandshakeState.ServerHello.ServerShare.group |
|
从 c.curveID 拿已经在 tls ping 命令里经过测试了是没什么问题的 |
|
其实也可以不靠反射,用 |
|
@wwqgtxx 感觉这样更直观一些, |
难道以前一直没人看这个输出吗 我看的时候服务端输出true客户端输出false一头雾水(
selectedGroup 不是服务端选择的group(不同于selected alpn 它确实是服务端给出的alpn协商结果) 这个东西是HelloRetryRequest里用的 服务端想用这个keyshare重新进行协商 而不是说本次握手协商出的keyshare 它直接被编码在 server hello 的keyshare.group 里 所以要像我之前 tls ping 那样反射出来(