|
@@ -39,7 +39,6 @@ KEYSERVER_PORT=11371
|
39
|
39
|
KEYSERVER_ONION_PORT=8122
|
40
|
40
|
KEYSERVER_DOMAIN_NAME=
|
41
|
41
|
KEYSERVER_CODE=
|
42
|
|
-KEYSERVER_DUMP_URL="https://keyserver.mattrude.com/dump/current/"
|
43
|
42
|
|
44
|
43
|
keyserver_variables=(ONION_ONLY
|
45
|
44
|
MY_USERNAME
|
|
@@ -139,7 +138,7 @@ function keyserver_import_keys {
|
139
|
138
|
dialog --title $"Import public keys database" \
|
140
|
139
|
--backtitle $"Freedombone Control Panel" \
|
141
|
140
|
--defaultno \
|
142
|
|
- --yesno $"\nThis will download multiple gigabytes of data and so will take a long time.\n\nContinue?" 10 60
|
|
141
|
+ --yesno $"\nThis will download many gigabytes of data and so depending on your bandwidth it could take several days.\n\nContinue?" 10 60
|
143
|
142
|
sel=$?
|
144
|
143
|
case $sel in
|
145
|
144
|
1) return;;
|
|
@@ -149,7 +148,9 @@ function keyserver_import_keys {
|
149
|
148
|
mkdir -p /var/lib/sks/dump
|
150
|
149
|
fi
|
151
|
150
|
cd /var/lib/sks/dump
|
152
|
|
- echo $'Getting keyserver dump. This may take a few hours or longer, so be patient.'
|
|
151
|
+ echo $'Getting keyserver dump. This may take a few days or longer, so be patient.'
|
|
152
|
+ rm -rf cd /var/lib/sks/dump/*
|
|
153
|
+ KEYSERVER_DUMP_URL="https://keyserver.mattrude.com/dump/$(date +%F)/"
|
153
|
154
|
wget -crp -e robots=off --level=1 --cut-dirs=3 -nH \
|
154
|
155
|
-A pgp,txt $KEYSERVER_DUMP_URL
|
155
|
156
|
|