Conversation
Member
|
Ready 了吗 |
Member
Author
应该没啥问题 不过这个是break leafCertHash 被我改成 certHash 了 现在输出整个文件的指纹 |
Member
|
整个证书链的? |
Member
Author
|
跟tls ping一样一个个分开展示 |
Member
|
|
Member
Author
因为部分自签证书生成的畸形证书尽管直接用于tls但是IsCA是true 以前会把它强制识别成CA 现在不会了 按顺序判断是否是CA 就可以判断了 break的地方是命令改名了 上面提了 |
Member
|
简单点,名字改成 hash 吧 |
1 task
Member
|
这项修改可能导致的一个攻击向量是,假如用户 pin 了 CA 证书 sha256,若 MITM 只发这个 CA 证书,就会导致证书验证直接通过,但是由于中间人没有该 CA 证书中公钥所对应的私钥,无法签发出有效的 TLS finished 消息,所以该攻击并不成立
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
之前有点弄错了 第一个证书必为leaf 稍微简化一下代码