ipn,tailcfg: transmit NodeID in tka init RPCs
Needed to identify the node. A serverside-check the machine key (used to authenticate the noise session) is that of the specified NodeID ensures the authenticity of the request. Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
@@ -1845,6 +1845,8 @@ type TKAInitBeginResponse struct {
|
||||
// TKAInitFinishRequest finalizes initialization of the tailnet key authority
|
||||
// by submitting node-key signatures for all existing nodes.
|
||||
type TKAInitFinishRequest struct {
|
||||
NodeID NodeID
|
||||
|
||||
Signatures []tkatype.MarshaledSignature
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user