Skip to content

Commit

Permalink
test: upgrade all 1024 bit RSA keys to 2048 bits
Browse files Browse the repository at this point in the history
Ubuntu 22.04 Jammy rejects 1024 bit RSA Keys

PR-URL: #44498
Refs: #44497
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
mmomtchev authored and lpinca committed Sep 27, 2022
1 parent 1d2f1ec commit 8671e4a
Show file tree
Hide file tree
Showing 88 changed files with 962 additions and 721 deletions.
2 changes: 1 addition & 1 deletion benchmark/crypto/rsa-encrypt-decrypt-throughput.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const fixtures_keydir = path.resolve(__dirname, '../../test/fixtures/keys/');
const keylen_list = ['1024', '2048', '4096'];
const keylen_list = ['2048', '4096'];
const RSA_PublicPem = {};
const RSA_PrivatePem = {};

Expand Down
2 changes: 1 addition & 1 deletion benchmark/crypto/rsa-sign-verify-throughput.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const fixtures_keydir = path.resolve(__dirname, '../../test/fixtures/keys/');
const keylen_list = ['1024', '2048'];
const keylen_list = ['2048'];
const RSA_PublicPem = {};
const RSA_PrivatePem = {};

Expand Down
30 changes: 11 additions & 19 deletions test/fixtures/keys/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ all: \
rsa_cert_foafssl_b.exponent \
rsa_spkac.spkac \
rsa_spkac_invalid.spkac \
rsa_private_1024.pem \
rsa_private_2048.pem \
rsa_private_4096.pem \
rsa_public_1024.pem \
rsa_public_2048.pem \
rsa_public_4096.pem \
rsa_pss_private_2048.pem \
Expand Down Expand Up @@ -111,7 +109,7 @@ ca2-cert.pem: ca2.cnf
# ('password' is used for the CA password.)
#
ca3-key.pem:
openssl genrsa -out ca3-key.pem 1024
openssl genrsa -out ca3-key.pem 2048

ca3-csr.pem: ca3.cnf ca3-key.pem
openssl req -new \
Expand All @@ -137,7 +135,7 @@ ca3-cert.pem: ca3-csr.pem ca3-key.pem ca3.cnf ca1-cert.pem ca1-key.pem
# ('password' is used for the CA password.)
#
ca4-key.pem:
openssl genrsa -out ca4-key.pem 1024
openssl genrsa -out ca4-key.pem 2048

ca4-csr.pem: ca4.cnf ca4-key.pem
openssl req -new \
Expand Down Expand Up @@ -240,7 +238,7 @@ fake-startcom-root-cert.pem: fake-startcom-root.cnf \
#

agent1-key.pem:
openssl genrsa -out agent1-key.pem 1024
openssl genrsa -out agent1-key.pem 2048

agent1-csr.pem: agent1.cnf agent1-key.pem
openssl req -new -config agent1.cnf -key agent1-key.pem -out agent1-csr.pem
Expand Down Expand Up @@ -275,7 +273,7 @@ agent1-verify: agent1-cert.pem ca1-cert.pem
#
# Generate new private key
agent2-key.pem:
openssl genrsa -out agent2-key.pem 1024
openssl genrsa -out agent2-key.pem 2048

# Create a Certificate Signing Request for the key
agent2-csr.pem: agent2-key.pem agent2.cnf
Expand All @@ -297,7 +295,7 @@ agent2-verify: agent2-cert.pem
#

agent3-key.pem:
openssl genrsa -out agent3-key.pem 1024
openssl genrsa -out agent3-key.pem 2048

agent3-csr.pem: agent3.cnf agent3-key.pem
openssl req -new -config agent3.cnf -key agent3-key.pem -out agent3-csr.pem
Expand All @@ -321,7 +319,7 @@ agent3-verify: agent3-cert.pem ca2-cert.pem
#

agent4-key.pem:
openssl genrsa -out agent4-key.pem 1024
openssl genrsa -out agent4-key.pem 2048

agent4-csr.pem: agent4.cnf agent4-key.pem
openssl req -new -config agent4.cnf -key agent4-key.pem -out agent4-csr.pem
Expand Down Expand Up @@ -363,7 +361,7 @@ ca2-crl.pem: ca2-key.pem ca2-cert.pem ca2.cnf agent4-cert.pem
#

