Public bug reported:
https://github.com/bitcoin-core/secp256k1/blob/master/CHANGELOG.md#032
---2023-05-13 reports that newer versions of GCC (such as the one used
in Ubuntu 24.04 LTS (Noble), which is version 13.2), will optimize away
the content timeness of the ECDH function. It would be nice to get
secp256k1 in Ubuntu updated to v0.3.2 or newer. If it's not possible to
do in Noble, it could be done in Ubuntu Oracular.
Objdump reveals that the library is built with ECDH:
% objdump -TC libsecp256k1.so.1| grep ecdh
0000000000125cc8 g DO .data.rel.ro 0000000000000008 Base
secp256k1_ecdh_hash_function_sha256
0000000000125cd0 g DO .data.rel.ro 0000000000000008 Base
secp256k1_ecdh_hash_function_default
000000000000ddf0 g DF .text 00000000000010b7 Base
secp256k1_ecdh
** Affects: libsecp256k1 (Ubuntu)
Importance: Undecided
Status: New
** Information type changed from Private Security to Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065806
Title:
ECDH not constant time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsecp256k1/+bug/2065806/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs