From 9dc6e1d464c23d9c6fc1c2f691e08a5c1a5358fa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 7 Mar 2017 10:37:16 +0000 Subject: [PATCH] Remove prefix from public key --- src/freedombone-app-tahoelafs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-tahoelafs b/src/freedombone-app-tahoelafs index 3e9a60a5..c9cd6052 100755 --- a/src/freedombone-app-tahoelafs +++ b/src/freedombone-app-tahoelafs @@ -466,7 +466,7 @@ function get_tahoelafs_storage_hostname { } function get_tahoelafs_public_key { - echo "$(cat /home/tahoelafs/storage/node.pubkey | grep 'v0-')" + echo "$(cat /home/tahoelafs/storage/node.pubkey | grep 'v0-' | sed 's|pub-||g')" } function add_tahoelafs_server {