agent5-key.pem:
openssl genrsa -out agent5-key.pem 1024
openssl genrsa -out agent5-key.pem 2048

agent5-csr.pem: agent5.cnf agent5-key.pem
openssl req -new -config agent5.cnf -key agent5-key.pem -out agent5-csr.pem
Expand All @@ -388,7 +386,7 @@ agent5-verify: agent5-cert.pem ca2-cert.pem
#

agent6-key.pem:
openssl genrsa -out agent6-key.pem 1024
openssl genrsa -out agent6-key.pem 2048

agent6-csr.pem: agent6.cnf agent6-key.pem
openssl req -new -config agent6.cnf -key agent6-key.pem -out agent6-csr.pem
Expand Down Expand Up @@ -499,7 +497,7 @@ agent9-cert.pem: agent9-csr.pem
#

agent10-key.pem:
openssl genrsa -out agent10-key.pem 1024
openssl genrsa -out agent10-key.pem 2048

agent10-csr.pem: agent10.cnf agent10-key.pem
openssl req -new -config agent10.cnf -key agent10-key.pem -out agent10-csr.pem
Expand Down Expand Up @@ -596,8 +594,8 @@ dh1024.pem:
dh2048.pem:
openssl dhparam -out dh2048.pem 2048

dherror.pem: dh512.pem
sed 's/^[^-].*/AAAAAAAAAA/g' dh512.pem > dherror.pem
dherror.pem: dh1024.pem
sed 's/^[^-].*/AAAAAAAAAA/g' dh1024.pem > dherror.pem

dsa_params.pem:
openssl dsaparam -out dsa_params.pem 2048
Expand Down Expand Up @@ -687,18 +685,12 @@ rsa_spkac.spkac: rsa_private.pem
rsa_spkac_invalid.spkac: rsa_spkac.spkac
cat rsa_spkac.spkac | cut -c 5- > rsa_spkac_invalid.spkac

rsa_private_1024.pem:
openssl genrsa -out rsa_private_1024.pem 1024

rsa_private_2048.pem:
openssl genrsa -out rsa_private_2048.pem 2048

rsa_private_4096.pem:
openssl genrsa -out rsa_private_4096.pem 4096

rsa_public_1024.pem: rsa_private_1024.pem
openssl rsa -in rsa_private_1024.pem -pubout -out rsa_public_1024.pem

rsa_public_2048.pem: rsa_private_2048.pem
openssl rsa -in rsa_private_2048.pem -pubout -out rsa_public_2048.pem

