summaryrefslogtreecommitdiffstats
path: root/store/Cargo.toml
AgeCommit message (Collapse)Author
2018-01-23Use the failure crate to handle errors.Justus Winter
- The failure crate is a young error handling solution for Rust. It may change the API, but since we pin our dependencies, this should not be a problem for us, albeit a bit inconvenient. - Introduction of the crate is a bit noisy, but not as bad as anticipated, because failure magically handles all errors used in the standard library. - Matching on concrete error values requires downcasting before matching, which seems a bit unidiomatic. This is the cost of using and "chaining" arbitrary error types. This is something that may be improved later on in the library or language. - Having said that, using the error type in the tool was nice. I did not have to use a downcast, so maybe my worries about downcasts are unjustified because it is not such a common use case after all. On the other hand, the tool is quite simple and our only mode of failure is to print the message.
2018-01-17store: Periodically update keys from the network.Justus Winter
- Update all keys stored in a store with network policy 'encrypted' and 'insecure' periodically using the SKS keyserver pool. - Slightly amend the net::ipc interface so that servers can spawn futures on the reactor. - As a background service cannot directly communicate failures, this patch adds a logging mechanism. - In sq, display the key update timestamp, and the status of the last update.
2018-01-09store: Disable documentation for the 'keystore' binary.Justus Winter
- It is not intended to be used directly, no need to clutter the documentation with it.
2018-01-08store: New store module.Justus Winter
- The store stores transferable public keys in a SQLite database. It runs either in an external process, or is co-located in the current process. - The store provides any number of stores for each application, identified by domain and name. Each store maps labels to TPKs. - The store uses a unified pool of TPKs. In the future, this pool is automatically kept up-to-date.
2017-12-13Split up Sequoia.Justus Winter
- Split up into six crates: buffered-reader, openpgp, sequoia-core, sequoia-ffi, sequoia-net, and sequoia-store. - Adjust imports accordingly.