mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:50:37 +00:00
guix: backport oscrypto PBKDF2 timing fix #36838
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36838
Loading…
Reference in a new issue
No description provided.
Delete branch "2026/11/guix-oscrypto-timing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With substitutes disabled,
guix-codesigncan fail when building oscrypto 1.3.0. Thetest_dump_privatetest raisesZeroDivisionError.The Guix time-machine bump in bitcoin/bitcoin#36233 (merged after the 32.x branch-off) pulls in OpenSSL 3.5.5, which can finish oscrypto's initial PBKDF2 benchmark in under a millisecond. oscrypto truncates this duration to zero and then divides by it. This was fixed upstream in wbond/oscrypto@144c121950
This PR adds the fix to
contrib/guix/patches. It can be dropped once a new oscrypto release includes the fix and a Guix time machine bump includes it.The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.I ran into this while making a new release for sv2-tp, which backports most recent tool-changes from here.
I used
local-fileinstead ofsearch-our-patches. I can add a commit to drop that helper entirely if people want:github.com/Sjors/bitcoin@95098e4587No findings were published from this review.
Review coverage was incomplete.
Reviewed:
1575462b22b8· Review report · Previous reportspermalink
Concept ACK - We can fix this now, but going forward, I'm looking at a more robust/maintainable set of deps.
Can you upstream this patch to Guix in the interim? (can you link to upstream if you already did)
Can you PR this separately?
I see oscrypto hasn't had a new release since 2022, so that might be a good idea.
I opened an issue, since they have a somewhat silly LLM policy: https://codeberg.org/guix/guix/issues/12817
Done in https://github.com/bitcoin/bitcoin/pull/36988
Maybe @hebasto can land the patch upstream then?
Please see https://codeberg.org/guix/guix/pulls/12888.
ACK
a97c4b0289recreated the no subs fail:nit:
I took the nit in https://github.com/bitcoin/bitcoin/pull/36838#discussion_r4756038378 and rebased after #36988 for clarity (there's no conflict).
On x86_64:
ACK
1575462b22Post-merge ACK
1575462b22.