Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
a68fd642
Commit
a68fd642
authored
Aug 22, 2014
by
Helmuth Gronewold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The secret key that encrypts the backups should not be world readable.
parent
f7c7d5b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
management.sh
setup/management.sh
+2
-0
No files found.
setup/management.sh
View file @
a68fd642
...
...
@@ -10,6 +10,8 @@ mkdir -p $STORAGE_ROOT/backup
if
[
!
-f
$STORAGE_ROOT
/backup/secret_key.txt
]
;
then
openssl rand
-base64
2048
>
$STORAGE_ROOT
/backup/secret_key.txt
fi
# The secret key to encrypt backups should not be world readable.
chmod
0600
$STORAGE_ROOT
/backup/secret_key.txt
# Link the management server daemon into a well known location.
rm
-f
/usr/local/bin/mailinabox-daemon
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment