diff options
Diffstat (limited to 'protocols/luci-proto-yggdrasil/root')
-rwxr-xr-x | protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil b/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil index d4545277ab..35d6627be7 100755 --- a/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil +++ b/protocols/luci-proto-yggdrasil/root/usr/libexec/rpcd/luci.yggdrasil @@ -16,12 +16,12 @@ case "$1" in case "$2" in generateKeyPair) json_load "$(yggdrasil -genconf -json)" - json_get_vars PublicKey PrivateKey + json_get_vars PrivateKey json_cleanup json_init json_add_object "keys" json_add_string "priv" "$PrivateKey" - json_add_string "pub" "$PublicKey" + json_add_string "pub" "${PrivateKey:64}" json_close_object json_dump ;; |