Commit Graph
365 Commits
Author SHA1 Message Date
Tim Bruijnzeels 2f5ba2ed13 Return error when CA does not hold resources for child. 2020-02-21 14:45:30 +01:00
Tim Bruijnzeels b09791fd44 Sending requests to revoke extra keys should work better when actually triggered. 2020-02-21 12:36:31 +01:00
Tim Bruijnzeels 566fa0f554 Extract times for publication (stale, valid, threshold) to constants. 2020-02-20 15:35:11 +01:00
Tim Bruijnzeels 0ab529b80d Increase log levels for triggered actions. 2020-02-20 12:52:55 +01:00
Tim Bruijnzeels fd59327fa4 Accept ID certificates that are not self-signed, issue for 15 years. (fixes: #207) 2020-02-19 17:20:10 +01:00
Tim Bruijnzeels 21663f1e8b Revoke unexpected surplus keys at the parent. (fixes: #200) 2020-02-19 11:48:22 +01:00
Tim Bruijnzeels 3698cdee7d Fix status code for CA or other resource not found. (fixes: #203) 2020-02-17 16:56:21 +01:00
Tim Bruijnzeels 345493d805 Read pre-RFC8183 parent response when running under ARIN. (closes: 205) 2020-02-17 16:44:13 +01:00
Tim Bruijnzeels 5df86c4645 Use dedicated uri (/api/v1/{ca}/parents-xml/{parent}) when uploading a parent response as xml. (fixes: #206) 2020-02-17 15:43:43 +01:00
Tim Bruijnzeels f062aa32dd Allow posting of parent response xml to a path with an explicit parent_handle. (fixes: #206) 2020-02-17 14:46:12 +01:00
Tim Bruijnzeels 8939ea1faf Trigger refresh for CA when repo is added. (closes #202) 2020-02-17 13:01:29 +01:00
Tim Bruijnzeels ee38cd74f9 Fix clippy warnings under rust 1.41 2020-02-14 15:58:30 +01:00
Tim Bruijnzeels bf9ba749b8 Serve lagosta files in Krill (closes: #204) 2020-02-14 15:54:05 +01:00
Tim Bruijnzeels 66aab326e2 Make the CLI more consistent. (fixes: #129) 2020-02-13 22:26:29 +01:00
Tim Bruijnzeels 7d7010ccca Simplify ReportFormat in CLI (fixes: #132) 2020-02-12 17:31:14 +01:00
Tim Bruijnzeels c6ff655517 Fix check trailing '/' on --rrdp for config generation with CLI. 2020-02-12 16:42:08 +01:00
Tim Bruijnzeels fb46f45338 Allow user to specify trusted HTTPS certificates using env KRILL_HTTPS_ROOT_CERTS. (closes: #195) 2020-02-12 11:47:34 +01:00
Tim Bruijnzeels fd6ba2aa2d Check arguments of CLI (fixes: #133) 2020-02-12 11:01:59 +01:00
Tim Bruijnzeels 3793aa2e66 Show server info (version, uptime) in CLI. (closes: #201) 2020-02-11 17:26:56 +01:00
Tim Bruijnzeels 18e4c993e1 Add krill server start timestamp to prometheus /metrics (#201) 2020-02-11 16:43:32 +01:00
Tim Bruijnzeels 2b55445978 Let Krill use the parent's name for the resource class when revoking a key. 2020-02-11 16:24:43 +01:00
Tim Bruijnzeels e6252333e8 Show server info (version and uptime) on API. (#201) 2020-02-11 12:12:01 +01:00
Tim Bruijnzeels 3f0668584a Let users add parent before configuring the repository (but do not request certificates) (closes #199) 2020-02-10 14:04:54 +01:00
Tim Bruijnzeels cfb272b8a6 Use ROA instead of 'authorisation' in user facing messages. (closes #197) 2020-02-10 10:53:45 +01:00
Tim Bruijnzeels 867fdca459 Revised ErrorResponse json. Now using a map for the arguments and a string label instead of a number. (#192) 2020-02-06 11:56:02 +01:00
Tim Bruijnzeels c3ed1ac901 Use map in ErrorResponse. (#192) 2020-02-04 16:01:26 +01:00
Tim Bruijnzeels 2f5db4809c Submit Parent Response as XML to the API when adding a parent. (closes: #190) 2020-01-31 15:47:32 +01:00
Tim Bruijnzeels 885eb93d76 Submit Parent Response as XML to the API. (closes: #190) 2020-01-30 10:20:02 +01:00
Tim Bruijnzeels 8aae8070eb Submit Repository Response as XML to the API. (closes: #191) 2020-01-29 17:18:02 +01:00
Tim Bruijnzeels de8c126c23 Fix sending requests twice. (fixes: #139) 2020-01-28 13:47:25 +01:00
Tim Bruijnzeels cdad1ee810 Simplify error handling. (fixes #86) 2020-01-28 11:21:48 +01:00
Tim Bruijnzeels d7a26c9c97 Return complete ErrorResponse for issues API. (closes #182) 2020-01-22 15:46:15 +01:00
Tim Bruijnzeels b2e805eff9 Use explicit null and empty values in json (easier for clients). (#175) 2020-01-21 16:48:14 +01:00
Tim Bruijnzeels 1a38c7ee37 Make stale publishers API consistent with list publishers. (#177) 2020-01-21 16:10:53 +01:00
Tim Bruijnzeels b2173f88f6 Move show stale publishers to /api/v1. (#177) 2020-01-21 11:29:18 +01:00
Tim Bruijnzeels 59c43c07ba Add command line option to report issues (#175) 2020-01-21 11:25:32 +01:00
Tim Bruijnzeels 14025c566f Add endpoints for seeing issues with all, or specific, cas. (#175) 2020-01-21 09:53:38 +01:00
Tim Bruijnzeels a0c6ab8404 Improve prometheus stats and provide CLI option. (#176) 2020-01-17 17:32:19 +01:00
Tim Bruijnzeels 22dcad036a Add API endpoint and CLI option for listing publishers stale for X seconds. (closes: #177) 2020-01-17 15:16:26 +01:00
Tim Bruijnzeels dcccd3c304 Add prometheus stats for the CAs. (#176) 2020-01-16 16:46:13 +01:00
Tim Bruijnzeels a03761fef6 Add prometheus stats for the embedded repository. (#176) 2020-01-14 11:34:59 +01:00
Tim Bruijnzeels 31d43190ab Remove unsafe unwraps in argument parsing of CLI. (fixes #178) 2020-01-10 14:47:28 +01:00
Tim Bruijnzeels 96431f3779 Improve config file issue reporting, hint that --config should be used. (closes: #123) 2020-01-10 09:50:48 +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 5a220b28aa Only log significant RFC 6492 and RFC 8181 exchanges. (fixes: #172) 2020-01-07 16:58:01 +01:00
Tim Bruijnzeels be0d5994de Allow localhost in TEST only. (closes: #171) 2020-01-07 14:33:12 +01:00
Tim Bruijnzeels 22cb098094 Disable repository by default. (#170) 2020-01-07 13:49:23 +01:00
Tim Bruijnzeels 3acd82169e Bump version for development. 2020-01-06 15:53:41 +01:00
Tim Bruijnzeels 6be1f000e2 Update release numbers for target release 0.4.2 (#165) 2019-12-18 16:25:09 +01:00
Tim Bruijnzeels 1758506b59 Check that parent can be reached before adding or updating it. (#163) 2019-12-18 15:00:04 +01:00