Commit Graph
73 Commits
Author SHA1 Message Date
Tim Bruijnzeels 3167775f1f Order RoaDefinition and Announcement in API responses. (#233) 2020-05-29 11:46:00 +02:00
Tim Bruijnzeels e574cf09fe Change authoris* to the US spelling of authoriz* for consistency. 2020-05-27 16:06:43 +02:00
Tim Bruijnzeels b4b6c200a1 Analyse ROA vs Announcements (still needs scoping). #233 2020-05-19 17:06:23 +02:00
Tim Bruijnzeels cc8905f5ab Parse RIS Dump files. #232 2020-05-14 15:02:35 +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 865b1af5a2 Start of regression test for command history. (#228) 2020-04-29 17:01:52 +02:00
Tim BruijnzeelsandGitHub f7dcc5b0c0 Show paginated command history (Fixes #112) 2020-04-22 16:12:52 +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
Tim Bruijnzeels e34d28debb Add SSL support to the hyper server. 2020-03-06 16:47:57 +01:00
Tim Bruijnzeels e6252333e8 Show server info (version and uptime) on API. (#201) 2020-02-11 12:12:01 +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 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 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 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 22cb098094 Disable repository by default. (#170) 2020-01-07 13:49:23 +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
Tim Bruijnzeels ae98800356 Depend on version of rpki-rs with fix for RFC3779 encoding issue (#161) 2019-12-17 22:02:38 +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 456d6aa01d Only allow valid max length values when adding roas. (fixes: #153) 2019-12-12 15:07:16 -03:00
Tim Bruijnzeels 8442211754 Use rpki-rs branch with resource-set fixes. (#152) 2019-12-12 08:54:17 -03:00
Tim Bruijnzeels 7ecf8d6912 Temporary workaround for ResourceSet::intersection, only works for single parent CAs. (#152) 2019-12-11 20:33:03 -03:00
Tim Bruijnzeels 3a14a3d376 Show sha256 of actual Id Cert, not its pem encoding. (Closes #151) 2019-12-02 15:53:38 +01:00
Tim Bruijnzeels 33feafe807 Use new repo URI on manifests when changing to a new repository. (#150) 2019-12-02 12:05:12 +01:00
Tim Bruijnzeels a6e43c5c03 Add ID cert PEM and hash to CertAuthInfo (closes #149) 2019-11-29 14:14:22 +01:00
Tim Bruijnzeels 59285be05e Log received RFC6492 messages and replies. (#143) 2019-11-28 21:04:37 +01:00
Tim Bruijnzeels 93c6cb5b81 Separate repo config and state endpoints. (#141) 2019-11-27 10:53:00 +01:00
Tim Bruijnzeels 65b61f5485 Show names of key states in CertAuthInfo json. (#141) 2019-11-26 16:11:55 +01:00
Tim Bruijnzeels e82a9b98f2 Use "externally tagged" (default) and "snake_case" for all enum serializations. (#141) 2019-11-26 15:08:09 +01:00
Tim Bruijnzeels 5be87a7c1c Use adjacently tagged enum for resource class keys in api. (#141) 2019-11-26 12:08:20 +01:00
Tim Bruijnzeels 9bdc3f2dfa Better error reporting for showing parent contact. (#141) 2019-11-25 16:30:50 +01:00
Tim Bruijnzeels 1d2f4aa38d Better error reporting when updating a repository for a CA. (#141) 2019-11-25 16:13:53 +01:00
Tim Bruijnzeels 206e79ec46 Improve error reporting and json for adding children / showing parent contact info for a child. (#141) 2019-11-25 14:54:13 +01:00
Tim Bruijnzeels 959e6ef30e Return proper error when trying to add a CA that uses a handle which is in use. (#141) 2019-11-25 12:47:51 +01:00
Tim Bruijnzeels 31b4439381 Use term 'handle' for consistency when listing CAs. (#141) 2019-11-25 12:25:23 +01:00
Tim Bruijnzeels 5b81d32975 Update publisher list api (#141) 2019-11-25 10:46:02 +01:00
Tim Bruijnzeels df66d8b403 Better responses for unknown methods vs resources in the API. (fixes: #146) 2019-11-24 09:55:22 +01:00
Tim Bruijnzeels 532f83817d Clean up CA event json to ensure backward compatibility in future releases (#53) 2019-11-22 12:55:17 +08:00
Tim Bruijnzeels 5b73fc6d7b Layout fixes for CLI text output. 2019-11-16 16:55:46 +01:00
Tim Bruijnzeels b30aa09fd2 Give a more helpful error message when user tries an invalid ROA update (fixes #118) 2019-11-14 16:15:06 +01:00
Tim Bruijnzeels 5c0a04200d Use separate API call for list authorisations (closes #127) 2019-11-14 15:46:58 +01:00
Tim Bruijnzeels 26bb82014f Show parents in list, and parent contact only as separate call in API and CLI (Closes #138) 2019-11-14 15:13:39 +01:00
Tim Bruijnzeels 610e67fd1b Include child ID cert as PEM with SHA256 in API response. (#136) 2019-11-14 13:13:02 +01:00