Commit Graph
24 Commits
Author SHA1 Message Date
Tim Bruijnzeels 8bbd5c2e78 Remove calls to refresh_all in test
This is done in the expectation check now.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels 48c6557bd3 Unsuspend child CA when it sends a valid RFC 6492 request. (#623)
(also make tests more deterministic wrt ca refresh)
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels 319f00081a Add support (and API) for suspending/unsuspending child CAs. (#623) 2021-08-30 10:47:28 +02:00
Tim BruijnzeelsandGitHub 765b131184 Create ROAs if needed, when keys are activated (#601) 2021-08-04 12:06:47 +02:00
Tim BruijnzeelsandGitHub 8be620b606 Update dependencies: rpki-rs, bytes, tokio, hyper, reqwest (#584)
* Update dependencies: rpki-rs, and therefore bytes, tokio, hyper, reqwest
* Rust 1.51 clippy
* Update minimal rust version to 1.47
    socket2 requires improved const fn support.
    exponential compile-time and type_length_limit and async in 1.46.

See PR #586
2021-07-02 10:20:24 +02:00
Tim Bruijnzeels ff1c7f74f6 Remove krillpubc - use 'pubserver' subcommand in krillc instead. (#527) 2021-05-20 12:51:52 +02:00
Tim Bruijnzeels e7cadc6ea2 Use a little more patience when testing (think GH CI hardware) 2021-05-11 16:22:18 +02:00
Tim BruijnzeelsandGitHub 5a29ffaa88 Re-issue ROAs and CA certificates on key activation. (#509) 2021-05-06 09:49:03 +02:00
Tim BruijnzeelsandGitHub 8ae546039a Remove resource classes (and withdraw objects) when a parent is removed (#508) 2021-05-04 14:58:28 +02:00
Tim Bruijnzeels 6e55e025ad Separate migrate repository test. 2021-04-14 16:24:35 +02:00
Tim Bruijnzeels 0642a2448c Increase delay for resync after key activation in functional test. 2021-04-14 10:15:16 +02:00
Tim Bruijnzeels b37b841e3a Add a small delay before resyncing after key activation. 2021-04-13 22:09:03 +02:00
Tim Bruijnzeels 9c522ef36c Wait a bit before adding the repository to the CA (#445) 2021-04-06 10:46:38 +02:00
a715c82f7f Remove embedded repo/ca choices (#461)
* Remove embedded repository contact option, migrate commands and events.
* Migrate old CA init events. Test upgrade from 0.6.0.
* Migrate embedded in CA history.

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2021-04-01 17:18:28 +02:00
23be0b5ef7 Make testbed fully configurable through config section
* Let users configure the AIA to use with TA certificates. Set 'ta_aia' in the config file. (#409)
* Use explicit configuration section for testbed, no longer rely on magic env variables.

Note: this will all be revised again if/when the Publication server and TA vs CA code is fully separated in future.

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2021-03-22 16:53:41 +01:00
e662c1553b Change to a hybrid event sourcing model for CAs and Repository. (#426)
This allows us to keep the full history of semantically important events, while not spamming the history and avoiding excessive use of disk space. See issues #370 and #423.

This is a substantial change. Highlights follow:
* Added a developer documentation section
* No longer using events for manifest/crl generation (#370)
* No longer using events for publication deltas (#423)
* Removed pre 0.6.0 migration code - people will have to upgrade to at least 0.6.0 first
* Added migration code for 0.6.0-0.8.1 to this
* Migrate repository by doing a keyroll. (#370)
* Remove archiving code for commands (no longer applicable)

Minor other fixes:
* Use a swap file when writing (avoid corrupt json if disk is full) (#370)
* Make removing publisher content idempotent for publishers already removed.

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
Co-authored-by: Jasper den Hertog <jasper@plainspace.com>
2021-03-17 12:08:36 +01:00
Tim Bruijnzeels a1c8889b56 Remove a CA (CLI and API only) #359 2021-01-05 16:08:23 +01:00
Ximon Eighteen 1a6be4d753 FIX: UI tests time out due to slow route analysis of vast TA resources when TA isn't even needed. 2020-12-31 16:33:54 +01:00
Ximon Eighteen dd7d3f41b2 FIX: Avoid stack overflow triggered by addition of new Actor::auth_error field by flattening out chained async API handler invocation. This avoids deep recursive .or_else() macro expansion of calls that pass the large Request value (of which Actor is part) resulting in stack overflow. This fix also removes the need for the boosted recursion_limit compiler setting. 2020-12-31 15:57:02 +01:00
Ximon Eighteen bc1908fa54 Update invocation of start_krill_daemon to match changed fn signature and fold fold duplicate start krill in test mode logic into one place. 2020-12-14 21:56:20 +01:00
Tim Bruijnzeels 93f1b7b606 Fix clippy warning. 2020-12-11 13:03:14 +01:00
Tim Bruijnzeels 5efe2fa377 Separate krillpubd and krillpubc. (#338) 2020-12-09 11:31:42 +01:00
Ximon Eighteen 472a0e4751 Merge multi-user branch. Uses Lagosta master branch commit a7e73cba which includes multi-user support. 2020-12-07 16:55:40 +01:00
Tim Bruijnzeels 9db34c1077 Improve effeciency and readability of functional tests.
Also, fixes ROA re-issuance when resources were temporarily removed (#96)
2020-11-26 11:39:36 +01:00