0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/keys
Caleb ツ Everett 6aafee1771 test: generate des rsa_cert.pfx
My node distribution uses a shared openssl library with some ciphers
disabled, including RC2.

These tests (which use `rsa_cert.pfx`) fail with `unknown cipher`:
 - parallel/test-crypto-binary-default
 - parallel/test-https-pfx
 - parallel/test-crypto

The other fixture .pfx's use the `-descert` option, I don't know if
rsa_cert.pfx was generated without `-descert` intentionally or not but
none of the tests reference RC2, and the tests pass with a des cert.

I'm not an ssl/crypto expert, so I would appreciate any insight.

Old key:
```
openssl pkcs12 -info -in test/fixtures/keys/rsa_cert.pfx -noout -passin
pass:sample
MAC Iteration 2048
MAC verified OK
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
Certificate bag
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
```

New
```
openssl pkcs12 -info -in test/fixtures/keys/rsa_cert.pfx -noout -passin
pass:sample
MAC Iteration 2048
MAC verified OK
PKCS7 Encrypted data: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
Certificate bag
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
```

PR-URL: https://github.com/nodejs/node/pull/28471
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-07-05 22:39:22 -07:00
..
fake-startcom-root-issued-certs test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
.gitattributes test: move ed25519 keypair to fixtures/keys/ 2019-06-10 09:55:56 -07:00
agent1-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent1-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent1-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent1.cnf
agent1.pfx test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent2-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent2-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent2-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent2.cnf
agent3-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent3-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent3-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent3.cnf
agent4-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent4-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent4-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent4.cnf
agent5-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent5-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent5-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent5.cnf
agent6-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent6-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent6-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent6.cnf
agent6.pfx test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent7-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent7-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent7-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent7.cnf
agent8-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent8-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent8-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent8.cnf
agent9-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent9-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent9-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent9.cnf
agent10-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent10-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent10-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent10.cnf test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
agent10.pfx test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca1-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca1-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca1-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca1.cnf
ca2-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-crl.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-database.txt test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-database.txt.attr test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-database.txt.attr.old test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-database.txt.old
ca2-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca2-serial
ca2.cnf
ca3-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca3-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca3-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca3-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca3.cnf
ca4-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca4-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca4-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca4-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca4.cnf test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca5-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca5-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca5-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca5-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca5.cnf test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca6-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca6-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca6-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca6-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ca6.cnf test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dh512.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dh1024.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dh2048.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dherror.pem test: move dherror.pem to fixtures/keys/ 2019-06-10 09:57:12 -07:00
dns-cert1.cnf test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dsa1025.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dsa_params.pem test: move dsa keypairs to fixtures/keys/ 2019-06-10 09:56:38 -07:00
dsa_private_1025.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dsa_private_encrypted_1025.pem crypto: decode missing passphrase errors 2019-03-30 10:31:43 +01:00
dsa_private_encrypted.pem test: move dsa keypairs to fixtures/keys/ 2019-06-10 09:56:38 -07:00
dsa_private_pkcs8.pem test: move dsa keypairs to fixtures/keys/ 2019-06-10 09:56:38 -07:00
dsa_private.pem test: move dsa keypairs to fixtures/keys/ 2019-06-10 09:56:38 -07:00
dsa_public_1025.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
dsa_public.pem test: move dsa keypairs to fixtures/keys/ 2019-06-10 09:56:38 -07:00
ec10-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec10-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec10-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec10.pfx test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec-csr.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ec.cnf
ec.pfx test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
ed448_private.pem test: move ed448 keypairs to fixtures/keys/ 2019-06-10 09:56:41 -07:00
ed448_public.pem test: move ed448 keypairs to fixtures/keys/ 2019-06-10 09:56:41 -07:00
ed25519_private.pem test: move ed25519 keypair to fixtures/keys/ 2019-06-10 09:55:56 -07:00
ed25519_public.pem test: move ed25519 keypair to fixtures/keys/ 2019-06-10 09:55:56 -07:00
fake-cnnic-root-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-cnnic-root-cert.srl test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-cnnic-root-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-cnnic-root.cnf
fake-startcom-root-cert.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-database.txt test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-database.txt.attr test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-database.txt.attr.old test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-database.txt.old test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-key.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
fake-startcom-root-serial
fake-startcom-root-serial.old
fake-startcom-root.cnf
I_AM_THE_WALRUS_sha256_signature_signedby_rsa_private_b.sha256 test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
Makefile test: generate des rsa_cert.pfx 2019-07-05 22:39:22 -07:00
rsa_ca.crt test: reset validity dates of expired certs 2019-06-28 16:14:36 -07:00
rsa_cert_foafssl_b.cnf test: add comments to the foaf+ssl fixtures 2019-06-10 09:57:41 -07:00
rsa_cert_foafssl_b.crt test: reset validity dates of expired certs 2019-06-28 16:14:36 -07:00
rsa_cert_foafssl_b.exponent test: move foafssl certs to fixtures/keys/ 2019-06-10 09:57:23 -07:00
rsa_cert_foafssl_b.modulus test: move foafssl certs to fixtures/keys/ 2019-06-10 09:57:23 -07:00
rsa_cert.cnf test: reset validity dates of expired certs 2019-06-28 16:14:36 -07:00
rsa_cert.crt test: reset validity dates of expired certs 2019-06-28 16:14:36 -07:00
rsa_cert.pfx test: generate des rsa_cert.pfx 2019-07-05 22:39:22 -07:00
rsa_private_1024.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_private_2048.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_private_4096.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_private_b.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_private_encrypted.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_private_pkcs8_bad.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_private_pkcs8.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_private.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_pss_private_2048_sha256_sha256_16.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_pss_private_2048_sha512_sha256_20.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_pss_private_2048.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_pss_public_2048_sha256_sha256_16.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_pss_public_2048_sha512_sha256_20.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_pss_public_2048.pem crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
rsa_public_1024.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_public_2048.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_public_4096.pem test: add independent multi-alg crypto identities 2018-11-16 17:00:37 -08:00
rsa_public_b.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_public_sha1_signature_signedby_rsa_private_pkcs8.sha1 test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_public_sha1_signature_signedby_rsa_private.sha1 test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_public.pem test: move rsa keypairs to fixtures/keys/ 2019-06-10 09:56:33 -07:00
rsa_spkac_invalid.spkac test: move spkac certs to fixtures/keys/ 2019-06-10 09:56:49 -07:00
rsa_spkac.spkac test: move spkac certs to fixtures/keys/ 2019-06-10 09:56:49 -07:00
x448_private.pem test: move x448 keypairs to fixtures/keys/ 2019-06-10 09:56:45 -07:00
x448_public.pem test: move x448 keypairs to fixtures/keys/ 2019-06-10 09:56:45 -07:00
x25519_private.pem test: move x25519 keypair to fixtures/keys/ 2019-06-10 09:56:29 -07:00
x25519_public.pem test: move x25519 keypair to fixtures/keys/ 2019-06-10 09:56:29 -07:00