Commit Graph
250 Commits
Author SHA1 Message Date
Tim Bruijnzeels d76fc87274 Fix argument parsing for updating the repo. 2019-11-15 12:41:07 +01:00
Tim Bruijnzeels 0ab239ab4e Small fixes in CLI help text. 2019-11-15 10:16:06 +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
Tim Bruijnzeels 9b383fa730 Only include child handles in CertAuthInfo (certs take too much space). (#128) 2019-11-14 10:00:22 +01:00
Tim Bruijnzeels fd2c306ce4 Actually, use the struct that will give back normalised json in the API (#126) 2019-11-13 12:53:47 +01:00
Tim Bruijnzeels 601a667272 Use normalised route authorizations in the API. (Closes #126) 2019-11-13 12:11:13 +01:00
Tim Bruijnzeels 0b8bf3f0a6 Only add resources to certificates if they are inherit, or non-empty. Fixes: #131 2019-11-09 11:13:26 +01:00
Tim Bruijnzeels 4d62555466 Add option to refresh, sync and publish all CAs in bulk from the CLI and API. (fixes #114) 2019-11-08 17:21:42 +01:00
Tim Bruijnzeels e2e6c9ee92 Publish at remote server (#60), migrate to it from the embedded (#104), and back (#105). 2019-11-08 13:44:58 +01:00
Tim Bruijnzeels 237c5a3b4e Add publisher to remote (krill) pubd in test. 2019-11-04 16:05:08 +01:00
Tim Bruijnzeels 3a9b7a3a2e Remove duplicate PublisherRequest implementation. 2019-11-04 15:02:03 +01:00
Tim Bruijnzeels 714f0fcb6e Show repo state and published objects through API and CLI. (#104) 2019-11-04 14:28:56 +01:00
Tim Bruijnzeels c6f38065a7 Add rfc8183 publisher request to API and CLI. (#104) 2019-11-04 11:29:20 +01:00
Tim Bruijnzeels bfe3bb5cb6 Let /api/v1/health check authentication. 2019-11-04 09:10:18 +01:00
Tim Bruijnzeels 33e51d1b6b Publish at remote server (#60 - still needs testing), and always do a full sync when publishing (implements: #42, fixes: #116) 2019-11-01 17:08:24 +01:00
Tim Bruijnzeels f08d9a359f Allow remote publishers (#107) and remove publishers (#113). 2019-10-31 14:43:16 +01:00
Tim Bruijnzeels 23665b0e6d Quick (inefficient) fix for the ResourceSet equality check. (#122) 2019-10-22 09:31:30 +02:00
Tim Bruijnzeels 6ceec7efbf Add IdCert to Publishers so we can verify RFC8183 messages there. (#107) 2019-10-22 09:31:30 +02:00
Tim BruijnzeelsandGitHub 7ad3a66647 Merge pull request #120 from dev-gto/log-server-version
Log server version
2019-10-21 18:10:26 +02:00
Alexandre Hamada fb2e29b743 Updated startup info log 2019-10-21 11:34:18 -03:00
Alexandre Hamada 9cf10a98f8 Updated KRILL_SERVER_APP 2019-10-21 11:29:24 -03:00
Alexandre Hamada 33e8641485 Adjustments
According https://github.com/NLnetLabs/krill/pull/120

* Move constants to lib.rs

* Removed '&'

* Print server version before "Starting krill using service..." info
2019-10-21 08:10:43 -03:00
Alexandre Hamada 2d99d93aff Moved version constants to a proper module
easier to update version info
2019-10-21 07:54:10 -03:00
Alexandre Hamada a9b001fab7 Also apply changes to cli 2019-10-18 13:34:20 -03:00
Tim Bruijnzeels fa4c3c28f4 Finish response. 2019-10-18 16:37:10 +02:00
Alexandre Hamada 49e33181d9 Log version and configuration file at startup 2019-10-18 11:20:51 -03:00
Tim Bruijnzeels 6ff579b586 Return forbidden if user is not logged for /ui/is_logged_in. Closes: #119 2019-10-18 15:56:11 +02:00
Tim Bruijnzeels bcb306de50 Add missing CLI option to get a parent response again. 2019-10-18 10:36:47 +02:00
Tim Bruijnzeels bd977ecbf4 Typo in --api argument parsing. 2019-10-18 09:27:53 +02:00
Tim Bruijnzeels c4917d5c10 Clean up CLI argument names and env vars. 2019-10-17 15:51:34 +02:00
Tim Bruijnzeels cb2fe0d194 Use latest time encoding. #3 2019-10-16 12:43:23 +02:00
Tim Bruijnzeels 21e275852b Accept lower case tokens. 2019-10-15 20:52:39 +02:00
Tim Bruijnzeels 141f8296a1 Add unit tests for ResourceSet equality. 2019-10-15 17:07:27 +02:00
Tim Bruijnzeels 2c6d810aab Allow users of a UI to login using the API token, and then be allowed access. 2019-10-14 16:44:26 +02:00
Tim Bruijnzeels 077d0fda66 Removing tokens for CAs and publishers. Closes: #100 2019-10-14 16:12:13 +02:00
Tim Bruijnzeels 38a6486f24 Add clarifying comments. 2019-10-14 14:46:22 +02:00
Tim Bruijnzeels 33106da11b Add debug logging when resources on certificate entitlements change, and a new cert is to be requested. 2019-10-14 10:18:16 +02:00
Tim Bruijnzeels d8ef1404ba Remove CMS client for publishing a local dir. Closes #103 2019-10-11 17:25:43 +02:00
Tim Bruijnzeels 1e3a4a0236 Remove API client for syncing a dir to a Krill API publication server. Closes: #102. 2019-10-11 17:17:53 +02:00
Tim Bruijnzeels 7fec0e3c5d Remove krillserver (plain api) publication contact. Closes #101. 2019-10-11 17:02:58 +02:00
Tim Bruijnzeels a07989cfbd Don't force users to use the 'cas' subcommand for the CLI, use one layer less. 2019-10-11 16:17:44 +02:00
Tim Bruijnzeels 106f233635 Force a trailing slash in the caRepository URI. (#99) 2019-10-11 13:55:19 +02:00
Tim Bruijnzeels 0bf6f8eb21 Add signing time to MFT and ROAs, not mandatory in RFC, but expected by some RPs. (#3) 2019-10-10 17:07:32 +02:00
Tim Bruijnzeels d5e9c03f4a Add/update/remove parent and/or child. Closes #91 #92 #93 2019-10-10 12:18:40 +02:00
Tim Bruijnzeels 9c55cc3648 Use signing certificate subject for CRL issuer. (#3) 2019-10-09 14:13:10 +02:00
Tim Bruijnzeels 4930b88b44 Use trace logging for tests. 2019-10-08 14:21:16 +02:00
Tim Bruijnzeels 1fbc92cdcb Use the actual subject of the issuing CA certificate for the issuer of an EE certificate. (#3) 2019-10-07 17:13:57 +02:00