Skip to content

Require antiklepto for signing - #176

Merged
benma merged 1 commit into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/require-antiklepto
Aug 24, 2026
Merged

Require antiklepto for signing#176
benma merged 1 commit into
BitBoxSwiss:masterfrom
benma-agent:benma-agent/require-antiklepto

Conversation

@benma-agent

@benma-agent benma-agent commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Reject BTC transaction signing on firmware before 9.4.0 and BTC message
or legacy ETH signing on firmware before 9.5.0.

Remove silent legacy fallbacks so supported versions always perform the
anti-klepto nonce-commitment protocol.

@benma
benma requested a review from bznein August 23, 2026 12:38
@benma
benma marked this pull request as ready for review August 23, 2026 12:38
Reject BTC transaction signing on firmware before 9.4.0 and BTC message
or legacy ETH signing on firmware before 9.5.0.

Remove silent legacy fallbacks so supported versions always perform the
anti-klepto nonce-commitment protocol.
@benma-agent
benma-agent force-pushed the benma-agent/require-antiklepto branch from 54ef4a8 to b355491 Compare August 23, 2026 12:39
@benma-agent
benma-agent marked this pull request as draft August 23, 2026 12:39
@benma
benma marked this pull request as ready for review August 23, 2026 18:25

@bznein bznein left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

utACK with a minor comment

Comment thread api/firmware/btc.go

// BTCSign signs a bitcoin or bitcoin-like transaction. The previous transactions of the inputs
// need to be provided if `BTCSignNeedsPrevTxs()` returns true.
// BTCSign signs a bitcoin or bitcoin-like transaction. Firmware v9.4.0 or newer is required to

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// BTCSign signs a bitcoin or bitcoin-like transaction. Firmware v9.4.0 or newer is required to
// BTCSign signs a bitcoin or bitcoin-like transaction. Firmware v9.5.0 or newer is required to

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.

Why? It's actually v9.4.0 for btc tx signing.

@benma
benma merged commit ee1d17d into BitBoxSwiss:master Aug 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants