Skip to content

chore: bump eip712sign to v0.0.16 for Trezor signing - #826

Merged
0xth4nh merged 4 commits into
mainfrom
toshi/bump-eip712sign-v0.0.15
Oct 23, 2026
Merged

0xth4nh merged 4 commits into
mainfrom
toshi/bump-eip712sign-v0.0.15

Conversation

@0xth4nh

@0xth4nh 0xth4nh commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps the eip712sign that make deps installs from v0.0.11 to v0.0.16.

v0.0.15 added --trezor, and v0.0.16 fixes it by picking up base/usbwallet v0.1.2 (base/usbwallet#7): v0.1.1 sent the EIP-712 domain chainId to the device as 0. It sends the full typed data to the Trezor, which shows every SafeTx field and asks the signer to confirm the message hash (base/usbwallet#3, Trezor firmware 2.9.1+). The task signing tool uses it for Trezor signing in base/task-signing-tool#196. Without this bump, make deps reinstalls v0.0.11 on every validation and the tool reports that eip712sign is too old for Trezor.

Ledger impact

The Ledger path also moves to v0.0.16. Since v0.0.11, eip712sign switched from geth's usbwallet to the base/usbwallet fork (v0.0.12), and added EIP-712 typed data / EIP-191 input. The --ledger --hd-paths ... --data <0x1901...> call and the Data: / Signer: / Signature: output the tool parses are unchanged.

Not changed: the incident pause tooling (active/evm/script/common/pause/PauseSigning.mk) keeps its own v0.0.11 pin.

CI

eip712sign v0.0.15+ depends on base/usbwallet v0.1.1+, whose Linux build uses hidapi's hidraw backend and includes libudev.h. validate-common-scripts.yml now installs libudev-dev before make deps; without it, go install github.com/base/eip712sign fails on the Ubuntu runner. Linux signers need the same package locally.

Testing

  • test/e2e branch carries the same bump (now v0.0.16). With task-signing-tool 35bbc12: Trezor validation passes and signing reaches the device step through eip712sign v0.0.15 ("No Trezor found" without a device). eip712sign v0.0.15 computes the validated domain and message hashes from the tool's typed data.
  • eip712sign v0.0.16 computes the validated domain and message hashes from the tool's typed data.
  • One Ledger signature with v0.0.16 before merging.

v0.0.15 (base/usbwallet v0.1.1) adds --trezor: full EIP-712 typed data with the message hash
shown on the device (firmware 2.9.1+). The task-signing-tool uses it for Trezor signing
(base/task-signing-tool#196).
@cb-heimdall

cb-heimdall commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews ✅ 2/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 2
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 2
2
1 if commit is unverified 0
Sum 2

v0.0.16 picks up base/usbwallet v0.1.2, which sends the EIP-712 domain chainId to the
Trezor correctly (v0.0.15 sent 0, so Trezor signatures did not recover).
@0xth4nh 0xth4nh changed the title chore: bump eip712sign to v0.0.15 for Trezor signing chore: bump eip712sign to v0.0.16 for Trezor signing Oct 23, 2026
@0xth4nh
0xth4nh marked this pull request as ready for review October 23, 2026 14:48
eip712sign v0.0.15+ depends on base/usbwallet v0.1.1+, whose Linux build uses hidapi's
hidraw backend and includes libudev.h. The Ubuntu runner does not have it, so
go install github.com/base/eip712sign failed in Install dependencies.
@0xth4nh
0xth4nh requested a review from jackchuma October 23, 2026 16:54

@jackchuma jackchuma 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.

Automated review

Reviewed 6ad4d00 against main. 1 finding posted inline.

Residual risk: the Ledger signing path moves across five eip712sign releases, including the switch from geth usbwallet to the base/usbwallet fork. The only hardware test so far is the planned manual Ledger signature, still unchecked in the PR description. Hold the merge until that's done.

🤖 Reply generated with Toshi

Comment thread Makefile Resolved
@0xth4nh
0xth4nh requested a review from jackchuma October 23, 2026 19:12
@0xth4nh
0xth4nh merged commit c4663a9 into main Oct 23, 2026
8 checks passed
@0xth4nh
0xth4nh deleted the toshi/bump-eip712sign-v0.0.15 branch October 23, 2026 19:29
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.

4 participants