Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
79cfba46
Commit
79cfba46
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Download keyserver dump using date
Because downloading the full data will likely take longer than a day
parent
79b5bd81
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-keyserver
+4
-3
4 additions, 3 deletions
src/freedombone-app-keyserver
with
4 additions
and
3 deletions
src/freedombone-app-keyserver
+
4
−
3
View file @
79cfba46
...
...
@@ -39,7 +39,6 @@ KEYSERVER_PORT=11371
KEYSERVER_ONION_PORT
=
8122
KEYSERVER_DOMAIN_NAME
=
KEYSERVER_CODE
=
KEYSERVER_DUMP_URL
=
"https://keyserver.mattrude.com/dump/current/"
keyserver_variables
=(
ONION_ONLY
MY_USERNAME
...
...
@@ -139,7 +138,7 @@ function keyserver_import_keys {
dialog
--title
$"Import public keys database"
\
--backtitle
$"Freedombone Control Panel"
\
--defaultno
\
--yesno
$"
\n
This will download m
ultiple
gigabytes of data and so
will take a long time
.
\n\n
Continue?"
10 60
--yesno
$"
\n
This will download m
any
gigabytes of data and so
depending on your bandwidth it could take several days
.
\n\n
Continue?"
10 60
sel
=
$?
case
$sel
in
1
)
return
;;
...
...
@@ -149,7 +148,9 @@ function keyserver_import_keys {
mkdir
-p
/var/lib/sks/dump
fi
cd
/var/lib/sks/dump
echo
$'Getting keyserver dump. This may take a few hours or longer, so be patient.'
echo
$'Getting keyserver dump. This may take a few days or longer, so be patient.'
rm
-rf
cd
/var/lib/sks/dump/
*
KEYSERVER_DUMP_URL
=
"https://keyserver.mattrude.com/dump/
$(
date
+%F
)
/"
wget
-crp
-e
robots
=
off
--level
=
1
--cut-dirs
=
3
-nH
\
-A
pgp,txt
$KEYSERVER_DUMP_URL
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment