summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-02-19Release 0.4.0.v0.4.0Justus Winter
2019-02-19openpgp: Return &[Signature] from TPK accessors.Justus Winter
- Fixes #196.
2019-02-19tool: New command sq inspect.Justus Winter
- sq inspect is similar to sq dump, but it tries to extract and display the high-level structure of the packet sequence in a format suitable for human consumption. - Fixes #87.
2019-02-19openpgp: Add missing accessors.Justus Winter
2019-02-18openpgp: Compute Keygrips.Justus Winter
- Keygrips are a proprietary, protocol agnostic way to identify public keys used by GnuPG. - Fixes #195.
2019-02-18openpgp: Implement From<Vec<u8>> for MPI.Justus Winter
2019-02-18openpgp: Improve documentation.Justus Winter
- Drop trivial docstrings for implementations of Serialize. - Mention failure modes for the encrypted containers.
2019-02-18openpgp: Move Serialize::to_vec to SerializeInto::to_vec.Justus Winter
- Here, we have .serialized_len() to compute the capacity needed, and .to_vec() is not a streaming interface.
2019-02-18openpgp: New traits SerializeInto and SerializeKeyInto.Justus Winter
- Eventually, we will provide a no_std variant of this crate. - Fixes #185.
2019-02-18openpgp: Return error instead of panicking.Justus Winter
- See #187.
2019-02-17openpgp: Implement Serialize for Fingerprint.Justus Winter
2019-02-17openpgp: Move the serialization traits.Justus Winter
2019-02-17ci: Delete old build artifacts.Justus Winter
- See #194.
2019-02-17openpgp: Support CAST5.Justus Winter
- Fixes #193.
2019-02-17openpgp: Support Autocrypt V1.1.Justus Winter
2019-02-17openpgp: Implement From<Packets> for PacketPile.Justus Winter
2019-02-17openpgp: Implement From<Vec<Packets>> for PacketPile.Justus Winter
- This replaces PacketPile::from_packets.
2019-02-15openpgp: fix TPKBuilder comments, add test for all suitesKai Michaelis
2019-02-15openpgp: comment Key::generate_*Kai Michaelis
2019-02-15openpgp: add NIST ECDH test casesKai Michaelis
2019-02-15openpgp: extend TPKBuilder to handle NIST ECsKai Michaelis
Adds three new chipher suites for NIST P-* curves
2019-02-15openpgp: split Key::generate into generate_rsa and generate_eccKai Michaelis
ECC and RSA key need different parameters. It makes sense to have two functions.
2019-02-15openpgp: implement ECDH for NIST P-{256,384,521}Kai Michaelis
Extends ecdh::(un)wrap_session_key to handle keys on NIST P-256, P-384 and P-521.
2019-02-13openpgp: add MPI::new_weierstrass().Kai Michaelis
shortcut for converting a point on a NIST curve to an MPI
2019-02-13openpgp: use nettle 4.0Kai Michaelis
2019-02-13openpgp: Improve handling of soft parsing errors.Justus Winter
- When we skip bytes, communicate the fact using the error embedded in the Unknown packet. - Fixes #41.
2019-02-13openpgp: Drop superfluous assignment.Justus Winter
2019-02-13openpgp: Use unqualified variants.Justus Winter
2019-02-13openpgp: Do not expose functions used for testing.Justus Winter
- The mpis::*::parse_naked functions are only used in testing. Do not expose them for normal builds. If downstream users are interested in this, it is easy to expose in the future without breaking the API. On the other hand, changing or removing these functions would break the API. - Fixes #184.
2019-02-13openpgp: Introduce crypto::Hash.Justus Winter
- This trait formalizes the hashing of OpenPGP packets and related types. - Fixes #183.
2019-02-13openpgp: Qualify nettle::Hash.Justus Winter
2019-02-12openpgp-ffi: Wrap openpgp::packet::Key.Justus Winter
2019-02-12ffi-macros: Fix freeing wrappers with references.Justus Winter
- We cannot use move_from_raw() here, because there may be no object to move from raw.
2019-02-12openpgp-ffi: Fix Signature wrapping.Justus Winter
2019-02-12openpgp-ffi: Use the correct type.Justus Winter
2019-02-12openpgp-ffi: Reduce FFI additions.Justus Winter
- See #154.
2019-02-12openpgp-ffi: Fix wrapping of Fingerprints and KeyIDs.Justus Winter
2019-02-12openpgp-ffi: Wrap openpgp::packet::signature::Signature.Justus Winter
2019-02-12openpgp-ffi: Improve derived functions.Justus Winter
- Use an absolute path for the 'io' module.
2019-02-12openpgp-ffi: Improve derived functions.Justus Winter
- Explicitly use the Parse and Serialize traits so that the modules that derives these functions do not have to use them explicitly.
2019-02-12openpgp-ffi: Fix formatting.Justus Winter
2019-02-12openpgp-ffi: Return wrapped KeyIDs and Fingerprints.Justus Winter
2019-02-12openpgp-ffi: Rename function.Justus Winter
- See #160.
2019-02-12openpgp-ffi: Use the correct type.Justus Winter
2019-02-12openpgp-ffi: Drop empty file.Justus Winter
2019-02-12openpgp: Rename conversion function.Justus Winter
- See #160.
2019-02-12openpgp: Use a Signer to bind user ids.Justus Winter
2019-02-12openpgp: Use a Signer to bind subkeys.Justus Winter
2019-02-12openpgp: Use a Signer to set the expiry.Justus Winter
2019-02-12openpgp: Drop superfluous function.Justus Winter