/
githubmirror
/
sssd
ОбзорДокументацияВойти
/
githubmirror
/
sssd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
sssd/
.../tests/test_CA/
..
intermediate_CA

tests: Drop -extensions from openssl command if there is no -x509

2 года назад
Makefile.am

crypto: add get_jwk_from_pkcs12()

2 месяца назад
README

TEST: FIX: When generating a ssh pubkey from a cert extra padding is needed if a nonstandard eponent is chosen.

5 лет назад
SSSD_test_CA.config

test_pam_srv: Add test for CA certificate check using intermediate CA

5 лет назад
SSSD_test_CA_key.pem

TESTS: simple CA to generate certificates for test

8 лет назад
SSSD_test_cert_0001.config

Tests: ifp interface to validate certificate

5 лет назад
SSSD_test_cert_0002.config

Move from Pagure to Github

6 лет назад
SSSD_test_cert_0003.config

certmap: allow missing empty EKU in OpenSSL version

8 лет назад
SSSD_test_cert_0004.config

certmap: add tests for new attributes and LDAPU1 rules

4 года назад
SSSD_test_cert_0005.config

Unit tests: use ".invalid" domain name for OCSP responder

2 года назад
SSSD_test_cert_0006.config

add tests multiple certs same id

6 лет назад
SSSD_test_cert_0007.config

TEST: FIX: When generating a ssh pubkey from a cert extra padding is needed if a nonstandard eponent is chosen.

5 лет назад
SSSD_test_cert_0008.config

p11_child: enhance 'soft_crl' option

2 года назад
SSSD_test_cert_0009.config

p11_child: enhance 'soft_crl' option

2 года назад
SSSD_test_cert_key_0001.pem

TESTS: simple CA to generate certificates for test

8 лет назад
SSSD_test_cert_key_0002.pem

TESTS: simple CA to generate certificates for test

8 лет назад
SSSD_test_cert_key_0003.pem

certmap: allow missing empty EKU in OpenSSL version

8 лет назад
SSSD_test_cert_key_0004.pem

test: add certificate without KU to certmap tests

7 лет назад
SSSD_test_cert_key_0005.pem

p11_child: add 'soft_ocsp' and 'soft_crl options

7 лет назад
SSSD_test_cert_key_0007.pem

TEST: FIX: When generating a ssh pubkey from a cert extra padding is needed if a nonstandard eponent is chosen.

5 лет назад
SSSD_test_cert_key_0008.pem

p11_child: enhance 'soft_crl' option

2 года назад
SSSD_test_cert_key_0009.pem

p11_child: enhance 'soft_crl' option

2 года назад
README
Simple CA for SSSD tests
 
To avoid issues with certificate lifetimes during tests certificates can be
generated with a simple OpenSSL based CA.
 
To create a new certificate add a suitable and valid OpenSSL config file with a
[req] section for a certificate signing request (CSR) which must use the name
pattern SSSD_test_cert_*.config. Additionally a matching key file
SSSD_test_cert_key_%.pem should be added e.g. with
 
openssl genpkey -algorithm RSA -out SSSD_test_cert_key_XYZ.pem -pkeyopt rsa_keygen_bits:2048
openssl genpkey -algorithm RSA -out SSSD_test_cert_key_0007.pem -pkeyopt rsa_keygen_bits:2048 -pkeyopt rsa_keygen_pubexp:32993
 
It would be possible to generate the keys automatically as well but
pre-created keys will safe some resources on the hosts running the tests,
allow more flexibility with algorithms and key lengths and make the tests
more reproducible.
 
The Makefile will pick up the config and the keys and generate a X.509
certificate. For usage in C-code it will generate a header file
SSSD_test_cert_x509_*.h where the base64 encoded binary certificate is made
available in a macro called SSSD_TEST_CERT_*. To run test with derived ssh-keys
the ssh key is available in SSSD_test_cert_pubsshkey_*.h as
SSSD_TEST_CERT_SSH_KEY_*.
 
Cert 0007 will be created with nondefault exponent setting and later on signed
with rsassapss as seen by some 3rd party CA:s.
The exponent is chosen to trigger padding errors.
 
Other targets for other types of tests can be added to the Makefile and should
be documented here.