tka,types/key: remove dependency for tailcfg & types/ packages on tka
Following the pattern elsewhere, we create a new tka-specific types package for the types that need to couple between the serialized structure types, and tka. Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
@ -204,7 +204,7 @@ func TestScenarioHelpers(t *testing.T) {
|
||||
if _, ok := n.AUMs["L3"]; !ok {
|
||||
t.Errorf("node n is missing %s", "L3")
|
||||
}
|
||||
if err := n.AUMs["L3"].Signatures[0].Verify(n.AUMs["L3"].SigHash(), *s.defaultKey); err != nil {
|
||||
if err := signatureVerify(&n.AUMs["L3"].Signatures[0], n.AUMs["L3"].SigHash(), *s.defaultKey); err != nil {
|
||||
t.Errorf("chained AUM was not signed: %v", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user