Skip to content
Snippets Groups Projects
Commit 6cc14f3f authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove pinning options from security menu

Possibly they might be reintroduced some time later, but for now pinning just causes trouble
parent 490f5fca
No related branches found
No related tags found
No related merge requests found
......@@ -729,7 +729,7 @@ function housekeeping {
cmd=(dialog --separate-output \
--backtitle "Freedombone Security Configuration" \
--title "Housekeeping options" \
--checklist "If you don't need to do any of these things then just press Enter:" 17 76 17)
--checklist "If you don't need to do any of these things then just press Enter:" 15 76 15)
options=(1 "Regenerate ssh host keys" off
2 "Regenerate Diffie-Hellman keys" off
3 "Update cipersuite" off
......@@ -737,9 +737,7 @@ function housekeeping {
5 "Renew Let's Encrypt certificate" off
6 "Enable GPG based authentication (monkeysphere)" off
7 "Register a website with monkeysphere" off
8 "Pin all TLS certificates" off
9 "Remove pinning for a domain" off
10 "Go Back/Exit" on)
8 "Go Back/Exit" on)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
......@@ -767,12 +765,6 @@ function housekeeping {
register_website
;;
8)
pin_all_tls_certs
;;
9)
remove_pinning
;;
10)
exit 0
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment