Coder Social home page Coder Social logo

ctz.github.com's People

Contributors

ctz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ctz.github.com's Issues

tls sha1 wedding

original reddit post:

When given a free choice, selection of AES256 over AES128 is a good shibboleth for identifying people who haven't really understood the problem, and merely concluded that "bigger is better" (which is tempting; don't get me wrong). AES192 is even better; there's literally no reason to choose it. It has all the negative points of AES256 and none of the positives of AES128.

The problem in question being: what is a sensible cryptographic security strength I can achieve across a whole system? Aiming for a 256-bit security level for HTTPS will lead to terrible disappointment:

  • Sure, you can have a leaf ECDSA key on NISTP521, but the next level of certification up depends (simultaneously) on all the public CAs. That's invariably RSA1024 (~73 bit security) and SHA1 (~63 bit security). There are some tricks (HPKP, etc.) to fix these weak points after the fact, but it's hard to reason about how they affect crypto security with different attacker models.
  • Now you stare carefully at the design of TLS1.2, and realise: if you can collide SHA1 (which is hardcoded in the protocol design as the default signature hash) at will, then you can MITM all connections anyway if a server accepts your statement that you can only verify a SHA1 signature (hint: it will, because backwards compatibility and because you cannot configure it otherwise).

Investigate second point

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.