Skip to content

Commit

Permalink
Make tests pass after 2028 (#4403)
Browse files Browse the repository at this point in the history
This PR was done while working on reproducible builds for openSUSE.
  • Loading branch information
Bernhard M. Wiedemann authored Jan 6, 2021
1 parent 76ef459 commit a07fc39
Show file tree
Hide file tree
Showing 9 changed files with 392 additions and 392 deletions.
10 changes: 5 additions & 5 deletions distributed/tests/make_tls_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
database = $dir/index.txt
crlnumber = $dir/crl.txt
default_md = sha256
default_days = 3600
default_crl_days = 3600
default_days = 360000
default_crl_days = 360000
certificate = tls-ca-cert.pem
private_key = tls-ca-key.pem
serial = $dir/serial
Expand Down Expand Up @@ -84,7 +84,7 @@ def make_cert_key(hostname, sign=False):
"req",
"-new",
"-days",
"3650",
"365242",
"-nodes",
"-newkey",
"rsa:2048",
Expand Down Expand Up @@ -154,7 +154,7 @@ def make_ca():
"req",
"-new",
"-days",
"3650",
"365242",
"-extensions",
"v3_ca",
"-nodes",
Expand All @@ -181,7 +181,7 @@ def make_ca():
"-keyfile",
"tls-ca-key.pem",
"-days",
"3650",
"365242",
"-selfsign",
"-extensions",
"v3_ca",
Expand Down
110 changes: 55 additions & 55 deletions distributed/tests/tls-ca-cert.pem
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,77 @@ Certificate:
Data:
Version: 3 (0x2)
Serial Number:
3f:d8:8a:ed:26:a6:7e:6f:53:9f:fe:85:a4:a3:62:44:65:9f:ff:46
3d:ba:1c:2e:06:59:1d:b8:7d:f0:67:cd:e2:68:3d:e4:70:ac:81:85
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=XY, O=Dask CA, CN=our-ca-server
Validity
Not Before: Dec 13 02:52:10 2018 GMT
Not After : Dec 10 02:52:10 2028 GMT
Not Before: Jan 6 07:46:08 2021 GMT
Not After : Jan 6 07:46:08 3021 GMT
Subject: C=XY, O=Dask CA, CN=our-ca-server
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:d0:49:58:02:6d:4c:db:00:c2:bf:90:d7:95:f6:
87:c0:8d:9c:1e:3b:c4:ed:2c:33:02:2d:be:58:82:
59:2b:7e:4c:91:23:8b:73:2c:97:89:07:2d:ac:93:
5e:39:11:25:75:11:7a:1a:d0:d6:e3:80:e6:e3:5b:
93:db:3d:97:be:bb:96:3f:ff:1d:26:c8:fe:e2:a8:
cb:28:cb:3b:5f:88:05:df:27:81:b1:38:29:d5:77:
6d:f7:e5:9a:19:60:4b:f8:a9:53:00:90:c8:a3:32:
0e:73:0a:3b:51:a9:ab:92:1e:6b:2f:28:82:01:18:
6e:13:fd:69:1a:79:bd:a9:40:cb:70:b7:92:75:1e:
19:0c:b4:3c:c1:7e:55:80:05:be:8d:f0:80:d9:25:
89:74:1a:92:1d:ba:26:a1:65:39:96:50:46:95:e4:
be:29:47:8b:77:0d:11:eb:a1:7a:87:19:14:bf:82:
0a:4d:ca:d4:6d:40:66:4a:5f:12:cd:a3:16:14:19:
a2:8d:7a:07:80:36:04:56:e6:f3:7d:38:c6:75:97:
c9:7c:95:9a:f9:ff:79:6d:c7:40:7a:c2:92:2d:ef:
7a:52:07:de:6b:03:9f:af:17:72:63:53:31:88:57:
76:d5:45:e1:2f:c5:aa:ed:93:d6:46:7e:07:00:cf:
49:eb
00:98:f6:94:70:e6:f7:65:a9:fd:85:9c:a2:e2:ae:
08:3b:c4:93:4a:62:95:c3:19:f9:65:dd:f1:df:28:
ee:0b:e4:a1:a8:7d:68:97:b5:40:45:94:c7:a7:79:
62:0f:dd:ff:87:ea:12:76:ee:91:f1:3f:0e:0e:4f:
bd:b6:8f:26:40:63:08:fb:47:71:8a:0b:ae:71:d9:
86:10:f0:fc:02:e1:37:bb:87:68:3f:cb:67:44:6e:
60:04:64:38:26:40:96:dc:00:94:e0:2a:e5:8d:c8:
a2:9b:d1:12:d0:fa:43:ca:29:e7:42:0c:33:3a:f9:
cf:0a:01:54:3a:bf:02:b2:b4:49:46:6c:3c:d9:b5:
2c:0a:5c:24:0b:5a:0f:66:6e:31:4b:f5:33:4a:67:
61:e5:71:02:02:cb:16:1e:00:ad:bd:a5:8a:60:6b:
ad:09:25:14:8b:d0:ab:60:eb:d5:6b:70:af:9a:b6:
66:36:44:08:6a:6d:c4:92:72:ce:9b:83:a3:54:04:
3e:08:13:8d:0a:0b:4e:7a:4c:da:8e:ba:a0:34:76:
3b:ce:56:9c:d9:6e:19:ac:e9:3a:50:66:90:56:90:
bc:ff:a9:f2:1e:ac:b2:9f:01:7c:96:50:6f:bf:84:
df:22:9c:f6:b1:21:94:8a:79:3c:6c:dc:94:c2:e7:
a7:f7
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
59:66:3D:F8:65:B7:98:7E:C1:E4:31:19:34:E5:A3:0D:2E:3D:F9:38
EB:0C:96:1D:60:5D:3A:39:00:EA:D8:C3:73:B0:4E:C9:D6:B9:5D:5B
X509v3 Authority Key Identifier:
keyid:59:66:3D:F8:65:B7:98:7E:C1:E4:31:19:34:E5:A3:0D:2E:3D:F9:38
keyid:EB:0C:96:1D:60:5D:3A:39:00:EA:D8:C3:73:B0:4E:C9:D6:B9:5D:5B

X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
a2:bd:c7:e4:23:24:4e:da:db:d3:bd:7f:33:87:5f:1f:3b:e8:
fa:19:54:17:eb:60:86:ac:d6:18:47:35:90:88:47:d6:f1:5a:
31:ed:e1:44:b4:16:6a:04:c3:6f:9b:ba:cf:99:14:0a:c8:32:
0a:69:fd:41:c3:67:25:3d:f7:84:31:81:8b:2e:b0:9c:04:74:
2c:0b:87:b2:a8:48:a2:c7:42:bb:90:31:82:a5:51:38:03:df:
e7:aa:76:f7:1a:ae:b9:69:5c:94:62:7f:19:3e:5c:6b:97:99:
9e:4a:9e:4b:34:f5:39:15:fe:12:72:88:7b:1f:be:db:3a:3b:
7f:14:06:7b:ef:b2:fc:c4:ad:82:51:4a:95:6c:23:a5:bb:65:
38:0e:55:70:e1:96:88:bc:29:82:38:48:63:ac:5a:73:20:3c:
d7:39:25:e9:35:46:9b:6b:b1:a0:77:56:a0:a6:30:0f:7e:0e:
12:10:11:41:28:6a:f4:ca:b5:c3:a9:fd:fe:9f:cf:29:5e:26:
d7:a8:4c:28:a5:31:10:c2:07:25:c2:0a:5d:35:73:f7:db:3c:
6b:5d:2f:1a:f1:b0:e7:81:26:22:fe:38:63:2f:3e:5b:a7:d5:
b5:a8:ef:fe:87:b4:6f:2d:5e:7e:48:6c:c0:b9:ca:7f:ab:28:
c3:31:ae:93
08:9b:4d:5a:f0:f0:3d:ef:2e:d2:20:fc:9a:91:41:ba:f6:12:
5b:49:7e:2c:84:4d:f7:cf:2b:54:9c:d3:31:d5:54:da:b5:80:
0f:04:e5:ca:79:81:19:d4:89:c6:55:fa:b0:0d:9d:3a:f7:34:
39:00:3b:db:18:66:45:25:9a:1c:11:02:c0:e3:46:b9:72:37:
a8:49:dc:0a:7f:fd:1b:fb:78:6c:e3:ae:2f:ac:99:dc:bd:3e:
14:12:f2:c3:f9:75:97:7d:d3:74:61:2b:fa:07:78:e5:99:ed:
58:31:87:ee:07:d0:d1:31:b3:b6:e0:90:1b:93:ac:e2:f2:71:
ce:c8:81:56:be:9c:2e:22:a7:8e:6c:29:dc:e8:69:4e:26:af:
41:4d:57:b2:f7:62:a5:d5:33:0e:0d:3d:fb:bb:35:a9:bf:e0:
0a:4e:75:85:d5:39:aa:02:29:d7:a7:20:24:97:2a:48:0f:33:
57:24:8d:11:02:88:c7:19:bb:22:95:e7:7b:09:51:ef:79:71:
40:8e:36:f6:40:4a:df:3c:a4:ca:f3:ac:60:ee:a8:8f:58:38:
88:07:06:78:5b:6c:cd:38:e4:1f:aa:69:d4:a1:ba:dc:59:21:
3b:e5:5c:50:ac:0b:5c:3f:c3:c9:5a:6a:fb:c3:46:5f:97:93:
7f:f1:a7:0f
-----BEGIN CERTIFICATE-----
MIIDTDCCAjSgAwIBAgIU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g4iAcGeFts
zTjkH6pp1KG63FkhO+VcUKwLXD/DyVpq+8NGX5eTf/GnDw==
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions distributed/tests/tls-ca-key.pem
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDQSVgCbUzbAMK/
kNeV9ofAjZweO8TtLDMCLb5YglkrfkyRI4tzLJeJBy2sk145ESV1EXoa0NbjgObj
W5PbPZe+u5Y//x0myP7iqMsoyztfiAXfJ4GxOCnVd2335ZoZYEv4qVMAkMijMg5z
CjtRqauSHmsvKIIBGG4T/Wkaeb2pQMtwt5J1HhkMtDzBflWABb6N8IDZJYl0GpId
uiahZTmWUEaV5L4pR4t3DRHroXqHGRS/ggpNytRtQGZKXxLNoxYUGaKNegeANgRW
5vN9OMZ1l8l8lZr5/3ltx0B6wpIt73pSB95rA5+vF3JjUzGIV3bVReEvxartk9ZG
fgcAz0nrAgMBAAECggEBAIve1PU8RQJEroNKVxvjpCIQdqhu5r2GkvKBmXOChTMJ
640D25+KcHCam3dqtzmHZCoLhH4BhGzeoS5Izy/JWt/AxRNQ1Fi5XUEErPlGEScE
Bz1mIFfMKXuqafSxARzNZ/cibhTRJYtCECX81vzt/cNwHfZbM4Jcz38pC62110GS
hSQOAhZv5TFskzlNrmNEVF0vo48v5CS17H2V6qTqQ1bWfLIl8KgMVdvExxrqeIcf
0wq6QcDZ2vuuTnz8fBMl8q87SoB5oBSqQvkRi67Wv4+8XqmJH06IN4i54IJAG3MG
ROcvjma+v0zJJsskngE0FtB51axo2gg478A/qpehkjECgYEA8LyC4XEJHL1FykRP
uzu9HnH50clAUBTGFVGmavY7yytWiEO2bUIES77fZjMv2sWh38emSo3efjCp+s8I
WYhfrgN4hGLHeHd58tU4wzuQC9kj+8vhuwXVLP7ppVNjDQtuwKV3cHb4Nz5kQ5Iw
2SOsWGZ5GK3rSvP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