summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/rpki-client
AgeCommit message (Collapse)Author
2022-01-19Add missing x509_init_oid() calls in regress tests.Claudio Jeker
Found by anton@
2022-01-18Adjust after change to cert_parse() and ta_parse().Claudio Jeker
2021-12-24Sync test code after the change of id from size_t to unsigned int.Claudio Jeker
Fixes test-http tests which currently fail. The change in test-rrdp.c are just cosmetic the id is not used by the test. Reported by anton@
2021-12-01Add some RRDP specific regress tests.Claudio Jeker
OK benno@
2021-11-10Add a test for the redirect loop limit. It would be great if someoneClaudio Jeker
rewrote these tests to use a local HTTP server instead of some random external ones.
2021-11-08Pull OpenSSL test into the Makefile using it to avoid it on "make obj"Klemens Nanni
This way a top-down "make obj" does nothing but symlink creation and "make" or "make regress" still does the eopenssl11 check at the very end. This is how the rest of the regress suite does it, e.g. sys/netinet/pmtu. OK tb
2021-11-05Add getmonotime() to test-http.c so that the test compiles again.Claudio Jeker
Noticed as ususal by anton@
2021-11-03Add a test tal that has comments and also comes with CRLFClaudio Jeker
2021-10-26Adjust regress to the new BIO-free world order.Claudio Jeker
2021-10-24Use the print.c file which is now shipped in rpki-client to printClaudio Jeker
the cert, gbr, mft, roa and tal file contents. No real functional change. OK tb@
2021-10-24Anther day another broken test-http.c report from anton@Claudio Jeker
Adjust code again.
2021-10-23Fixup test-http.c after big io change before anton@ complainsClaudio Jeker
2021-10-23Unbreak test-http after the last io.c changesClaudio Jeker
Report from anton@
2021-10-13Fix regress test after changing the way bgpsec pubkeys are shown and processed.Claudio Jeker
Reported by anton@
2021-10-11Fold bgpsec cert & traditional certs into same testJob Snijders
2021-10-11Improve BGpsec regress testJob Snijders
2021-10-09delete unneccessary arpa/nameser.h includesTheo de Raadt
ok millert
2021-10-07Replace the ugly openssl11 hack for the missing ASN1_time_parse() andClaudio Jeker
ASN1_time_tm_cmp() functions with another hack that is considerably more horrible but also less intrusive.
2021-10-05Add BGPsec router certificate to rpki-client regressJob Snijders
2021-10-05stop masking test-http.c failuresAnton Lindqvist
2021-09-05Include encoding.cJob Snijders
Thanks patrick@
2021-07-15Fix regress for rpki-clientjob
spotted by bluhm
2021-05-06Add an 'expires' column to CSV & JSON outputjob
The 'expires' value contains a reasonable earliest moment a VRP would expire, in light of the currently available set of CAs and CRLs. The 'expires' value can be used to avoid route selection based on stale data when generating VRP sets, when faced with loss of communication between consumer and valdiator, or validator and CA repository. OK claudio@
2021-04-13Automated regress cannot connect to servers in internet. CheckAlexander Bluhm
whether jigsaw.w3.org is reachable and skip rpki client http test if not. OK claudio@
2021-04-09Add a minimal regress test for the http client code.Claudio Jeker
This currently uses some external website to do redirect test and to check both regular and chunked downloads. Only for libressl because you can't mix openssl 1.1 and libtls on OpenBSD.
2021-04-01Add encoding.c to the various build targetsClaudio Jeker
2021-03-29Add a pretty_key_id() which reinserts colons into the hex string.Claudio Jeker
This way the AKI and SKI printed in the tests tools look the same as before. Requested by job@, OK job@ tb@
2021-03-28Add some restrictions to manifest object profilejob
OK tb@, feedback from claudio@
2021-03-05Fix regress tests after changes to tal.c, mft.c, and cert.c.Claudio Jeker
2021-02-16Print AIA in rpki-client test utilityjob
2021-02-08Also print the recently added caRepository URI alongside rpkiManifestClaudio Jeker
and rpkiNotify SIA.
2021-02-03Remove rsync.c from the test tool builds, nothing depends on that anymoreClaudio Jeker
2021-01-29Adjust regress test, the hash argument to the parse functions was removed.Claudio Jeker
2021-01-12rpki-client started using the ibuf API, so link against libutil.Theo Buehler
2020-12-27Use GBR that adheres to the restricted vcard profile defined in RFC 6493job
2020-12-09Add a minimal test case for ghostbuster resources.Claudio Jeker
2020-12-09If provided print the RRDP notify URL along the MFT rsync URLClaudio Jeker
2020-11-09Remove uses of the deprecated ERR_remove_state()Theo Buehler
2020-11-09One more missing prototypeTheo Buehler
2020-11-09Fix compiler warnings about missing prototypes.Theo Buehler
2020-11-09Print reminder to install OpenSSL 1.1 if it's not present in accordanceTheo Buehler
with bsd.regress.mk.
2020-11-09Rework the rpki-client test to also run against OpenSSL 1.1 if theTheo Buehler
package is installed. This ensures that the part of rpki-client that uses libcrypto works as expected with both LibreSSL and OpenSSL. This will hopefully also help reduce the friction of cutting the portable release. The OpenSSL code reaches around into libcrypto for the LibreSSL specific functions that are provided in -portable. A tiny bit of glue in test-mft.c is also needed. Positive feedback from benno
2020-11-03Inline pem_print(). It's a wrapper around PEM_write_bio_X509().Theo Buehler
ok benno claudio
2020-11-02Correctly initialize ppemTheo Buehler
2020-11-01Add options to print RPKI EE Certificates in PEM format for ROA & MFT filesjob
2020-08-21Fix rpki-client regressTheo Buehler
The fix for the misuse of EVP_PKEY_cmp() (rpki-client/cert.c -r1.16) came with an API change. ta_parse() will now throw an error if fed a NULL pubkey. This in turn broke a regress test. Fix this by parsing the pubkey out of the appropriate TAL to let ta_parse() verify that it matches the pubkey in the first level certificate. Discussed with tobhe, benno and claudio
2020-07-05Fix rpki-client regress test after -f removal.Theo Buehler
ok job
2019-12-17Also print the sha256 hash for the referenced files. This way hash errorsClaudio Jeker
can be verified.
2019-11-06Cleanup code a bit, make sure the tal parse buffer is allways freed.Claudio Jeker
2019-11-04Reenable test-tal since problem is now fixed.Claudio Jeker