Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
- Add support for decrypting messages. For now, only symmetrically
encrypted messages are supported.
|
|
|
|
- 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.
|
|
- Use time::Timespec instead of std::time::SystemTime in the API.
- Record timestamps of encryptions and verifications.
- Adapt the tool.
|
|
- Also add corresponding commands to the tool.
|
|
- Add commands to add, import, export keys, and to get binding and
key stats.
|
|
- A command line tool to interact with Sequoia. Useful for
debugging and development.
|