projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99c7c36
)
yggdrasil: support public key in config generation
author
William Fleurant
<meshnet@protonmail.com>
Sat, 18 Nov 2023 08:41:50 +0000
(09:41 +0100)
committer
William Fleurant
<meshnet@protonmail.com>
Sat, 18 Nov 2023 08:41:50 +0000
(09:41 +0100)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
net/yggdrasil/files/yggdrasil.sh
patch
|
blob
|
history
diff --git
a/net/yggdrasil/files/yggdrasil.sh
b/net/yggdrasil/files/yggdrasil.sh
index a850920dc45d50d4a91269c3cb9a8d61a106e599..9d3c6c3b74c8537483eb59d1d740419a8d8e343d 100755
(executable)
--- a/
net/yggdrasil/files/yggdrasil.sh
+++ b/
net/yggdrasil/files/yggdrasil.sh
@@
-91,10
+91,10
@@
proto_yggdrasil_add_string() {
proto_yggdrasil_generate_keypair() {
json_load "$(yggdrasil -genconf -json)"
- json_get_vars P
ublicKey P
rivateKey
+ json_get_vars PrivateKey
json_cleanup
private_key=$PrivateKey
- public_key=$
PublicKey
+ public_key=$
{PrivateKey:64}
}
proto_yggdrasil_setup() {