certbot/acme/tests/testdata
ohemorange d2b65b47f2
Refactor tests out of packaged module for acme plugin (#7600)
* Move acme tests to tests/ directory outside of acme module

* Fix call to messages_test in client_test

* Move test_util.py and testdata/ into tests/

* Update manifest to package tests

* Exclude pycache and .py[cod]
2019-11-26 15:25:41 -08:00
..
cert-100sans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
cert-idnsans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
cert-nocn.der Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
cert-san.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
cert.der Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
cert.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
critical-san.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr-6sans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr-100sans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr-idnsans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr-nosans.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr-san.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr.der Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
csr.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
dsa512_key.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
README Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
rsa256_key.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
rsa512_key.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
rsa1024_key.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
rsa2048_cert.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
rsa2048_key.pem Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00

In order for acme.test_util._guess_loader to work properly, make sure
to use appropriate extension for vector filenames: .pem for PEM and
.der for DER.

The following command has been used to generate test keys:

  for x in 256 512 1024 2048; do openssl genrsa -out rsa${k}_key.pem $k; done

and for the CSR:

  openssl req -key rsa2048_key.pem -new -subj '/CN=example.com' -outform DER > csr.der

and for the certificate:

  openssl req -key rsa2047_key.pem -new -subj '/CN=example.com' -x509 -outform DER > cert.der