mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +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
|
@ -52,16 +52,10 @@ func (c *Core) _init() error {
|
|||
}
|
||||
|
||||
c.secret = ed25519.PrivateKey(sigPriv)
|
||||
sigPub := c.secret.Public()
|
||||
c.public = sigPub.(ed25519.PublicKey)
|
||||
c.public = c.secret.Public().(ed25519.PublicKey)
|
||||
|
||||
pc, err := iw.NewPacketConn(c.secret)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
c.PacketConn = pc
|
||||
|
||||
return nil
|
||||
c.PacketConn, err = iw.NewPacketConn(c.secret)
|
||||
return err
|
||||
}
|
||||
|
||||
// If any static peers were provided in the configuration above then we should
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue