Age | Commit message (Collapse) | Author |
|
|
|
- See #627.
|
|
|
|
- This is only used to communicate with the GnuPG agent, so it
should not be in the openpgp crate.
|
|
- This will be used by all the implementations of crypto::Decryptor,
and if we don't want them to end up in the openpgp crate, we need
to make it public.
|
|
- See #474.
|
|
- Previously, we provided hash_reader to downstream users to verify
detached signatures. Nowadays, we have the DetachedVerifier that
does the same in a much more convenient way. Therefore, we drop
hash_reader, and move its non-public sibling hash_buffered_reader
to a more appropriate location.
|
|
- Text signatures require normalizing the line endings to "\r\n"
before the text is hashed. This change implements this for the
consumption of signatures. The next commit will handle the
production of such signatures.
- See #530.
|
|
- See #474.
|
|
- See #474.
|
|
- See #474.
|
|
- See #474.
|
|
- See #474.
|
|
|
|
|
|
To keep it consistent with other re-exports and to easier see at a
glance what is re-exported from the module.
|
|
To be consistent; we don't use plural forms for modules anywhere else
and Rust always uses singular forms.
|
|
|
|
|
|
- Previously, we used a thread-local cache of the Yarrow CPRNG
state. However, without fork(2)-detection this is not safe. For
now, just initialize a fresh one on every invocation.
|
|
|
|
- The hash context knows the algorithm now.
|
|
- The context knows the algorithm now.
|
|
- The module contains only one exported item.
|
|
|
|
|
|
|
|
- Remove direct access, provide Password::map instead.
|
|
|
|
- Fixes #381.
|
|
- A SignatureGroup currently contains a hash mapping hash algorithms
to hash contexts. Typically this will only contain one or two
mappings. At most it will contain one mapping for each algorithm
that we support (currently, we support 7 hash algorithms).
- Given the small expected and small maximum size, a vector is the
better data structure:
- The small number of elements means that look up time will be
comparable whether we do a linear scan or look in a hash (in
fact, the linear scan is probably cache friendlier).
- Iterating over a vector is faster than iterating over a hash
map. The is the fast path.
- A vector takes up less space.
- Change SignatureGroup::hashes to use a Vec instead of a HashMap.
|
|
|
|
- This is the result of running `cargo fix --edition`, with some
manual adjustments.
- The vast majority of changes merely qualify module paths with
'crate::'.
- Two instances of adding an anonymous pattern to a trait's
function.
- `async` is a keyword in Rust 2018, and hence it needs to be
escaped (e.g. in the case of the net::r#async module).
- The manual adjustments were needed due to various shortcomings of
the analysis employed by `cargo fix`, e.g. unexpanded macros,
procedural macros, lalrpop grammars.
|
|
- Add and use a function that fills a buffer with a thread-local
random number generator.
|
|
|
|
- See #302.
|
|
|
|
- Create a new module for memory protection. Move common code from
`Password` and `SessionKey` to a new type `Protected`.
|
|
|
|
- *S-Expressions* as described in the internet draft
[S-Expressions], are a way to communicate cryptographic primitives
like keys, signatures, and ciphertexts between agents or
implementations.
[S-Expressions]: https://people.csail.mit.edu/rivest/Sexp.txt
|
|
|
|
- Fixes #267.
|
|
|
|
|
|
|
|
- For example, `buffered_reader::BufferedReaderMemory` is now called
`buffered_reader::Memory`. This makes the type names less unwieldy.
- Fixes #206.
|
|
- Keygrips are a proprietary, protocol agnostic way to identify
public keys used by GnuPG.
- Fixes #195.
|
|
|
|
- This trait formalizes the hashing of OpenPGP packets and related
types.
- Fixes #183.
|
|
|