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
dfe18fb8
Commit
dfe18fb8
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Keep track of sks onion domain
parent
73397491
No related branches found
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
+6
-3
6 additions, 3 deletions
src/freedombone-app-keyserver
with
6 additions
and
3 deletions
src/freedombone-app-keyserver
+
6
−
3
View file @
dfe18fb8
...
...
@@ -149,6 +149,7 @@ function remove_keyserver {
firewall_remove 11372 tcp
sed
-i
'/keyserver/d'
$COMPLETION_FILE
sed
-i
'/sks onion/d'
$COMPLETION_FILE
if
[
-d
/var/lib/sks
]
;
then
rm
-rf
/var/lib/sks
fi
...
...
@@ -299,10 +300,11 @@ function install_keyserver {
onion_update
wait_for_onion_service
'sks'
if
[
!
-f
/var/lib/tor/hidden_service_
xmpp
/hostname
]
;
then
echo
$'
xmpp
onion site hostname not found'
exit
65349
if
[
!
-f
/var/lib/tor/hidden_service_
sks
/hostname
]
;
then
echo
$'
sks
onion site hostname not found'
exit
8352982
fi
SKS_ONION_HOSTNAME
=
$(
cat
/var/lib/tor/hidden_service_sks/hostname
)
KEYSERVER_ONION_HOSTNAME
=
$(
add_onion_service keyserver 80
${
KEYSERVER_ONION_PORT
}
)
...
...
@@ -410,6 +412,7 @@ function install_keyserver {
set_completion_param
"keyserver domain"
"
$KEYSERVER_DOMAIN_NAME
"
set_completion_param
"keyserver onion domain"
"
$KEYSERVER_ONION_HOSTNAME
"
set_completion_param
"sks onion domain"
"
$SKS_ONION_HOSTNAME
"
APP_INSTALLED
=
1
}
...
...
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