Skip to content

[32.x] Backports for rc2 - #36267

Merged
sedited merged 12 commits into
bitcoin:32.xfrom
fanquake:32_0_rc2_backports
Sep 18, 2026
Merged

sedited merged 12 commits into
bitcoin:32.xfrom
fanquake:32_0_rc2_backports

Conversation

@fanquake

@fanquake fanquake commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Versions prior to osslsigncode 2.14 unconditionally perform a full verification
of the binary after signatures are attached. This verification requires
having a reasonably up to date root CA file, and since 2.6, CRLs are
validated which requires network access.

The current manifest is both missing the root CA file, and the guix
container does not and should not have network access.

Our current guix time-machine has 2.13, while bumping it would give us
2.14, that seems to be problematic for other packages, see bitcoin#36233
and bitcoin#35855. Instead this copies in the package for osslsigncode 2.14 from
guix.

Github-Pull: bitcoin#36256
Rebased-From: 66eeac2
`osslsigncode attach-signature` doesnot validate the signature at all,
but we should be doing a signature check after applying to ensure that
the signature itself is also valid.

To avoid requiring the container to have network access, CRL checks are
disabled.

The package `nss-certs` is required so that a root CA file is available.

Github-Pull: bitcoin#36256
Rebased-From: 59a465c
@fanquake fanquake added this to the 32.0 milestone Sep 16, 2026
@DrahtBot

DrahtBot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/36267.

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK willcl-ark, sedited
Stale ACK instagibbs

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@fanquake
fanquake marked this pull request as ready for review September 16, 2026 21:25
@instagibbs

Copy link
Copy Markdown
Member

tACK deac114

Had bot reapply changes, came out clean, and directly tested the behavior of each commit to varying degrees, all good

@sedited sedited left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK deac114

This partially reverts fa74f58 to avoid
initialization dependencies, which the linker fails to handle properly.

Github-Pull: bitcoin#36285
Rebased-From: fa8fefb
@fanquake

Copy link
Copy Markdown
Member Author

Added some more backports, and added a bump to 32.0rc2.

@willcl-ark willcl-ark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fdd5414

Backports all LGTM.

I didn't think about it reviewing the original PR, but would we give the new RPC result field from #36249 a release note ordinarily?

@sedited

sedited commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

I didn't think about it reviewing the original PR, but would we give the new RPC result field from #36249 a release note ordinarily?

It's going into this release, so I didn't think creating a release note was necessary. It should instead be added to the wiki.

@sedited sedited left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fdd5414

@sedited
sedited merged commit bc795e6 into bitcoin:32.x Sep 18, 2026
29 checks passed
@fanquake
fanquake deleted the 32_0_rc2_backports branch September 18, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants