eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui

changeset 7619
ef2b5af23ce7
parent 7609
d5aff4fd0ef8
child 7631
2c7ccb4484bf
diff -r cba5c14bcd5e -r ef2b5af23ce7 eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Mon Jun 15 18:23:27 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Mon Jun 15 19:01:02 2020 +0200
@@ -265,7 +265,7 @@
                 <x>0</x>
                 <y>0</y>
                 <width>637</width>
-                <height>891</height>
+                <height>884</height>
                </rect>
               </property>
               <layout class="QVBoxLayout" name="verticalLayout_6">
@@ -828,6 +828,248 @@
            </item>
           </layout>
          </widget>
+         <widget class="QWidget" name="securityOptionsTab">
+          <attribute name="title">
+           <string>Security Options</string>
+          </attribute>
+          <layout class="QGridLayout" name="gridLayout_7">
+           <item row="0" column="0">
+            <widget class="QLabel" name="label_21">
+             <property name="text">
+              <string>Hardcoded 'tmp' Directories:</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+             </property>
+            </widget>
+           </item>
+           <item row="3" column="0" colspan="2">
+            <widget class="QGroupBox" name="groupBox_11">
+             <property name="title">
+              <string>Weak Cryptographic Keys</string>
+             </property>
+             <layout class="QVBoxLayout" name="verticalLayout_10">
+              <item>
+               <widget class="QGroupBox" name="groupBox_12">
+                <property name="title">
+                 <string>DSA</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_5">
+                 <item>
+                  <widget class="QLabel" name="label_24">
+                   <property name="text">
+                    <string>High Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="dsaHighRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which a DSA key is to be considered very weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QLabel" name="label_25">
+                   <property name="text">
+                    <string>Medium Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="dsaMediumRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which a DSA key is to be considered weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <spacer name="horizontalSpacer_8">
+                   <property name="orientation">
+                    <enum>Qt::Horizontal</enum>
+                   </property>
+                   <property name="sizeHint" stdset="0">
+                    <size>
+                     <width>324</width>
+                     <height>20</height>
+                    </size>
+                   </property>
+                  </spacer>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="groupBox_13">
+                <property name="title">
+                 <string>RSA</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_9">
+                 <item>
+                  <widget class="QLabel" name="label_26">
+                   <property name="text">
+                    <string>High Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="rsaHighRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which a RSA key is to be considered very weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QLabel" name="label_27">
+                   <property name="text">
+                    <string>Medium Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="rsaMediumRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which a RSA key is to be considered weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <spacer name="horizontalSpacer_9">
+                   <property name="orientation">
+                    <enum>Qt::Horizontal</enum>
+                   </property>
+                   <property name="sizeHint" stdset="0">
+                    <size>
+                     <width>40</width>
+                     <height>20</height>
+                    </size>
+                   </property>
+                  </spacer>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+              <item>
+               <widget class="QGroupBox" name="groupBox_14">
+                <property name="title">
+                 <string>Elliptic Curves</string>
+                </property>
+                <layout class="QHBoxLayout" name="horizontalLayout_10">
+                 <item>
+                  <widget class="QLabel" name="label_28">
+                   <property name="text">
+                    <string>High Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="ecHighRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which an Elliptic Curve is to be considered very weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QLabel" name="label_29">
+                   <property name="text">
+                    <string>Medium Risk:</string>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <widget class="QComboBox" name="ecMediumRiskCombo">
+                   <property name="toolTip">
+                    <string>Select the bit length below which an Elliptic Curve is to be considered weak</string>
+                   </property>
+                   <property name="editable">
+                    <bool>false</bool>
+                   </property>
+                  </widget>
+                 </item>
+                 <item>
+                  <spacer name="horizontalSpacer_10">
+                   <property name="orientation">
+                    <enum>Qt::Horizontal</enum>
+                   </property>
+                   <property name="sizeHint" stdset="0">
+                    <size>
+                     <width>40</width>
+                     <height>20</height>
+                    </size>
+                   </property>
+                  </spacer>
+                 </item>
+                </layout>
+               </widget>
+              </item>
+             </layout>
+            </widget>
+           </item>
+           <item row="2" column="1">
+            <widget class="QPlainTextEdit" name="insecureSslProtocolsEdit">
+             <property name="toolTip">
+              <string>Enter the names of insecure SSL protocols and methods (one per line)</string>
+             </property>
+            </widget>
+           </item>
+           <item row="2" column="0">
+            <widget class="QLabel" name="label_23">
+             <property name="text">
+              <string>Insecure SSL Protocols:</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="0">
+            <widget class="QLabel" name="label_22">
+             <property name="text">
+              <string>Insecure Hashes:</string>
+             </property>
+            </widget>
+           </item>
+           <item row="1" column="1">
+            <widget class="E5ClearableLineEdit" name="hashesEdit">
+             <property name="toolTip">
+              <string>Enter a list of hash methods to be considered insecure separated by comma</string>
+             </property>
+            </widget>
+           </item>
+           <item row="4" column="0" colspan="2">
+            <widget class="QCheckBox" name="typedExceptionsCheckBox">
+             <property name="toolTip">
+              <string>Select to also check for insecure exception handling for typed exceptions</string>
+             </property>
+             <property name="text">
+              <string>Check Typed Exceptions</string>
+             </property>
+            </widget>
+           </item>
+           <item row="0" column="1">
+            <widget class="QPlainTextEdit" name="tmpDirectoriesEdit">
+             <property name="toolTip">
+              <string>Enter directory names (one per line) to be checked for</string>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </widget>
         </widget>
        </item>
        <item>
@@ -907,6 +1149,13 @@
        <item>
         <layout class="QVBoxLayout" name="verticalLayout_7">
          <item>
+          <widget class="QLabel" name="securityNoteLabel">
+           <property name="text">
+            <string>&lt;b&gt;Note:&lt;/b&gt; Mark reviewed security issues with a &quot;&lt;b&gt;#  secok&lt;/b&gt;&quot; comment.</string>
+           </property>
+          </widget>
+         </item>
+         <item>
           <widget class="QTreeWidget" name="resultList">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
@@ -1089,13 +1338,23 @@
   <tabstop>lineComplexityScoreSpinBox</tabstop>
   <tabstop>minAnnotationsCoverageSpinBox</tabstop>
   <tabstop>maxAnnotationsComplexitySpinBox</tabstop>
+  <tabstop>tmpDirectoriesEdit</tabstop>
+  <tabstop>hashesEdit</tabstop>
+  <tabstop>insecureSslProtocolsEdit</tabstop>
+  <tabstop>dsaHighRiskCombo</tabstop>
+  <tabstop>dsaMediumRiskCombo</tabstop>
+  <tabstop>rsaHighRiskCombo</tabstop>
+  <tabstop>rsaMediumRiskCombo</tabstop>
+  <tabstop>ecHighRiskCombo</tabstop>
+  <tabstop>ecMediumRiskCombo</tabstop>
+  <tabstop>typedExceptionsCheckBox</tabstop>
+  <tabstop>resetDefaultButton</tabstop>
   <tabstop>loadDefaultButton</tabstop>
   <tabstop>storeDefaultButton</tabstop>
-  <tabstop>resetDefaultButton</tabstop>
   <tabstop>startButton</tabstop>
   <tabstop>resultList</tabstop>
+  <tabstop>fixButton</tabstop>
   <tabstop>restartButton</tabstop>
-  <tabstop>fixButton</tabstop>
  </tabstops>
  <resources/>
  <connections>

eric ide

mercurial