Comments (7)
In the description:
OpenSSL in s390x architecture
Missing search and replace with Arm? :)
from openssl.
There is a reason why an ECDH secret is usually not used in more than one key agreement.
from openssl.
Depends on the use case. TLS doesn't because TLS uses signing keys for the long-lived credential, but there are plenty of protocols that are designed differently. HPKE, other ECIES schemes, Signal, the original QUIC handshake, etc.
Constant time ECDH isn't meaningfully harder than constant time ECDSA signing. Arguably easier. ECDSA is a point multiplication and then some. (Although they're not quite the same multiplication. ECDSA is a base point multiplication and ECDH is an arbitrary point. But that doesn't change how hard constant time is.)
from openssl.
@GeorgePantelakis the signal is very small ~1ns and I would be very curious to see any real world attack scenario that could take an advantage of such small signal.
from openssl.
@t8m That might be true, at least for now, but as you can see for Skylark in the deterministic path the signal is ~3ns so that could be an issue.
from openssl.
@GeorgePantelakis the signal is very small ~1ns and I would be very curious to see any real world attack scenario that could take an advantage of such small signal.
Note that the leakage is most likely in scalar multiplication, which means ECDH is also most likely affected. So, anything that exposes a network API that uses static ECDH, for example, Json Web Encryption, can be attacked through this.
Confirming 1ns difference over the network is 100% possible, I've done that multiple times, it's just a question of persistence.
from openssl.
There is a reason why an ECDH secret is usually not used in more than one key agreement.
that's why I wrote "static ECDH", not "ECDHE".
Yes, for ECDHE, like in TLS, IPsec or SSH, when the key is used once, or just few hundred times, a remote network timing attack is basically impossible with leakage this small.
from openssl.
Related Issues (20)
- Unexpected two dots for custom x509 extension HOT 1
- openssl_fopen() causes segmentation fault (access violation) under some conditions on Windows HOT 4
- Memory leak in X509_verify_cert OpenSSL 1.1.1w
- openssl enc support for aead ciphers HOT 1
- Download page is not showing latest version of 3.0/3.1/3.2 openssl
- Double free in tls_release_read_buffer() HOT 3
- Cannot build libssl.a in isolation: "make build_ssl" also builds apps HOT 6
- stricter parser for `ipv4_from_asc` HOT 1
- When building openssl with mingw64, `make test` is hang up HOT 12
- Unable to encrypt private key with encryption algo AES-256-CBC using i2d_PKCS8PrivateKey_nid_bio API
- [BUG] Curious on why QUIC works on 3.2 but not 3.3 in PUT on NonStop HOT 7
- There is a memory leak defect at line 495 in the /openssl/test/bad_dtls_test.c file.
- Question on RSA context of CA certificate clean up by x509_free HOT 2
- aix-cc: compilation error HOT 2
- Missing image on https://mta.openssl.org/mailman/listinfo/openssl-announce (low priority)
- There is a memory leak vulnerability at line 178 in the /openssl/crypto/x509/x_ietfatt.c file.
- There is a memory leak vulnerability at line 250 in the /openssl/crypto/pkcs12/p12_crt.c file.
- Provision to add complete record processing in OpenSSL HOT 3
- devcrypto.so file creation for openssl1.1.1f
- Is the way how you handle $CROSS_COMPILE and $CC really correct? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.