mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03: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:
parent
6cb958e3dc
commit
bb92e61e68
5 changed files with 8 additions and 39 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue