Commit Graph
128 Commits
Author SHA1 Message Date
Tim Bruijnzeels 7a5919f3e4 Simplify AggregateStore and have simple KeyValueStore for storage concerns only. (#324) 2020-10-06 12:15:36 +02:00
Tim Bruijnzeels 84cc7faf7e Using feature for functional-tests to help development speed. 2020-09-23 10:25:43 +02:00
Tim Bruijnzeels 46f4ba946f Fix clippy warnings / errors. 2020-09-18 13:35:31 +02:00
Tim Bruijnzeels 31394d3ba0 Cosign RTA (#284) 2020-09-16 16:08:13 +02:00
ximon18andGitHub 203ba20c8e Add testbed mode (#308)
Adds support for a new testbed_enabled boolean flag to configure Krill to permit child/parent CA/repo RFC-8183 relationships to be established by anonymous clients with a CA called testbed and enables a /#/testbed UI page for doing so visually ala other RPKI testbeds such as the APNIC RPKI testbed. Depends on latest Lagosta master/suggestions branches which have the testbed-poc branch already merged in.
2020-09-15 16:30:13 +02:00
Tim Bruijnzeels acd189c486 Prepare keys for multisigned RTA (#284) 2020-09-14 15:08:20 +02:00
Tim Bruijnzeels bc19fb7987 Remember and show (oneoff) RTA. (#284) 2020-09-14 15:08:20 +02:00
Tim Bruijnzeels ef7274bd73 Remove async_trait (#314) 2020-09-07 16:54:57 +02:00
Tim Bruijnzeels 7ec21fb539 Make Signer an explicit enum rather than generic. (#314) 2020-09-07 16:13:15 +02:00
Tim Bruijnzeels ac66275d23 Remove 'async' from Aggregate (#314) 2020-09-04 11:23:20 +02:00
Tim Bruijnzeels 3f07b6dd4f Merge branch 'master' into 0.8.0-RC-dev 2020-09-02 15:40:26 +02:00
Tim Bruijnzeels f89976c747 Raise the type_length_limit for test code as well. (#310) 2020-08-31 13:15:09 +02:00
Tim Bruijnzeels 9b46f5ab60 Use tokio::sync::RwLocks everywhere. Fix the message queue consumption. Use async in traits.. 2020-08-19 17:30:54 +02:00
Tim Bruijnzeels abd218a81b Use asynchronous locks to secure write access to CAs and status. (#250) 2020-08-18 11:53:02 +02:00
Tim Bruijnzeels 3e22e97abc Use persistent storage for tracking the CA to parents and repo status (#250) 2020-08-12 14:20:16 +02:00
Tim Bruijnzeels 6adfe7821e Get repository status through CLI. (#250) 2020-08-11 10:30:02 +02:00
Tim Bruijnzeels fb059a6d96 Show the statuses of parents through the CLI and API. (#260) 2020-08-03 11:03:20 +02:00
Tim Bruijnzeels 5d3dcf1642 Dry-run ROA updates, show the impact for the affected prefixes. (#290) 2020-07-28 17:03:32 +02:00
Tim Bruijnzeels 3fb4d164b3 Provide (scoped) ROA suggestions. (#289) 2020-07-28 11:16:14 +02:00
Tim Bruijnzeels cc41dde274 Configure rustfmt to allow 120 chars per line. 2020-07-24 14:17:44 +02:00
Tim Bruijnzeels aa89b3dbe7 Sign oneoff RTA (still needs e2e testing). (#283) 2020-07-20 16:54:48 +02:00
Tim Bruijnzeels 6e7fc785b1 Don't use unsafe code where we don't need it. (closes: #273) 2020-07-13 14:27:15 +02:00
Tim Bruijnzeels 865180d31b Make ROA (de-)aggregation threshold configurable, and test! (#268) 2020-07-10 16:51:03 +02:00
Tim Bruijnzeels ee5b6d9f08 Use a lazily initialised configuration static for easier access to config. (#268) 2020-07-10 13:08:24 +02:00
Tim Bruijnzeels 00bad7e5a0 Fix unsafe handling of downloaded RIS dump files, and double check unsafe code elsewhere. 2020-06-28 22:43:34 +02:00
Tim Bruijnzeels f8e41e305f Prevent the creation of ROAs that are redundant / make other ROAs redundant. (#198) 2020-06-09 17:01:56 +02:00
Tim Bruijnzeels 3d8b40da3b Add regression tests for history grandchildren and remote publication. Use BTreeMap to have consistent ordering. 2020-04-30 17:14:04 +02:00
Tim Bruijnzeels 744912b2a1 Add history regression tests for rfc6492 keyroll scenario 2020-04-30 16:21:00 +02:00
Tim Bruijnzeels ce13e7a2d1 Add history regression tests for rfc6492 scenario. 2020-04-30 16:17:34 +02:00
Tim Bruijnzeels 3acf7d7fd4 Fix history regression tests for "ca_roas" scenario. 2020-04-30 15:28:50 +02:00
Tim Bruijnzeels 865b1af5a2 Start of regression test for command history. (#228) 2020-04-29 17:01:52 +02:00
Tim Bruijnzeels 4ac7473c25 Reorganised resources for api regression testing. 2020-04-28 15:02:49 +02:00
Tim Bruijnzeels e755f0ab65 Merge test modules - cleanup. 2020-03-16 14:55:21 -03:00
Tim Bruijnzeels 4c716c8f09 Use hyper for all of the API - and make lots of stuff async-await as a result. (#189) 2020-03-15 11:55:05 -03:00
ximon18andGitHub cdeb52224a Don't wait for child resources to be issued. 2020-02-25 09:23:06 +01:00
Tim Bruijnzeels cc5afda6f7 Attempt to fix e2e test to wait until resources are issued to test CAs. 2020-02-21 17:22:48 +01:00
Tim Bruijnzeels e7ecd5a39f Fix ASN not held by parent in e2e test data. 2020-02-21 15:58:09 +01:00
Tim Bruijnzeels ee38cd74f9 Fix clippy warnings under rust 1.41 2020-02-14 15:58:30 +01:00
Ximon Eighteen 8f9d6836fd FIX: indentation accidentally omitted from recent commit. 2020-01-29 19:38:17 +01:00
Ximon Eighteen 62d7fb9629 FIX: Line accidentally removed from a recent commit. 2020-01-29 19:37:36 +01:00
Ximon Eighteen aef6565691 Verify that child resources are created. 2020-01-29 19:37:20 +01:00
Ximon Eighteen 2026bead6b Allow nested properties to be checked. 2020-01-29 19:36:30 +01:00
Ximon Eighteen 14d5541c57 FIX: also detect empty strings. 2020-01-29 19:36:07 +01:00
Ximon Eighteen c322aa332e Log the number of failed retries when an action with retries fails. 2020-01-29 19:35:35 +01:00
ximon18andGitHub 4cf066a52f Remove explicit service version detection, this is now handled by the framework instead. (#186) 2020-01-22 15:54:58 +01:00
ximon18andGitHub e3f768c56d Move the Krill E2E tests from the rpki-deploy repo to the Krill repo. (#181) 2020-01-22 14:17:15 +01:00
Tim Bruijnzeels 14ed737b4e Let users generate a config file using 'krillc config'. (Fixes: #167) 2020-01-09 16:10:14 +01:00
Tim Bruijnzeels 593bf7a35d Let user specify a repository before adding a parent #160 2019-12-17 16:56:19 +01:00
Tim Bruijnzeels 7aa521d204 Add tests for checking ROA max length values. (fixes: #153) 2019-12-12 15:26:33 -03:00
Tim Bruijnzeels 8442211754 Use rpki-rs branch with resource-set fixes. (#152) 2019-12-12 08:54:17 -03:00