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:
Neil Alexander 2021-05-10 22:06:38 +01:00
parent 6cb958e3dc
commit bb92e61e68
5 changed files with 8 additions and 39 deletions

View file

@ -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