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

KarpelesLab / libwallet / 24420128405
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 08:09PM UTC
Jobs 1
Files 73
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

14 Apr 2026 08:01PM UTC coverage: 25.145% (+0.6%) from 24.59%
24420128405

push

github

MagicalTux
wltwc: WalletConnect v2 envelope cryptography

First piece of the WalletConnect v2 implementation: the crypto
envelope. Covers Type-0 (symmetric, for session traffic) and Type-1
(asymmetric X25519, for the one-shot sessionPropose) exactly as the
WC v2 spec defines them:

- sealType0/openEnvelope Type 0: [0x00][nonce:12][ct][tag:16]
- sealType1/openEnvelope Type 1: [0x01][senderPub:32][nonce:12][ct][tag:16]
- deriveSymKey: X25519 → HKDF-SHA256 (empty salt/info)
- topicFromSymKey / topicFromDerivedKey: sha256 hex
- newX25519KeyPair

ChaCha20-Poly1305 via x/crypto, curve25519 + HKDF from x/crypto.
Gorilla WebSocket added as a dep in prep for the relay client (next).

5 unit tests cover roundtrip (both envelope types), wrong-key failure,
topic shape, and two-sided symmetric-key agreement.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

76 of 126 new or added lines in 1 file covered. (60.32%)

2038 of 8105 relevant lines covered (25.14%)

3.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
50
60.32
wltwc/crypto.go
Jobs
ID Job ID Ran Files Coverage
1 24420128405.1 14 Apr 2026 08:09PM UTC 73
25.14
GitHub Action Run
Source Files on build 24420128405
  • Tree
  • List 73
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24420128405
  • ab2529bc on github
  • Prev Build on master (#24419682000)
  • Next Build on master (#24420236433)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc