Commit Graph
267 Commits
Author SHA1 Message Date
Tim Bruijnzeels d01838b62d Cargo fmt 2023-01-24 16:47:40 +01:00
Tim Bruijnzeels 1c7d63e872 Clippy 1.66.1 fixes 2023-01-24 16:12:42 +01:00
Tim BruijnzeelsandGitHub 01e54ff22f Support offline ta (#985) 2023-01-24 10:30:22 +01:00
Tim Bruijnzeels 94fa92baea Merge branch 'main' into prep-0.13.0 2023-01-18 11:15:26 +01:00
Ximon EighteenandTim Bruijnzeels 6b1afa221a Fix RRDP vulnerability (CVE-2023-0158) (#997) 2023-01-17 15:42:40 +01:00
Tim Bruijnzeels 4fe2c08ad5 Use handle locks in WalStore. (fixes #974) 2023-01-17 15:42:40 +01:00
Tim BruijnzeelsandGitHub 54c92ae124 Delete repository files by URI (#991) 2023-01-09 16:46:37 +01:00
Tim BruijnzeelsandGitHub bf93b6f5a8 Use handle locks in WalStore. (fixes #974) 2022-12-01 15:36:08 +01:00
Tim BruijnzeelsandGitHub 81f9a479a7 Add support for importing CAs (#968) with ROAs (#969) 2022-11-25 12:51:51 +01:00
Tim Bruijnzeels 5dbf62eb01 Improve sync-parent scheduling. 2022-10-19 15:27:18 +02:00
Tim BruijnzeelsandGitHub 1c5c7ed82f Combine RRDP deltas if configured to do so (#693) 2022-10-13 17:05:28 +02:00
Tim BruijnzeelsandGitHub 8b51702c62 Show ROA objects (#864)
* Show ROA objects
* Add functional (regression) test for roa comments
2022-09-19 16:41:56 +02:00
Tim BruijnzeelsandGitHub 7c98a2a74e Include (optional) comment with configured (ROA) authorisations. #863 2022-09-06 17:14:52 +02:00
Tim Bruijnzeels d7e79dd4f1 clippy fixes 2022-08-29 16:51:39 +02:00
Tim Bruijnzeels 266cf2e06d API to add parent should not change #898 2022-08-29 16:51:39 +02:00
Tim Bruijnzeels 9443792dc1 API to upload repository response should not change #895 2022-08-29 16:51:39 +02:00
Ximon EighteenandTim Bruijnzeels 802b0fda81 Upgrade rpki crate dependency (fixes #874)
* Upgrade rpki crate dependency (fixes #874).
* Update changelog.
* Fix test to not expect a leading line break in the XML response.
2022-08-29 16:51:39 +02:00
Tim Bruijnzeels d34a7f2fdb Show RFC8183 XML in CLI (#868) 2022-08-29 16:51:39 +02:00
Tim Bruijnzeels b03511b503 Ensure that all published objects are on the manifest (fix #853) 2022-07-25 14:33:25 +02:00
Tim BruijnzeelsandGitHub bbb2267587 Migrate RPKI objects in history (#841)
Ensures that Krill is more robust with regards to stricter validation of RPKI object types in future.
2022-07-18 15:51:26 +02:00
Tim BruijnzeelsandGitHub d68c07b59c Sign BGP router certificates (#827) 2022-07-07 13:20:00 +02:00
Tim BruijnzeelsandGitHub 7d271417f1 Support configuration for benchmark testing (#825) 2022-05-27 09:11:42 +02:00
330da84de5 Migrate 8181 8183 6942 support to rpki rs (#820)
* Use types which were ported into rpki-rs.
* Update dependency to rpki-rs 0.14.3-dev.
* IGNORE old_events test for now, see issue: #819
* Quick fix for compilation using --all-features. See issue #821

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2022-05-12 15:24:50 +02:00
Tim Bruijnzeels 12c4a1fc9a Merge release 0.9.5 into dev 2022-04-13 16:58:52 +02:00
Tim Bruijnzeels 5973b7431c Split big function test into smaller tests. 2022-04-05 16:01:25 +02:00
Tim Bruijnzeels 4e1df9294a Merge 0.9.5-rc8 (main) into dev 2022-03-30 14:05:02 +02:00
ffb7d6ecdd V0.9.5 rc7 prep (#803)
* Use PriorityQueue with time based Priority.
* Improve session sweep logging (make it less noisy)
* Update config file with new refresh settings - cap jitter at 50% of refresh
* Let api schedule repo sync tasks rather than execute it synchronously.
* Update version and readme for RC7
* Use the highest priority in case a task was already in the queue.
* Use consistent capitalization of Krill in config files.
* Update readme regarding ca-parent sync changes
* Update to Lagosta with updated dependencies
* Update developer documentation with new scheduler behaviour.
* Add hidden api end-point for scheduling suspend all - used in testing.

Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
2022-03-28 16:01:51 +02:00
Ximon EighteenandGitHub b0be88bc10 HSM support for keys (#21) (#733)
Adds support for PKCS#11 v2.20 and/or KMIP 1.2 compatible HSMs.
Includes backward compatible extensions to the krill.conf syntax.
Includes HSM related developer docs.
Excludes HSM specific API (REST, krillc, Prometheus) or UI extensions.
2022-01-14 14:19:24 +01:00
Tim Bruijnzeels 9965a72070 Support ASPAs with an explicit empty provider as set. (#685) 2021-11-05 15:59:17 +01:00
Tim Bruijnzeels 3b94ff2fa6 Proof of concept ASPA support (#685) 2021-11-05 15:59:17 +01:00
Tim BruijnzeelsandGitHub 30772b6f36 Suspend krill 092 higher only (#670) (PR #672) 2021-09-23 15:57:05 +02:00
Tim Bruijnzeels 055b817881 Cargo clippy - rust 1.54 2021-08-30 13:13:20 +02:00
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
Ximon Eighteen 55a944e255 Temporarily disable the RIPE NCC Validator 3 test until I can work out why it is trying to rsync from an HTTP URI... 2021-08-17 14:52:23 +02:00
Ximon Eighteen 62cadf8e8a E2E test minor logging improvements: Fix an empty "->" log line in the E2E test and add the API call being made to each of the messages logged during initial Krill setup. 2021-08-17 12:32:49 +02:00
Tim BruijnzeelsandGitHub 765b131184 Create ROAs if needed, when keys are activated (#601) 2021-08-04 12:06:47 +02:00
Ximon Eighteen 45977aa136 Remove more intercepts and waits that might be blocking the test from progressing. 2021-08-03 10:00:19 +02:00
Ximon Eighteen fa95116bc5 Comment out problematic waiting for now... 2021-08-03 10:00:16 +02:00
Ximon Eighteen a2667c2db3 Ignore all unhandled promise rejections
Newer Cypress fails tests in more situations than Cypress 6.8.0, but we’re not ready to investigate the root cause yet so just retain the previous behaviour for now.
2021-08-03 09:57:47 +02:00
Ximon Eighteen 8a708c9c72 FIX: Test Rust function name should match the JS test being executed. 2021-08-01 21:48:24 +02:00
Ximon Eighteen fc5683cefa FIX: Logout intercept should be POST not GET. 2021-08-01 21:48:18 +02:00
Ximon Eighteen ffd6c09460 FIX: syntax error in Cypress intercept() call. 2021-08-01 20:33:16 +02:00
Ximon Eighteen 5c3a463e1b Update intercept calls per Cypress 7 migration guide. 2021-08-01 20:14:45 +02:00
Ximon Eighteen ba0bb12cc7 Upgrade Cypress from 8.0.0 to 8.1.0.
See if any of the fixes help with the hanging UI tests.
2021-08-01 20:14:36 +02:00
Ximon Eighteen ad70e0e05a Attempt to work around the ESOCKETTIMEDOUT test failure in GH Actions. This change solves the issue in an AWS t2.small VM. 2021-07-30 00:38:39 +02:00
Ximon Eighteen cc3419074b FIX: Upgraded Cypress uses an err.message field, not an err.description field. Check the right field to catch the uncaught exception 'Redirected when going from "/onboarding" to "/interstitial" via a navigation guard' caused during the 'can logout' test in the multi_user_config_file test. 2021-07-29 20:43:55 +02:00
Ximon Eighteen fb33669664 Prevent Cypress failing the can logout test due to an uncaught "Redirected when going from "/onboarding" to "/interstitial" via a navigation guard." exception in Lagosta. 2021-07-29 17:20:30 +02:00
Ximon EighteenandGitHub f504d00a84 FIX: Don't assume err.description is non-null as since the ugprade from Cypress 6.8.0 to 8.0.0 sometimes it isn't. 2021-07-29 17:01:51 +02:00