summaryrefslogtreecommitdiff
path: root/libre/icecat/disable-crypto-hardening-settings.patch
blob: 77517c6d0ca06712aa7bce714c1a4124d1a6b6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
diff -Nur icecat-38.5.2.orig/browser/app/profile/icecat.js icecat-38.5.2/browser/app/profile/icecat.js
--- icecat-38.5.2.orig/browser/app/profile/icecat.js	2015-12-24 18:24:09.000000000 -0300
+++ icecat-38.5.2/browser/app/profile/icecat.js	2015-12-28 16:06:00.046009585 -0300
@@ -2047,20 +2047,20 @@
 // Crypto hardening
 // https://gist.github.com/haasn/69e19fc2fe0e25f3cff5
 //General settings
-pref("security.tls.unrestricted_rc4_fallback", false);
-pref("security.tls.insecure_fallback_hosts.use_static_list", false);
-pref("security.tls.version.min", 1);
-pref("security.ssl.require_safe_negotiation", true);
-pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
-pref("security.ssl3.rsa_seed_sha", true);
-pref("security.OCSP.enabled", 1);
-pref("security.OCSP.require", true);
+//pref("security.tls.unrestricted_rc4_fallback", false);
+//pref("security.tls.insecure_fallback_hosts.use_static_list", false);
+//pref("security.tls.version.min", 1);
+//pref("security.ssl.require_safe_negotiation", true);
+//pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
+//pref("security.ssl3.rsa_seed_sha", true);
+//pref("security.OCSP.enabled", 1);
+//pref("security.OCSP.require", true);
 //Disable unnecessary protocols
-pref("security.ssl3.rsa_rc4_128_sha", false);
-pref("security.ssl3.rsa_rc4_128_md5", false);
-pref("security.ssl3.rsa_des_ede3_sha", false);
-pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false);
-pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false);
+//pref("security.ssl3.rsa_rc4_128_sha", false);
+//pref("security.ssl3.rsa_rc4_128_md5", false);
+//pref("security.ssl3.rsa_des_ede3_sha", false);
+//pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false);
+//pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false);
 // https://directory.fsf.org/wiki/Disable_DHE
 // Avoid logjam attack
 pref("security.ssl3.dhe_rsa_aes_128_sha", false);
diff -Nur icecat-38.5.2.orig/mobile/android/app/mobile.js icecat-38.5.2/mobile/android/app/mobile.js
--- icecat-38.5.2.orig/mobile/android/app/mobile.js	2015-12-24 18:24:09.000000000 -0300
+++ icecat-38.5.2/mobile/android/app/mobile.js	2015-12-28 16:06:32.144427580 -0300
@@ -1009,20 +1009,20 @@
 // Crypto hardening
 // https://gist.github.com/haasn/69e19fc2fe0e25f3cff5
 //General settings
-pref("security.tls.unrestricted_rc4_fallback", false);
-pref("security.tls.insecure_fallback_hosts.use_static_list", false);
-pref("security.tls.version.min", 1);
-pref("security.ssl.require_safe_negotiation", true);
-pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
-pref("security.ssl3.rsa_seed_sha", true);
-pref("security.OCSP.enabled", 1);
-pref("security.OCSP.require", true);
+//pref("security.tls.unrestricted_rc4_fallback", false);
+//pref("security.tls.insecure_fallback_hosts.use_static_list", false);
+//pref("security.tls.version.min", 1);
+//pref("security.ssl.require_safe_negotiation", true);
+//pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
+//pref("security.ssl3.rsa_seed_sha", true);
+//pref("security.OCSP.enabled", 1);
+//pref("security.OCSP.require", true);
 //Disable unnecessary protocols
-pref("security.ssl3.rsa_rc4_128_sha", false);
-pref("security.ssl3.rsa_rc4_128_md5", false);
-pref("security.ssl3.rsa_des_ede3_sha", false);
-pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false);
-pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false);
+//pref("security.ssl3.rsa_rc4_128_sha", false);
+//pref("security.ssl3.rsa_rc4_128_md5", false);
+//pref("security.ssl3.rsa_des_ede3_sha", false);
+//pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false);
+//pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false);
 // https://directory.fsf.org/wiki/Disable_DHE
 // Avoid logjam attack
 pref("security.ssl3.dhe_rsa_aes_128_sha", false);