summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream
AgeCommit message (Collapse)Author
2020-05-11openpgp: Use {to,from}_be_bytes.Nora Widdecke
- Replace bitshifts with the conversion functions from the standard library.
2020-04-21openpgp: Add a filter applying ASCII Armor to the streaming stack.Justus Winter
- 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.
2020-04-20openpgp: Don't finalize the PartialBodyFilter in Drop.Justus Winter
- 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.
2020-04-08openpgp: Specialize stream::Message, make Cookie private.Justus Winter
- 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.
2020-04-07openpgp: Improve documentation for the serialize module.Justus Winter
- Fixes #472.
2020-04-03openpgp: Rename.Justus Winter
2020-04-03openpgp: Unify Message and writer::Stack, hide writers.Justus Winter
- 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.
2020-04-03openpgp: Rename.Justus Winter
2020-04-02openpgp: Move the writer module to serialize::stream.Justus Winter
2020-04-02openpgp: Move the padding module to serialize::stream.Justus Winter