Title: [237727] trunk
- Revision
- 237727
- Author
- ph...@webkit.org
- Date
- 2018-11-02 03:04:22 -0700 (Fri, 02 Nov 2018)
Log Message
[Apache] Self-signed SSL certificate RSA key is considered too weak
https://bugs.webkit.org/show_bug.cgi?id=191156
Reviewed by Michael Catanzaro.
Tools:
* Scripts/webkitpy/common/system/pemfile.py:
LayoutTests:
Regenerate the self-signed SSL certificate with a 2048 bits RSA key.
* http/conf/webkit-httpd.pem:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (237726 => 237727)
--- trunk/LayoutTests/ChangeLog 2018-11-02 07:54:19 UTC (rev 237726)
+++ trunk/LayoutTests/ChangeLog 2018-11-02 10:04:22 UTC (rev 237727)
@@ -1,3 +1,14 @@
+2018-11-01 Philippe Normand <pnorm...@igalia.com>
+
+ [Apache] Self-signed SSL certificate RSA key is considered too weak
+ https://bugs.webkit.org/show_bug.cgi?id=191156
+
+ Reviewed by Michael Catanzaro.
+
+ Regenerate the self-signed SSL certificate with a 2048 bits RSA key.
+
+ * http/conf/webkit-httpd.pem:
+
2018-11-01 Antoine Quint <grao...@apple.com>
[Web Animations] Make document.getAnimations() return declarative animations in the correct order
Modified: trunk/LayoutTests/http/conf/webkit-httpd.pem (237726 => 237727)
--- trunk/LayoutTests/http/conf/webkit-httpd.pem 2018-11-02 07:54:19 UTC (rev 237726)
+++ trunk/LayoutTests/http/conf/webkit-httpd.pem 2018-11-02 10:04:22 UTC (rev 237727)
@@ -1,28 +1,53 @@
------BEGIN RSA PRIVATE KEY-----
-MIICXQIBAAKBgQCmcXbusrr8zQr8snIb0OVQibVfgv7zPjh/5xdcrKOejJzp3epA
-AF4TITeFR9vzWIwkmkcRoY+IbQNhh7kefGUYD47bvVamJMtq5cGYVs0HngT+KTMa
-NGH/G44KkFIOaz/b5d/JNKONrlqwxqXS+m6IY4l/E1Ff25ZjND5TaEvI1wIDAQAB
-AoGBAIcDv4A9h6UOBv2ZGyspNvsv2erSblGOhXJrWO4aNNemJJspIp4sLiPCbDE3
-a1po17XRWBkbPz1hgL6axDXQnoeo++ebfrvRSed+Fys4+6SvuSrPOv6PmWTBT/Wa
-GpO+tv48JUNxC/Dy8ROixBXOViuIBEFq3NfVH4HU3+RG20NhAkEA1L3RAhdfPkLI
-82luSOYE3Eq44lICb/yZi+JEihwSeZTJKdZHwYD8KVCjOtjGrOmyEyvThrcIACQz
-JLEreVh33wJBAMhJm9pzJJNkIyBgiXA66FAwbhdDzSTPx0OBjoVWoj6u7jzGvIFT
-Cn1aiTBYzzsiMCaCx+W3e6pK/DcvHSwKrgkCQHZMcxwBmSHLC2lnmD8LQWqqVnLr
-fZV+VnfVw501DQT0uoP8NvygWBg1Uf9YKepfLXnBpidEQjup5ZKivnUEv+sCQA8N
-6VcMHI2vkyxV1T7ITrnoSf4ZrIu9yl56mHnRPzSy9VlAHt8hnMI7UeB+bGUndrMO
-VXQgzHzKUhbbxbePvfECQQDTtkOuhJyKDfHCxLDcwNpi+T6OWTEfCw/cq9ZWDbA7
-yCX81pQxfZkfMIS1YFIOGHovK0rMMTraCe+iDNYtVz/L
------END RSA PRIVATE KEY-----
+# This certificate was generated with the following command:
+# openssl req -x509 -newkey rsa:2048 -nodes -keyout webkit-httpd.pem -out cert.pem
+# Just press enter for all questions asked by the tool.
+# Then: cat cert.pem >> webkit-httpd.pem
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDAFswRGXs5cbQG
+XhWngKVy3dX4rQ2BgWR4BRYLqB5blZ6o/B5Fl1r2UxK04E+JmomS3FE12Ex4c4nP
+7pHQHLlo5g9MkPiRp1cuVeGAETVLAOYC/bsnnpfk3s9jtZw2iFGYZ2qKxJzlahGi
+pIExDsWTh8cq+S3gsc2vDxWDa7xcAgMXpbNiXDOTZMFd0GyC7xsqk4DvuirOsBzg
+yM87Vvu3axslf3Ie3GqHSjFcONOioLl7LTiquKGYuLwE/UAXsTd1fmcVdMHMinBx
+nifQDW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opKSp6UmNHuZDYVEV7FPAA
+lKSO9Y0=
-----END CERTIFICATE-----
Modified: trunk/Tools/ChangeLog (237726 => 237727)
--- trunk/Tools/ChangeLog 2018-11-02 07:54:19 UTC (rev 237726)
+++ trunk/Tools/ChangeLog 2018-11-02 10:04:22 UTC (rev 237727)
@@ -1,3 +1,12 @@
+2018-11-01 Philippe Normand <pnorm...@igalia.com>
+
+ [Apache] Self-signed SSL certificate RSA key is considered too weak
+ https://bugs.webkit.org/show_bug.cgi?id=191156
+
+ Reviewed by Michael Catanzaro.
+
+ * Scripts/webkitpy/common/system/pemfile.py:
+
2018-11-02 Zan Dobersek <zdober...@igalia.com>
Unreviewed follow-up to r237678.
Modified: trunk/Tools/Scripts/webkitpy/common/system/pemfile.py (237726 => 237727)
--- trunk/Tools/Scripts/webkitpy/common/system/pemfile.py 2018-11-02 07:54:19 UTC (rev 237726)
+++ trunk/Tools/Scripts/webkitpy/common/system/pemfile.py 2018-11-02 10:04:22 UTC (rev 237727)
@@ -68,7 +68,7 @@
@property
def private_key(self):
"""Return private key"""
- return self.get(RSA_PRIVATE_KEY)
+ return self.get(PRIVATE_KEY)
@property
def csr(self):
@@ -91,7 +91,7 @@
END_MARKER = "END"
CERTIFICATE_REQUEST = "CERTIFICATE REQUEST"
-RSA_PRIVATE_KEY = "RSA PRIVATE KEY"
+PRIVATE_KEY = "PRIVATE KEY"
CERTIFICATE = "CERTIFICATE"
BEGIN_PATTERN = re.compile("^{}BEGIN (.+){}$".format(MARKER, MARKER))
Modified: trunk/Tools/Scripts/webkitpy/common/system/pemfile_unittest.py (237726 => 237727)
--- trunk/Tools/Scripts/webkitpy/common/system/pemfile_unittest.py 2018-11-02 07:54:19 UTC (rev 237726)
+++ trunk/Tools/Scripts/webkitpy/common/system/pemfile_unittest.py 2018-11-02 10:04:22 UTC (rev 237727)
@@ -57,7 +57,7 @@
def test_parse_bad_format(self):
with self.assertRaises(BadFormatError):
# Partial contents raises format error
- Pem(trim("""-----BEGIN RSA PRIVATE KEY-----
+ Pem(trim("""-----BEGIN PRIVATE KEY-----
MIICXQIBAAKBgQCmcXbusrr8zQr8snIb0OVQibVfgv7zPjh/5xdcrKOejJzp3epA
AF4TITeFR9vzWIwkmkcRoY+IbQNhh7kefGUYD47bvVamJMtq5cGYVs0HngT+KTMa
NGH/G44KkFIOaz/b5d/JNKONrlqwxqXS+m6IY4l/E1Ff25ZjND5TaEvI1wIDAQAB
@@ -85,7 +85,7 @@
-----END FOOBAR-----"""))
def setUp(self):
- self.pem_contents = trim("""-----BEGIN RSA PRIVATE KEY-----
+ self.pem_contents = trim("""-----BEGIN PRIVATE KEY-----
MIICXQIBAAKBgQCmcXbusrr8zQr8snIb0OVQibVfgv7zPjh/5xdcrKOejJzp3epA
AF4TITeFR9vzWIwkmkcRoY+IbQNhh7kefGUYD47bvVamJMtq5cGYVs0HngT+KTMa
NGH/G44KkFIOaz/b5d/JNKONrlqwxqXS+m6IY4l/E1Ff25ZjND5TaEvI1wIDAQAB
@@ -99,7 +99,7 @@
6VcMHI2vkyxV1T7ITrnoSf4ZrIu9yl56mHnRPzSy9VlAHt8hnMI7UeB+bGUndrMO
VXQgzHzKUhbbxbePvfECQQDTtkOuhJyKDfHCxLDcwNpi+T6OWTEfCw/cq9ZWDbA7
yCX81pQxfZkfMIS1YFIOGHovK0rMMTraCe+iDNYtVz/L
- -----END RSA PRIVATE KEY-----
+ -----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIIB9zCCAWACCQDjWWTeC6BQvTANBgkqhkiG9w0BAQQFADBAMQswCQYDVQQGEwJB
VTETMBEGA1UECBMKU29tZS1TdGF0ZTEcMBoGA1UEChMTV2ViS2l0IExheW91dCBU
@@ -115,7 +115,7 @@
-----END CERTIFICATE-----
""") + "\n"
- self.private_key = trim("""-----BEGIN RSA PRIVATE KEY-----
+ self.private_key = trim("""-----BEGIN PRIVATE KEY-----
MIICXQIBAAKBgQCmcXbusrr8zQr8snIb0OVQibVfgv7zPjh/5xdcrKOejJzp3epA
AF4TITeFR9vzWIwkmkcRoY+IbQNhh7kefGUYD47bvVamJMtq5cGYVs0HngT+KTMa
NGH/G44KkFIOaz/b5d/JNKONrlqwxqXS+m6IY4l/E1Ff25ZjND5TaEvI1wIDAQAB
@@ -129,7 +129,7 @@
6VcMHI2vkyxV1T7ITrnoSf4ZrIu9yl56mHnRPzSy9VlAHt8hnMI7UeB+bGUndrMO
VXQgzHzKUhbbxbePvfECQQDTtkOuhJyKDfHCxLDcwNpi+T6OWTEfCw/cq9ZWDbA7
yCX81pQxfZkfMIS1YFIOGHovK0rMMTraCe+iDNYtVz/L
- -----END RSA PRIVATE KEY-----
+ -----END PRIVATE KEY-----
""") + "\n"
self.certificate = trim("""-----BEGIN CERTIFICATE-----
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes