Age | Commit message (Collapse) | Author |
|
Reported-by: Thomas Muenz
|
|
- PacketParserEOF::is_message, PacketParserEOF::is_keyring,
PacketParserEOF::is_tpk, PacketParserResult::possible_message,
PacketParserResult::possible_keyring, and
PacketParserResult::possible_tpk returned a boolean.
- Change them to return a Result<()> instead, which is more Rusty,
and, in particular, allows the caller to determine why the message
didn't parse.
|
|
|
|
- Add a strict "mode" to the armor reader that requires an armor
header line, but doesn't care what the header is.
- Closes issue #254.
|
|
- pgp_tpk_merge_packets was still using old-style unwrapping for the
array of Packets although Packets now use new-style wrapping.
- Likewise pgp_signature_into_packet.
|
|
|
|
- Fixes #100.
|
|
|
|
|
|
|
|
|
|
|
|
- Add pgp_user_id_new to instantiate from a c string.
- Add pgp_user_id_from_raw to instantiate from a not-NUL-terminated
buffer.
|
|
- Apparently, some platforms use name mangling to differentiate
calling conventions. Deal with that in `make check-headers`.
- Fixes 8ed5842580a1c172fc8d5ebe5d0444ee5e011a01.
|
|
|
|
- To preserve location information, replace the include.
|
|
- Apparently, some platforms use name mangling to differentiate
calling conventions. Deal with that in `make check-headers`.
|
|
- Use `extern "C"` instead of `extern "system"`. The latter selects
stdcall, which is only appropriate for talking to the Windows API.
|
|
|
|
- pgp_tpk_builder_generate returns a pgp_status_t, not a pgp_tpk_t.
|
|
|
|
- pgp_tpk_builder_autocrypt takes an optional string. Reflect this
in the C declaration.
|
|
|
|
- Factor out the code so it can be used elsewhere.
- Map all CipherSuites.
|
|
- One would think that TPKBuilder::default would return something
filled with useful defaults, but it just returns a nearly empty
builder. Rename it to TPKBuilder::new, which is less misleading.
|
|
|
|
|
|
- Add pgp_user_id_name, pgp_user_id_comment, pgp_user_id_address,
and pgp_user_id_address_normalized.
|
|
|
|
- With a1e226f8f1418de43e577fdaa1d087b68bbb09ae in place, we have a
more general way to add components to a TPK. Retire the current
`TSK` type and replace it with a thin shim that only allows
serialization of secret keys.
- Fixes #107.
|
|
- See #156.
|
|
|
|
- Do not hardcode the lifetime in the trait.
|
|
- Also bump rfc2822 to 0.6.0. After all, we create tags for the
versions.
|
|
- In the streaming verifier and decryptor, check that
signatures (and binding signatures) are valid at the given time.
- Fixes #247.
|
|
|
|
- Previously, we reported the signature groups in the order
encountered in the message. Reverse this order in preparation to
reporting the message structure, which is the path from the start
of the message to the literal data packet.
|
|
- Change VerificationResult::GoodChecksum to include references to
the TPK that contained the signing key, the key itself, a binding
signature (if any), and any revocation information.
- Fixes #140.
|
|
|
|
- Specify versions for intra-workspace dependencies in the crates
that are not yet released.
|
|
|
|
- Simplify the protocol by removing the iteration. Instead, the
callee gets a proxy for PacketParser::decrypt() that she can use
to decrypt the message. If successful, the session key can be
cached without involving the DecryptionHelper trait. This also
allows us to dump session keys.
- Fixes #219.
|
|
|
|
|
|
- Fixes e3cb52fede1872f93371677224201228a62ae6ce.
|
|
|
|
- Use GNU install, use the correct extension for dynamic libraries.
- Fixes #226.
|
|
- To make the tests and examples more portable, provide our own
roughly compatible replacement for glibc's error(3).
|
|
- pgp_reader_copy: Copy up to n bytes from a reader to a writer.
- pgp_reader_discard: Read to EOF and discard everything that is
read.
|
|
- Fixes #224.
|