Expand Down
37 changes: 21 additions & 16 deletions test/fixtures/keys/agent1-cert.pem
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIC2DCCAkGgAwIBAgIJAOzJuFYnDamoMA0GCSqGS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
ix8mnzvfXjDONdEznVa7PFcN6QliFUMwR/h8pCRHtE5+a10OSPeJSrGG+FtrGnRW
G1IJUv6oiGF/MvWCr84REVgc1j78xomGANJIu2hN7bnD1nEMON6em8IfnDOUtynV
9wfWTqiQYD5Zifj6WcGa0aAHMuetyFG4lIfMAHmd3gaKpks7j9l26LwRPvI=
-----END CERTIFICATE-----
25 changes: 15 additions & 10 deletions test/fixtures/keys/agent1-csr.pem
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIB4jCCAUsCAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQH
MIIC5zCCAc8CAQAwfTELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQH
DAJTRjEPMA0GA1UECgwGSm95ZW50MRAwDgYDVQQLDAdOb2RlLmpzMQ8wDQYDVQQD
DAZhZ2VudDExIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMIGfMA0G
CSqGSIb3DQEBAQUAA4GNADCBiQKBgQDvVEBwFjfiirsDjlZB+CjYNMNCqdJe27hq
K/b72AnLjgN6mLcXCOABJC5N61TGFkiF9Zndh6IyFXRZVb4gQX4zxNDRuAydo95B
miYHGV0vt1ZXsLv7XrfQu6USLRtpZMe1cNULjsAB7raN+1hEN1CPMSmSjWc7MKPg
v09QYJ5jcQIDAQABoCUwIwYJKoZIhvcNAQkHMRYMFEEgY2hhbGxlbmdlIHBhc3N3
b3JkMA0GCSqGSIb3DQEBCwUAA4GBAN3UIAdShj7eA91fH8m8UQBJndgigNwt88qk
S2kS3XfZqkEawMu2HF/y5yWX7EyGs7OkRXZxJSR67GlgdrTi82qCBC3H2xF7fKXr
s5b6ges5NZFjEA9JTvX5PFSAfo5APbXuuhRWBdxvagi00szTnYiaKgGU4C/dZWAz
E0/tTFT4
DAZhZ2VudDExIDAeBgkqhkiG9w0BCQEWEXJ5QHRpbnljbG91ZHMub3JnMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1FYyCvsg04Jwk9wsQoTtBN+6vVbh
3a5Snii3kM1CVtsnM0nzc1/9M3x6Y2Psylont/c9xwialsbYhtsMYjiPHN1qljr8
1ZnVgA5YehH5CJYPhO1QuiWigwPs2m5oT757rtyc6IATJ7FpevJQl87j8XXkAJhM
Dbao64e+A7TPlHdLpW//yMY8aNat62CrvmmnsUq2prnnuqibWtq46weJfAf21Po9
Zg3/V0EH0o6PY0Z6eIYkxXQZdpPpWc6hNi/64buhDIwNiIQKv+8QNjGy6PXDm1VI
p+pX6KOfiSkYE/RadsRIAzorfthAP0uqFHzzXi0lVKplzklpV5cJW/TcawIDAQAB
oCUwIwYJKoZIhvcNAQkHMRYMFEEgY2hhbGxlbmdlIHBhc3N3b3JkMA0GCSqGSIb3
DQEBCwUAA4IBAQATzujigTUF/P+Vg6uU7+Q6BnedpVyMGk9K4zPFLodcx0h3gEgp
KqkE6fUKd57uScFce6mHLG4ZhdH9BFwluf1RCrYVo2FnIfAQn9Spu1o8TagSUt4L
fAme4MwIKohCuLwJKwdOawz+ahtZq4imyKAh9VTBM1VJ9xBb49hG8L9GjxnsO37P
uYp3Hc9+VEZpi8BSf21+HUqDnCU+ITliUD0y1HZJZtxlm0Oj+vsAU+VIzbMtiJ9B
gbkYQ4s2UceymctE97MNeqzCYW2QDJdzVkvpg0pNWqdR1hLdVtaT21mvChyvjEWC
uSNiGBIjS1zN22sHibty/se0URjJXk5UMroc
-----END CERTIFICATE REQUEST-----
38 changes: 25 additions & 13 deletions test/fixtures/keys/agent1-key.pem
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDvVEBwFjfiirsDjlZB+CjYNMNCqdJe27hqK/b72AnLjgN6mLcX
COABJC5N61TGFkiF9Zndh6IyFXRZVb4gQX4zxNDRuAydo95BmiYHGV0vt1ZXsLv7
XrfQu6USLR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sCgSerk5qFr/hNCBV4T022
x0NDR2yLG6MXyqApJpG6rh3QIDElQoQCNlI3/KJ6JfEfmqrLLN2OigTvA5sE4fGU
Dp/ha8OQAx95EwXuaG7LgARduvOIK3x8qi8KsZoUGJcg2ywurUbkWA==
-----END RSA PRIVATE KEY-----
2 changes: 1 addition & 1 deletion test/fixtures/keys/agent1.cnf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ req ]
default_bits = 1024
default_bits = 2048
days = 9999
distinguished_name = req_distinguished_name
attributes = req_attributes
Expand Down
Binary file modified test/fixtures/keys/agent1.pfx
Binary file not shown.
57 changes: 33 additions & 24 deletions test/fixtures/keys/agent10-cert.pem
Original file line number Diff line number Diff line change
@@ -1,32 +1,41 @@
-----BEGIN CERTIFICATE-----
MIICfzCCAeigAwIBAgIJAOyvM6GMZDW6MA0GCSqGSIb3DQEBCwUAMIGIMQswCQYD
VQQGEwJVUzELMAkGA1UECAwCQ0ExCzAJBgNVBAcMAlNGMR8wHQYDVQQKDBZUaGUg
Tm9kZS5qcyBGb3VuZGF0aW9uMRAwDgYDVQQLDAdOb2RlLmpzMQwwCgYDVQQDDANj
YTQxHjAcBgkqhkiG9w0BCQEWD2NhNEBleGFtcGxlLm9yZzAgFw0xODExMTYxODQy
MjFaGA8yMjkyMDgzMDE4NDIyMVoweDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNB
MQswCQYDVQQHDAJTRjEfMB0GA1UECgwWVGhlIE5vZGUuanMgRm91bmRhdGlvbjEQ
MA4GA1UECwwHTm9kZS5qczEcMBoGA1UEAwwTYWdlbnQxMC5leGFtcGxlLmNvbTCB
nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEArV2diVumrKDS5k81MrcdECnYYVZ5
feQ/FZDqwEHM/zlXvs6vphU3rGmZeASMQEdHg7vUjzzvE8PDqJuJXKrC5lEO1OUY
eUDhaZ/QvYS9tDp7qTJzORxT9im65dQH0Xq5JQwTy30hidQHxOgAkILNive07/Jk
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----END CERTIFICATE-----
25 changes: 15 additions & 10 deletions test/fixtures/keys/agent10-csr.pem
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIB3TCCAUYCAQAweDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQH
MIIC4jCCAcoCAQAweDELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQH
DAJTRjEfMB0GA1UECgwWVGhlIE5vZGUuanMgRm91bmRhdGlvbjEQMA4GA1UECwwH
Tm9kZS5qczEcMBoGA1UEAwwTYWdlbnQxMC5leGFtcGxlLmNvbTCBnzANBgkqhkiG
9w0BAQEFAAOBjQAwgYkCgYEArV2diVumrKDS5k81MrcdECnYYVZ5feQ/FZDqwEHM
/zlXvs6vphU3rGmZeASMQEdHg7vUjzzvE8PDqJuJXKrC5lEO1OUYeUDhaZ/QvYS9
tDp7qTJzORxT9im65dQH0Xq5JQwTy30hidQHxOgAkILNive07/JkN1vle6TnZX6K
/dkCAwEAAaAlMCMGCSqGSIb3DQEJBzEWDBRBIGNoYWxsZW5nZSBwYXNzd29yZDAN
BgkqhkiG9w0BAQsFAAOBgQBeyxGhHnFF0ifHhWUbqqMM9zJ5OhLjGsQ0gvmK/LHL
vmGJ43XgeYiN/U6xREQ7DZMss+C14mfQvp5oM0zQRWwQhLgV7YlIIIe09CYTKTfC
xxc18OJewNQUje5cG5aSMZb2HfHmLDaavAJqK0Yaoj69e+iEnAkVFVZALqlhezS+
xQ==
Tm9kZS5qczEcMBoGA1UEAwwTYWdlbnQxMC5leGFtcGxlLmNvbTCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBAM/j3KMwRLnWx9gbhpzTqNHsOdKLMwOBb7RX
oIU+C6/qnUPTxoEDrSaFjz62OxuKfcNhGJMHYc3sL2y9nZwB98or1b/jQbr6N8m4
HojyD4u11n2FWLDZELSTg8UvOkbdWwlGkzhZ+iz+5tmoG40Ys34rrywAVTSNtStr
h20lBcyLtKUWUkhTHaDXQ4XfXa4lxER8VWA0DDgQhnYftuYa2kTSndR8GKvgdPLm
fPiu5gJtvM1YO5ftEgZlJe2ppBzs/1A++4vOymV94jxLahFMtEiAMRq1ckWUhbMa
7WQXteN+06ucUfBFYgIrqOipLN0uFJLTap+ohEUkVVnxA2rXVuECAwEAAaAlMCMG
CSqGSIb3DQEJBzEWDBRBIGNoYWxsZW5nZSBwYXNzd29yZDANBgkqhkiG9w0BAQsF
AAOCAQEAD3q34x4w7sHJg833f5jTsaa1lnzn/eKRQPluQayGFD+AkGMaBdR9AaKe
no26lRIzI4tD+qCxRPStldnmZG7lKEBXuEzSP0xhbOfY3RAUjHQMRdMMHxPx3M7Z
sl7sq5Cfzs58sKaEL+FBcYVkNFke06N2E3CsLjw5kkQYHuYrq4+1Vq0wS0KEbpIt
Bt2jWf6GNnESVV6qNS0Nl0zwewFJjnLO72g3C+WJuAs3UMUAdFh8FS7W4E2Fr68S
YNb3qvGkovA5xcnIYX86B7mdSPR1G00QZ5K2nHilXNvkbEbHEo49XtnxOEWZEz3G
WTK6u7EmXDXjCV9t58PrEcEkJmICBg==
-----END CERTIFICATE REQUEST-----
38 changes: 25 additions & 13 deletions test/fixtures/keys/agent10-key.pem
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQCtXZ2JW6asoNLmTzUytx0QKdhhVnl95D8VkOrAQcz/OVe+zq+m
FTesaZl4BIxAR0eDu9SPPO8Tw8Oom4lcqsLmUQ7U5Rh5QOFpn9C9hL20OnupMnM5
HFP2Kbrl1AfRerklDBPLfSGJ1AfE6ACQgs2K97Tv8mQ3W+V7pOdlfor92QIDAQAB
AoGAIAjiaVVEMTXugpw0SlDH0ArLbwEZpgedGJEUr7348VhZPGrYzimxhexlbWX5
vI7vSgpVNrqduts7tlY3RaZQKQzFkSqkUUb432bXkJLHNIspd0XHOO2Hy/ZbTg0n
OIQ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GMXb3c4ggx3P8J+9jTC04RI9RG4RBTbbWH9V+ZWgJybJesz+66yIVhTAh
I/MlmoSZIXrscp64d+diU1xR63x67jCdZNkBycuiLZ+O9r77Z0wDAjdKyrVyanNk
3BxsleECgYEA/HXudTGvLzuUxAoTnGrcFqtTk9u1EJllhMsyK3YXsk7b+Xd02fiP
MpUa4RGeyJ4AdkKC466HmY2hVtBlnHdcUJtC9LvJaXTUINRbKQGvlvxdiNPRG/25
NyqFSamOdeY/WiItp6KqZBTaWIBIX9NLPT0WeAXSh5D5RNPapyTEjnUCgYEA0s34
BOwUirjpkW+yDgOSm9uy97SoMaORinjfOQll+9m4PZDVAOnLVO563Mv/uNIbW52H
yGBf2zfYMe0roweQJQbiqAKsdyDQMurb4Leup5d4ofu6of2Mb8Y/82wEA8zD/yWr
hNl0SSQm3yXZDDus1oGqJLpnlCekgJGRh1gpMT0CgYAYF3DwAhPDoB3sL0H71T63
cxYAsCCxOtIzP+jDuPs96sSXI80k19FidFQiUjoizuEgZ+xxqcAK6TcSP8TSj5lh
n89d52WrCJkNoPYqDZ0h/Wc3nW8BCs9X8ljR1Lphid1VzpkovB8iedL0Sxmc+17c
sy2nunaCtVT0OntNI/cV2QKBgCmlHRFD3k8FdscPjNpt5EG8Jl//JZcg3DjB5j9r
VuVpPpeTDDFw/oVZ05XZCzzk7RitR0zTlTxGjQRX+V3suZJHCPHuDUo/hkH42dVM
FEnxh5hglZ846syOGsYpGaXyhunZ9Ed7ehiU9sTwwi9DfsKlvQoidSH0ru/jUh+t
z/11AoGAeS85yQriTWvXTILt3ZdEJD//PU55Ofby8bInYBRx4T7iXI/FozKcwE67
/dByelz4KUdGu1ZUZYzaFKs87Si4IB+NThX27BOcpXjd1IjJk3cHnkx6t+FrFFsH
7SSOwAuzpxVSGn0yij06OiYy6Qyay3tSLYPLFcXWB6oK7GWjFYc=
-----END RSA PRIVATE KEY-----
2 changes: 1 addition & 1 deletion test/fixtures/keys/agent10.cnf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[ req ]
default_bits = 1024
default_bits = 2048
days = 9999
distinguished_name = req_distinguished_name
attributes = req_attributes
Expand Down
Binary file modified test/fixtures/keys/agent10.pfx
Binary file not shown.
Loading

0 comments on commit 8671e4a

Please sign in to comment.