debian-forge-composer/test/data
Ondřej Budai 765f599753 test: generate certificates on fly instead of shipping them in the test RPM
The certificate generation is based on work by Lars Karlitski in our osbuild
CA. The server and client certs now contains Subject Alternative Name making
Python's request module and Go 1.15 happy (they deprecated certificates
without SAN).

Several reasons why we want to switch to the certificate generation:

1) The pre-generated certificates are not documented. If someone wants
   to inspect them, he must know the right openssl incantation. This way,
   you are able to see what's inside the certificates in a plain text.

2) The pre-generated certificates are going to expire at one point and
   someone will be surprised.

3) Shipping private keys in RPMs is iffy. I know, it's just for testing but
   still...

4) Auth tests are generating their own certificates. To achieve consistency,
   we have two options:

   a) Ship also all certificates for auth tests. That's extra 8 ones or
      something like that.

   b) Generate all certificates on fly. This commit does that.

5) The setup introduced by this commit is very similar to the one in our CA
   making the test environment very similar to what's running in production.

tl;dr: I think this is a good step forward.
2020-11-05 13:48:48 +01:00
..
ansible test: Add greenboot testing 2020-10-27 13:19:13 +01:00
azure tests: ship all tests in the -tests sub-package 2020-10-06 13:08:26 +02:00
cloud-init tests: ship all tests in the -tests sub-package 2020-10-06 13:08:26 +02:00
composer test/cmd: add api.sh 2020-10-16 09:37:04 +02:00
kerberos tests: ship all tests in the -tests sub-package 2020-10-06 13:08:26 +02:00
keyring tests: ship all tests in the -tests sub-package 2020-10-06 13:08:26 +02:00
koji test/koji: move the koji test to schutzbot 2020-11-02 19:59:28 +01:00
manifests test: restructure dir layout 2020-10-21 09:04:13 +02:00
repositories schutzbot: move repository snapshot definitions to the -test package 2020-10-23 11:33:04 +02:00
vendor test/vendor/dnsname: ship the pre-built fedora version 2020-10-06 13:08:26 +02:00
x509 test: generate certificates on fly instead of shipping them in the test RPM 2020-11-05 13:48:48 +01:00