- Timestamp:
- Jul 1, 2019, 4:16:01 PM (4 years ago)
- Branches:
- asyncio, main, master, proxy-ticket
- Children:
- c825c3a
- Parents:
- f205c5f
- Location:
- test
- Files:
-
- 7 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
rf205c5f re5546be 56 56 # Identities in the miniature CA, server, and client environment for 57 57 # the test suite 58 shared_identities = authority client58 shared_identities = authority authority/client 59 59 pgp_identities = $(shared_identities) 60 60 x509_only_identities = server rogueca imposter rogueclient … … 97 97 MOSTLYCLEANFILES = cache/* logs/* outputs/* server/crl.pem 98 98 99 cert_templates = authority/template.in client/template.in \99 cert_templates = authority/template.in authority/client/template.in \ 100 100 imposter/template.in ocsp-responder/template rogueca/template \ 101 101 rogueclient/template.in server/template.in 102 generated_templates = authority/template client/template \102 generated_templates = authority/template authority/client/template \ 103 103 imposter/template rogueclient/template server/template 104 104 … … 113 113 # (e.g. host names) without wasting time on new keys (which would 114 114 # happen after "clean"). 115 MOSTLYCLEANFILES += */x509.pem $(generated_templates) */uid115 MOSTLYCLEANFILES += $(x509_certs) $(generated_templates) $(identities:=/uid) 116 116 117 117 … … 120 120 # one day, so regenerating them is both fast and frequently 121 121 # necessary. 122 MOSTLYCLEANFILES += */*.pgp */*.pgp.raw */*.gpg */*.gpg~ */gpg.conf \ 123 authority/lock */*.kbx */*.kbx~ */S.gpg-agent */private-keys-v1.d/* \ 124 authority/tofu.db 122 pgp_patterns = /*.pgp /*.pgp.raw /*.gpg /*.gpg~ /gpg.conf \ 123 /*.kbx /*.kbx~ /S.gpg-agent /private-keys-v1.d/* 124 MOSTLYCLEANFILES += $(foreach pat,$(pgp_patterns),$(pgp_identities:=$(pat))) \ 125 authority/lock authority/tofu.db 125 126 # GnuPG random pool, no need to regenerate on every build 126 127 CLEANFILES += authority/random_seed … … 145 146 if USE_MSVA 146 147 msva_home = msva.gnupghome 147 check_DATA += $(msva_home)/trustdb.gpg client/uid148 MOSTLYCLEANFILES += $( msva_home)/trustdb.gpg149 $(msva_home)/trustdb.gpg: authority/minimal.pgp client/cert.pgp148 check_DATA += $(msva_home)/trustdb.gpg authority/client/uid 149 MOSTLYCLEANFILES += $(foreach pat,$(pgp_patterns),$(msva_home)$(pat)) 150 $(msva_home)/trustdb.gpg: authority/minimal.pgp authority/client/cert.pgp 150 151 mkdir -p -m 0700 $(dir $@) 151 152 GNUPGHOME=$(dir $@) gpg --import < $< 152 153 printf "%s:6:\n" "$$(GNUPGHOME=authority/ gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" | GNUPGHOME=$(dir $@) gpg --import-ownertrust 153 GNUPGHOME=$(dir $@) gpg --import < client/cert.pgp154 GNUPGHOME=$(dir $@) gpg --import < authority/client/cert.pgp 154 155 printf "keyserver does-not-exist.example\n" > $(msva_home)/gpg.conf 155 156 endif … … 160 161 MOSTLYCLEANFILES += authority/ocsp_index.txt authority/ocsp_index.txt.attr 161 162 authority/ocsp_index.txt: $(x509_tokens) gen_ocsp_index authority/ocsp_index.txt.attr 162 ./gen_ocsp_index server/x509.pem client/x509.pem > $@163 ./gen_ocsp_index server/x509.pem authority/client/x509.pem > $@ 163 164 164 165 authority/ocsp_index.txt.attr: authority/secret.key -
test/runtests
rf205c5f re5546be 139 139 export MONKEYSPHERE_VALIDATION_AGENT_SOCKET="http://127.0.0.1:$MSVA_PORT" 140 140 141 msva_test_cmd="msva-query-agent https \"$(cat client/uid)\" x509pem client <client/x509.pem"141 msva_test_cmd="msva-query-agent https \"$(cat authority/client/uid)\" x509pem client < authority/client/x509.pem" 142 142 # check if MSVA is up, fail if not 143 143 if wait_ready "${msva_test_cmd}"; then -
test/tests/10_basic_client_verification/gnutls-cli.args
rf205c5f re5546be 1 --x509certfile= client/x509.pem2 --x509keyfile= client/secret.key1 --x509certfile=authority/client/x509.pem 2 --x509keyfile=authority/client/secret.key 3 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL -
test/tests/12_cgi_variables/gnutls-cli.args
rf205c5f re5546be 1 --x509certfile= client/x509.pem2 --x509keyfile= client/secret.key1 --x509certfile=authority/client/x509.pem 2 --x509keyfile=authority/client/secret.key 3 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL:-KX-ALL:+DHE-RSA -
test/tests/15_basic_msva/gnutls-cli.args
rf205c5f re5546be 1 --x509certfile= client/x509.pem2 --x509keyfile= client/secret.key1 --x509certfile=authority/client/x509.pem 2 --x509keyfile=authority/client/secret.key 3 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL -
test/tests/17_cgi_vars_large_cert/gnutls-cli.args
rf205c5f re5546be 1 --x509certfile= client/x509.pem2 --x509keyfile= client/secret.key1 --x509certfile=authority/client/x509.pem 2 --x509keyfile=authority/client/secret.key 3 3 --x509cafile=authority/x509.pem 4 4 --priority=NORMAL:-KX-ALL:+DHE-RSA -
test/tests/20_TLS_reverse_proxy_client_auth/apache.conf
rf205c5f re5546be 12 12 13 13 GnuTLSProxyEngine On 14 GnuTLSProxyKeyFile client/secret.key15 GnuTLSProxyCertificateFile client/x509.pem14 GnuTLSProxyKeyFile authority/client/secret.key 15 GnuTLSProxyCertificateFile authority/client/x509.pem 16 16 GnuTLSProxyCAFile authority/x509.pem 17 17 GnuTLSProxyPriorities NORMAL
Note: See TracChangeset
for help on using the changeset viewer.