news.volyx.in

RSA is a fragile cryptosystem (blog.trailofbits.com)

708 points by ingve · 2661 days ago · 341 comments on HN

Article summary

The article discusses the security vulnerabilities of the RSA cryptosystem, citing its fragility and susceptibility to various attacks, including padding oracle attacks. It argues that RSA's complexity and the difficulty of implementing it correctly make it a risky choice for developers. The article recommends using alternative cryptographic primitives, such as elliptic curve cryptography, and libraries like libsodium. It suggests that developers should avoid implementing their own cryptographic protocols and instead rely on well-tested and reviewed libraries.

Main themes

  • RSA security vulnerabilities
  • cryptographic protocol implementation
  • elliptic curve cryptography
  • libsodium
  • cryptographic engineering
  • security best practices

What commenters say

  • Developers should avoid implementing their own cryptographic protocols and instead use well-tested libraries like libsodium.
  • The article's criticism of RSA is overstated, and it can be used securely if implemented correctly.
  • The complexity of cryptographic concepts and protocols makes it difficult for non-experts to understand and implement them securely.
  • Alternative cryptographic primitives like elliptic curve cryptography offer better security and performance than RSA.
  • The use of TLS 1.3 can provide sufficient security for many applications, but may not be suitable for high-stakes systems that require dedicated public key infrastructure.
  • Developers who are not cryptographers should not be expected to understand and implement complex cryptographic protocols, and should instead rely on expert advice and libraries.
  • The article's recommendation to use Curve25519 and libsodium is a good starting point for developers who want to implement secure cryptographic protocols.
  • The lack of clear and accessible documentation and resources makes it difficult for developers to implement secure cryptographic protocols, even with the help of libraries like libsodium.