Commit e063168
committed
fix(network/auth): respect handshake responders when preparing keysets and pricing
- limit JIT keyset creation to nodes that actually returned server keys and filter price data to match, avoiding encryption attempts against missing nodes (packages/networks/src/networks/vNaga/shared/factories/BaseModuleFactory.ts)
- adjust PKP and custom auth adapters to derive node pricing only from responding nodes and fail fast if they can’t satisfy the threshold, preventing session-sign requests from targeting unreachable URLs (packages/auth/src/lib/AuthManager/authAdapters/getPkpAuthContextAdapter.ts, getCustomAuthContextAdapter.ts)1 parent 3d1494a commit e063168
File tree
3 files changed
+77
-5
lines changed- packages
- auth/src/lib/AuthManager/authAdapters
3 files changed
+77
-5
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
59 | 70 | | |
60 | | - | |
| 71 | + | |
61 | 72 | | |
62 | 73 | | |
63 | 74 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
136 | 147 | | |
137 | | - | |
| 148 | + | |
138 | 149 | | |
139 | 150 | | |
140 | 151 | | |
| |||
Lines changed: 53 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
454 | 475 | | |
455 | 476 | | |
456 | 477 | | |
457 | | - | |
| 478 | + | |
458 | 479 | | |
459 | 480 | | |
460 | 481 | | |
461 | 482 | | |
462 | 483 | | |
463 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
464 | 496 | | |
465 | 497 | | |
466 | 498 | | |
| |||
473 | 505 | | |
474 | 506 | | |
475 | 507 | | |
476 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
477 | 527 | | |
478 | 528 | | |
479 | 529 | | |
| |||
0 commit comments