wireguard: introduce NewKeyPair, NewPrivateKey, and PrivateKey.Public()

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-08-23 00:18:31 +00:00
parent 1d8c818ec4
commit e2f831fd6a
3 changed files with 49 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ require (
github.com/burntSushi/toml v0.3.1
github.com/mgechev/revive v1.3.2
github.com/spf13/cobra v1.7.0
golang.org/x/crypto v0.12.0
gopkg.in/gcfg.v1 v1.2.3
)