diff --git a/net/yggdrasil/files/yggdrasil.sh b/net/yggdrasil/files/yggdrasil.sh index a850920dc4..9d3c6c3b74 100755 --- 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 PublicKey PrivateKey + json_get_vars PrivateKey json_cleanup private_key=$PrivateKey - public_key=$PublicKey + public_key=${PrivateKey:64} } proto_yggdrasil_setup() {