Commit c115480
authored
feat: node signature verification for queries (#784)
* feat: adds node signatures to query response types
* moves fetchNodeKeys to canisterStatus
* updating e2e tests
* replaces tweetnacl with @noble/curves
* more ed25519 tests and compatibility with previous stored JSON
* moves public key and DER utils into agent
* simplifies @dfinity/identity with agent exports
* subnetStatus mapping node id to public key
* lookup_path now returns tree by default
* fix: canister ranges checked for root subnet
fixes FOLLOW-1301
* fix: sets maxAge for delegation certificates to
Infinity, bypassing check
resolves FOLLOW-13021 parent 6e1dbfb commit c115480
File tree
42 files changed
+1039
-630
lines changed- docs/generated
- e2e/node
- basic
- utils
- packages
- agent
- src
- agent
- http
- __certificates__
- canisterStatus
- utils
- auth-client/src
- identity-secp256k1
- src
- identity
- src
- identity
- principal/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+1039
-630
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
15 | 36 | | |
16 | 37 | | |
17 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments