Commit ce89df2
committed
feat(daemon): auto-handshake toward trusted agents on outbound dial
When DialConnectionContext targets a node in the trusted-agents list and
no local trust entry exists, a handshake request is fired in a background
goroutine. The SYN-retry loop succeeds once the peer approves, removing
the need to run pilotctl handshake before ping or send-message.1 parent 19879dc commit ce89df2
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2439 | 2439 | | |
2440 | 2440 | | |
2441 | 2441 | | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
2442 | 2452 | | |
2443 | 2453 | | |
2444 | 2454 | | |
| |||
0 commit comments