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
75d6de30
Commit
75d6de30
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Menu option to fix stig test failures
parent
80be0524
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-sec
+36
-28
36 additions, 28 deletions
src/freedombone-sec
with
36 additions
and
28 deletions
src/freedombone-sec
+
36
−
28
View file @
75d6de30
...
...
@@ -969,22 +969,23 @@ function menu_security_settings {
trap
"rm -f
$data
"
0 1 2 5 15
dialog
--backtitle
$"Freedombone Control Panel"
\
--title
$"Security Settings"
\
--radiolist
$"Choose an operation:"
2
2
76 2
2
\
--radiolist
$"Choose an operation:"
2
3
76 2
3
\
1
$"Run STIG tests"
off
\
2
$"Show ssh host public key"
off
\
3
$"Tor bridges"
off
\
4
$"Password storage"
off
\
5
$"Export passwords"
off
\
6
$"Regenerate ssh host keys"
off
\
7
$"Regenerate Diffie-Hellman keys"
off
\
8
$"Update cipersuite"
off
\
9
$"Create a new Let's Encrypt certificate"
off
\
10
$"Renew Let's Encrypt certificate"
off
\
11
$"Delete a Let's Encrypt certificate"
off
\
12
$"Enable GPG based authentication (monkeysphere)"
off
\
13
$"Register a website with monkeysphere"
off
\
14
$"Allow ssh login with passwords"
off
\
15
$"Go Back/Exit"
on 2>
$data
2
$"Fix STIG test failures"
off
\
3
$"Show ssh host public key"
off
\
4
$"Tor bridges"
off
\
5
$"Password storage"
off
\
6
$"Export passwords"
off
\
7
$"Regenerate ssh host keys"
off
\
8
$"Regenerate Diffie-Hellman keys"
off
\
9
$"Update cipersuite"
off
\
10
$"Create a new Let's Encrypt certificate"
off
\
11
$"Renew Let's Encrypt certificate"
off
\
12
$"Delete a Let's Encrypt certificate"
off
\
13
$"Enable GPG based authentication (monkeysphere)"
off
\
14
$"Register a website with monkeysphere"
off
\
15
$"Allow ssh login with passwords"
off
\
16
$"Go Back/Exit"
on 2>
$data
sel
=
$?
case
$sel
in
1
)
exit
1
;;
...
...
@@ -1014,53 +1015,60 @@ function menu_security_settings {
exit
0
;;
2
)
clear
echo
$'Fixing any STIG failures...'
echo
''
${
PROJECT_NAME
}
-tests
--stig
fix
exit
0
;;
3
)
dialog
--title
$"SSH host public keys"
\
--msgbox
"
\n
$(
get_ssh_server_key
)
"
12 60
exit
0
;;
3
)
4
)
menu_tor_bridges
exit
0
;;
4
)
5
)
store_passwords
exit
0
;;
5
)
6
)
export_passwords
exit
0
;;
6
)
7
)
regenerate_ssh_host_keys
;;
7
)
8
)
regenerate_dh_keys
;;
8
)
9
)
interactive_setup
update_ciphersuite
;;
9
)
10
)
create_letsencrypt
;;
1
0
)
1
1
)
renew_letsencrypt
;;
1
1
)
1
2
)
delete_letsencrypt
;;
1
2
)
1
3
)
enable_monkeysphere
;;
1
3
)
1
4
)
register_website
;;
1
4
)
1
5
)
allow_ssh_passwords
change_ssh_settings
exit
0
;;
1
5
)
1
6
)
exit
0
;;
esac
...
...
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