#863 Part 3: Add Pale Moon GUI options for Opportunistic Encryption.

This commit is contained in:
wolfbeast 2018-11-05 15:58:39 +01:00 committed by Roy Tam
commit cb8e2c2e59
2 changed files with 23 additions and 0 deletions

View file

@ -50,6 +50,15 @@
name="security.cert_pinning.enforcement_level"
type="int"/>
<!-- Opportunistic Encryption -->
<preference id="network.http.upgrade-insecure-requests"
name="network.http.upgrade-insecure-requests"
type="bool"/>
<preference id="network.http.altsvc.oe"
name="network.http.altsvc.oe"
type="bool"/>
<!-- XSS Filter -->
<!--
<preference id="security.xssfilter.enable" name="security.xssfilter.enable" type="bool"/>
@ -144,6 +153,16 @@
oncommand="gSecurityPane.updateHPKPPref();"/>
</vbox>
</groupbox>
<groupbox id="OpportunisticEncryption">
<caption label="&OpEnc.label;"/>
<checkbox id="enableUIROpEnc"
label="&enableUIROpEnc.label;"
preference="network.http.upgrade-insecure-requests" />
<checkbox id="enableAltSvcOpEnc"
label="&enableAltSvcOpEnc.label;"
preference="network.http.altsvc.oe" />
</groupbox>
<!-- XSS Filter -->
<!--

View file

@ -40,6 +40,10 @@
<!ENTITY enableHPKP.label "Enable Certificate Key Pinning (HPKP)">
<!ENTITY enableHPKP.accesskey "C">
<!ENTITY OpEnc.label "Opportunistic Encryption (OE)">
<!ENTITY enableUIROpEnc.label "Enable Upgrade Insecure Requests">
<!ENTITY enableAltSvcOpEnc.label "Enable HTTP Alternative Services for OE">
<!ENTITY XSSFilt.label "XSS Filter">
<!ENTITY enableXSSFilt.label "Enable XSS filter">
<!ENTITY enableXSSFilt.accesskey "f">