Age | Commit message (Collapse) | Author |
|
- Replace bitshifts with the conversion functions from the standard
library.
|
|
- Previously, when creating an armored message using the
armor::Writer and the streaming serialization interface, one had
to finalize both the writer stack and the armor writer, which is
unergonomic, not obvious, and error prone.
- This filter properly finalizes the armor writer when the writer
stack is finalized.
- Fixes #453.
|
|
- Previously, PartialBodyFilter::drop made an effort to finalize the
filter. This, however, is only a best-effort mechanism: It cannot
report errors.
- Because of this, we now believe that it actually exacerbates the
problem of downstream users not finalizing the filter: It will
work most of the time, but sometimes fail.
- Drop the implementation of Drop. Fix all the problematic test
cases.
|
|
- Previously, Message was polymorphic over the cookie. However, the
writer stack framework only has one user, and it likely ever will,
so I don't really see the point in complicating our interface.
|
|
- Fixes #472.
|
|
|
|
- Previously, Message::new returned a writer::Stack, and Message was
just an empty struct. Unify the types. This makes sense, because
if you have a message, and encrypt it, you get a message.
- Make the writer module private. This is an implementation detail.
|
|
|
|
|
|
|