Commit a08dbd9
committed
test(7.15): consolidated Python harness, bindings, and device coverage
Squashed from 194 commits. Everything below is against master, which this
branch already contains -- the 7.14.2 disclosure tests from #216 are merged
in, not replaced.
BINDINGS (keepkeylib)
Protobuf regenerated for the 7.15 surface: ethereum, hive, ripple, solana,
thorchain, zcash, types. New modules for the features those messages carry --
clearsign_abi, clearsign_catalog, eip712_stream, signed_metadata, hive, zcash.
transport_udp gained a socket timeout. It had none, so a crashed emulator
blocked in recv() until the CI job was killed, which is reported as a
cancelled job rather than a failing test and throws away every result.
eth/token_policy.py bounds the built-in token table. It is the largest
read-only symbol in the ARM image (31KB for 1,945 mostly-2018 entries) and
the vetted source it comes from is a stale snapshot -- no UNI, no AAVE, no
modern stables. The policy keeps what users hold plus what coins[] requires,
and takes a priority symbol only when the source gives it exactly one address,
so a scam token cannot inherit a real one's label.
COVERAGE (17 new suites)
taproot: address derivation, signing, and on-screen verification
zcash: PCZT device signing and seed fingerprint
clear-signing: additive tier, signing guards, EIP-712 streaming, Solana LUT
attestation, thorchain deposit
session trust lifetime, hive, osmosis, bitcoin-only variant, storage gate
NOTES ON TWO DELIBERATE CHOICES
The thorchain and mayachain suites assert structure rather than frozen
(r,s) vectors. #197 repoints those transactions at current routers, and `to`
is an RLP field of the EIP-155 sighash, so the old vectors describe a
different transaction. The superseded vectors are kept in comments at the
assertion site so the gap stays visible and regenerable on hardware.
The storage version gate skips on trees that predate it, but still FAILS if
storage.c references the floor while storage.h no longer defines it -- the
skip cannot swallow the regression it guards.1 parent 598097e commit a08dbd9
67 files changed
Lines changed: 15390 additions & 1089 deletions
File tree
- .github/workflows
- keepkeylib
- eth
- scripts
- tests
- txcache
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
41 | 59 | | |
42 | 60 | | |
43 | 61 | | |
| 62 | + | |
44 | 63 | | |
45 | 64 | | |
46 | 65 | | |
| |||
49 | 68 | | |
50 | 69 | | |
51 | 70 | | |
52 | | - | |
| 71 | + | |
53 | 72 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
61 | 84 | | |
62 | 85 | | |
63 | 86 | | |
64 | 87 | | |
65 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
66 | 132 | | |
67 | 133 | | |
68 | 134 | | |
69 | 135 | | |
70 | 136 | | |
71 | 137 | | |
| 138 | + | |
72 | 139 | | |
73 | 140 | | |
74 | 141 | | |
| |||
88 | 155 | | |
89 | 156 | | |
90 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
91 | 197 | | |
| 198 | + | |
92 | 199 | | |
93 | 200 | | |
94 | 201 | | |
95 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
96 | 205 | | |
97 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
98 | 212 | | |
99 | 213 | | |
100 | 214 | | |
101 | 215 | | |
102 | 216 | | |
103 | 217 | | |
104 | | - | |
| 218 | + | |
105 | 219 | | |
106 | 220 | | |
107 | 221 | | |
| |||
148 | 262 | | |
149 | 263 | | |
150 | 264 | | |
151 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
152 | 272 | | |
153 | 273 | | |
154 | 274 | | |
155 | | - | |
156 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
157 | 279 | | |
158 | 280 | | |
159 | 281 | | |
160 | 282 | | |
161 | | - | |
| 283 | + | |
162 | 284 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Submodule device-protocol updated 21 files
- .github/workflows/ci.yml+50
- .github/workflows/copilot-review.yml+23
- lib/messages-ripple_pb.d.ts+179
- lib/messages-ripple_pb.js+1.4k
- messages-ethereum.options+12
- messages-ethereum.proto+189
- messages-hive.options+58
- messages-hive.proto+220
- messages-near.proto+60
- messages-ripple.proto+1
- messages-solana.options+4
- messages-solana.proto+65
- messages-thorchain.proto+1
- messages-zcash.options+12-5
- messages-zcash.proto+111-33
- messages.proto+101-1
- package-lock.json+177-6
- package.json+5-3
- tools/check_zcash_contract.py+70
- types.proto+1
- yarn.lock+183-28
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments