mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-11 10:46:28 +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:
@ -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
|
||||
|
@ -22,7 +22,7 @@ func version_getBaseMetadata() version_metadata {
|
||||
return version_metadata{
|
||||
meta: [4]byte{'m', 'e', 't', 'a'},
|
||||
ver: 0,
|
||||
minorVer: 0,
|
||||
minorVer: 1,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user