fix: signal message encryption

This commit is contained in:
braginini
2021-05-05 10:40:53 +02:00
parent 4e348b733a
commit f171f6755b
5 changed files with 26 additions and 21 deletions

View File

@@ -42,5 +42,5 @@ var (
)
func init() {
upCmd.PersistentFlags().IntVar(&port, "port", 10000, "Server port to listen on (e.g. 10000)")
signalCmd.PersistentFlags().IntVar(&port, "port", 10000, "Server port to listen on (e.g. 10000)")
}

View File

@@ -10,6 +10,10 @@ import (
"os"
)
func toByte32(key wgtypes.Key) *[32]byte {
return (*[32]byte)(&key)
}
var (
upCmd = &cobra.Command{
Use: "up",