• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-eth-py / 26815066786
94%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 10:56AM UTC
Jobs 4
Files 122
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2026 10:52AM UTC coverage: 94.144% (+0.02%) from 94.12%
26815066786

push

github

web-flow
Support secp256r1 / passkey owner signatures (v == 2) (#2513)

* Improve docs for signatures

* feat: support secp256r1 / passkey owner signatures (v == 2)

Implements Safe 1.5 secp256r1 (RIP-7212 / EIP-7951) owner signatures, the
`v == 2` case in `checkNSignatures`.

- Add pure-Python P-256 ECDSA verification (`safe_eth/safe/p256.py`), no new
  dependencies. Validation only; all inputs are public.
- Add `SafeSignatureType.SECP256R1` and a `from_v(v == 2)` branch.
- Add `SafeSignatureP256` / `SafeSignatureP256Async`: parse the fixed 128-byte
  dynamic part (sig_r || sig_s || qx || qy), check
  `owner == keccak256(qx || qy)[12:]` and verify the signature off-chain.
- Handle `v == 2` in `parse_signature` (consume the dynamic bytes, fixing
  iterator desync) and `export_signatures` (cumulative offsets).
- Tests with RFC 6979 known-answer vectors.

242 of 252 new or added lines in 4 files covered. (96.03%)

2 existing lines in 1 file now uncovered.

10611 of 11271 relevant lines covered (94.14%)

3.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
90.36
safe_eth/safe/p256.py
1
88.1
2.39% safe_eth/safe/safe_signature.py
1
97.06
safe_eth/safe/tests/test_p256.py

Coverage Regressions

Lines Coverage ∆ File
2
86.43
-1.43% safe_eth/eth/clients/etherscan_client_v2.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 26815066786.1 02 Jun 2026 10:57AM UTC 122
94.14
GitHub Action Run
2 run-3.10 - 26815066786.2 02 Jun 2026 10:57AM UTC 122
94.14
GitHub Action Run
3 run-3.11 - 26815066786.3 02 Jun 2026 10:57AM UTC 122
94.14
GitHub Action Run
4 run-3.13 - 26815066786.4 02 Jun 2026 10:56AM UTC 122
94.14
GitHub Action Run
Source Files on build 26815066786
  • Tree
  • List 122
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26815066786
  • a38c28a1 on github
  • Prev Build on main (#26763371460)
  • Next Build on main (#26873191746)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc