Giter Club home page Giter Club logo

ycwu314.github.io's People

Contributors

ycwu314 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ycwu314.github.io's Issues

关于基于RSA的TLS握手的疑问

https://ycwu314.top/p/nginx-ssl-dhparam-and-forward-secrecy/

现在 client,server 都得到了 client random,server random 和 premaster。把这 3 者组合得到 session key,后续通讯基于此 session key

这个会话密钥中加入了两个随机数,那么

一旦 private key 泄露,那么所有使用这个 SSL 证书的密文 premaster secret 都能被解密。

泄露premaster secret又有什么关系呢?会话密钥还是生成不了啊,不就有前向保密了吗?


客户端发送的随机数是明文的,服务是用证书私钥加密的谁都能看到,如果证书私钥泄露,就能获得premaster密钥,确实能生成会话密钥。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.