Browse Source

Remove pinning options from security menu

Possibly they might be reintroduced some time later, but for now pinning just causes trouble
Bob Mottram 8 years ago
parent
commit
6cc14f3f53
1 changed files with 2 additions and 10 deletions
  1. 2
    10
      src/freedombone-sec

+ 2
- 10
src/freedombone-sec View File

@@ -729,7 +729,7 @@ function housekeeping {
729 729
     cmd=(dialog --separate-output \
730 730
                 --backtitle "Freedombone Security Configuration" \
731 731
                 --title "Housekeeping options" \
732
-                --checklist "If you don't need to do any of these things then just press Enter:" 17 76 17)
732
+                --checklist "If you don't need to do any of these things then just press Enter:" 15 76 15)
733 733
     options=(1 "Regenerate ssh host keys" off
734 734
              2 "Regenerate Diffie-Hellman keys" off
735 735
              3 "Update cipersuite" off
@@ -737,9 +737,7 @@ function housekeeping {
737 737
              5 "Renew Let's Encrypt certificate" off
738 738
              6 "Enable GPG based authentication (monkeysphere)" off
739 739
              7 "Register a website with monkeysphere" off
740
-             8 "Pin all TLS certificates" off
741
-             9 "Remove pinning for a domain" off
742
-             10 "Go Back/Exit" on)
740
+             8 "Go Back/Exit" on)
743 741
     choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
744 742
     clear
745 743
     for choice in $choices
@@ -767,12 +765,6 @@ function housekeeping {
767 765
                 register_website
768 766
                 ;;
769 767
             8)
770
-                pin_all_tls_certs
771
-                ;;
772
-            9)
773
-                remove_pinning
774
-                ;;
775
-            10)
776 768
                 exit 0
777 769
                 ;;
778 770
         esac