diff --git a/yggdrasilctl.go b/yggdrasilctl.go index b3b1cef0..75f78f1d 100644 --- a/yggdrasilctl.go +++ b/yggdrasilctl.go @@ -116,6 +116,9 @@ func main() { for slk, slv := range tlv.(map[string]interface{}) { if !keysOrdered { for k := range slv.(map[string]interface{}) { + if k == "box_pub_key" || k == "box_sig_key" { + continue + } keyOrder = append(keyOrder, fmt.Sprint(k)) } sort.Strings(keyOrder) @@ -182,6 +185,12 @@ func main() { if coords, ok := v.(map[string]interface{})["coords"].(string); ok { fmt.Println("Coords:", coords) } + if boxPubKey, ok := v.(map[string]interface{})["box_pub_key"].(string); ok { + fmt.Println("Public encryption key:", boxPubKey) + } + if boxSigKey, ok := v.(map[string]interface{})["box_sig_key"].(string); ok { + fmt.Println("Public signing key:", boxPubKey) + } } case "getswitchqueues": maximumqueuesize := float64(4194304)