Commit Graph
37 Commits
Author SHA1 Message Date
Tim Bruijnzeels 3e2aaa93e5 Fixing warnings for integration test, leaving it as a work in progress. 2018-10-29 14:41:32 +01:00
Tim Bruijnzeels cd47bd3b25 Various fixes: keystore is immutable so it can go in an Arc, yet it can update things internally using its RWLock. Now syncing the PublisherList at start up and passing to the server. A start of an integration test was added, but it needs a whole more work to make it play with starting a hyper server for the duration of the test. 2018-10-26 16:47:29 +02:00
Tim Bruijnzeels 22c51861b6 Synchronising the publishers from disk (still needs to be integrated into main). 2018-10-25 16:13:43 +02:00
Tim Bruijnzeels 247fbd1533 Archiving an info message when archiving a version of a value. 2018-10-24 10:22:05 +02:00
Tim Bruijnzeels 54a3e965e5 Remove a publisher. 2018-10-23 12:47:54 +02:00
Tim Bruijnzeels da43238408 Fixing some documentation and lay-out. 2018-10-23 11:46:32 +02:00
Tim Bruijnzeels fe920c781a Rename 'current_version' to 'get' in keystore trait. 2018-10-22 16:46:50 +02:00
Tim Bruijnzeels 52cd0c5f8e Now also archiving values. 2018-10-22 16:44:36 +02:00
Tim Bruijnzeels 57f6918196 Merging diskstore into the caching store. Not to be used separately, and saves on cloning. Will probably make the cache optional later. 2018-10-17 17:09:08 +02:00
Tim Bruijnzeels 022b7bfef8 Cleanup of unused things 2018-10-17 14:58:57 +02:00
Tim Bruijnzeels c1a4eab1bb Merging the memstore into the caching disk store. No need to use this on its own, and what's more.. we don't want to implement archiving on this cache - just current versions. 2018-10-17 10:11:43 +02:00
Tim Bruijnzeels 4650a52e16 Disallowing sub-dirs in Key paths. Having subdirs makes enumerating the keys in a disk based key store hard. There is no clear use case for this at this time. 2018-10-17 09:27:25 +02:00
Tim Bruijnzeels ff68a94e47 Moving towards having a PublisherList that essentially wraps a KeyStore that stores the individual Publishers. 2018-10-16 09:19:27 +02:00
Tim Bruijnzeels 802aa9fc70 Added manager to store / retrieve the PublisherList. 2018-10-08 14:51:23 +02:00
Tim Bruijnzeels b098744435 Parse config from a file, and allow overrides through command line arguments. 2018-10-03 16:39:02 +02:00
Tim Bruijnzeels d8ceac5adf Adding CachingDiskKeyStore, which will read from memory when it can, but also save to disk to support restarts.
Note that this is only safe as long we operate a single node. Will look into clustering support at a later time. Perhaps TiKV is a useful lead.
2018-10-02 16:15:51 +02:00
Tim Bruijnzeels bd77547465 Using a PathBuf in the Key instead of a String. Also checking validatity of path against RFC 3896. 2018-10-02 16:01:51 +02:00
Tim Bruijnzeels 120c123eb6 Adding disk based keystore. 2018-10-02 14:02:15 +02:00
Tim Bruijnzeels f8de4c8612 Adding keystore and in memory implementation (using json for now) 2018-10-01 16:01:35 +02:00
Tim Bruijnzeels 7479820ece Removing the Command pattern, not sure that we will need it. 2018-09-26 16:44:01 +02:00
Tim Bruijnzeels 1523419fe2 Now also updating an IdCert for a publisher 2018-09-26 16:30:16 +02:00
Tim Bruijnzeels 03bee26ad7 Remove a publisher 2018-09-26 15:32:20 +02:00
Tim Bruijnzeels 684b60e9e3 Extended test for adding publisher, and fixed issue. 2018-09-26 14:50:18 +02:00
Tim Bruijnzeels 1d8c3b405c Now really adding publisher. 2018-09-26 14:31:20 +02:00
Tim Bruijnzeels 6501fd9754 Initial set up of PublisherList 2018-09-26 14:16:28 +02:00
Tim Bruijnzeels bc964ead87 Using static included bytes for resources. 2018-09-24 12:02:44 +02:00
Tim Bruijnzeels 757e4069e2 Removed things that are now in rpki-rs 2018-09-21 17:01:23 +02:00
Tim Bruijnzeels 51945d9d8e Ignore .cargo to allow getting rpki-rs locally in dev. 2018-09-21 16:58:00 +02:00
Tim Bruijnzeels 16ea125feb Fix bug in parsing code, should not panic on error when expecting "publisher_request" but return error 2018-07-27 14:38:37 +02:00
Tim Bruijnzeels bc43268eea Fixing line width 2018-07-27 14:29:10 +02:00
Tim Bruijnzeels 63b52c9281 Moved XML parsing to its own module using convenience types 2018-07-27 14:24:38 +02:00
Tim Bruijnzeels fd9bca8f56 Parsing <publisher_request> up to the point where the certificate needs to be parsed 2018-07-26 12:36:19 +02:00
Tim Bruijnzeels cb61eba5cd Introduced house style 404 page 2018-07-25 11:23:43 +02:00
Tim Bruijnzeels d9fb2683d9 Healthcheck on /health and 404 elsewhere 2018-07-24 16:23:04 +02:00
Tim Bruijnzeels fb6747a313 Run web server on hardcoded ip and port 127.0.0.1:3000 and return ok 2018-07-24 15:17:16 +02:00
Tim Bruijnzeels 1cdc6a8a6f Basic project setup 2018-07-24 14:32:58 +02:00
Tim Bruijnzeels 3ad7b46725 Adding Readme 2018-07-23 16:25:08 +02:00