mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-15 17:56:05 +00:00
Remove encryption public key options (they are now derived from ed25519 key conversion in IW), also bump link version number
This commit is contained in:
@ -220,11 +220,7 @@ func main() {
|
||||
}
|
||||
// Have we been asked for the node address yet? If so, print it and then stop.
|
||||
getNodeID := func() *crypto.NodeID {
|
||||
if pubkey, err := hex.DecodeString(cfg.EncryptionPublicKey); err == nil {
|
||||
var box crypto.BoxPubKey
|
||||
copy(box[:], pubkey)
|
||||
return crypto.GetNodeID(&box)
|
||||
}
|
||||
// TODO: curve
|
||||
return nil
|
||||
}
|
||||
switch {
|
||||
|
Reference in New Issue
Block a user