summaryrefslogtreecommitdiffstats
path: root/openpgp
AgeCommit message (Collapse)Author
2020-11-13openpgp: Add the vectors from The first collision for full SHA-1.Justus Winter
2020-11-12openpgp: Add test vector from SHA-1 is a Shambles.Justus Winter
2020-11-12openpgp: Mitigate collision attacks on SHA-1.Justus Winter
- Use a collision detecting implementation of SHA-1. When a collision attack is detected, the algorithm employs a mitigation, changing the hash function to discriminate the colliding preimage.
2020-11-12openpgp: Improve tracing.Justus Winter
2020-11-12openpgp: Make crypto::Hash::digest fallible.Justus Winter
2020-11-10openpgp: Use Padme as default padding policy.Wiktor Kwapisiewicz
2020-11-10openpgp: Make stream::Padder use the builder pattern.Wiktor Kwapisiewicz
- Split Padder::new() into new and build. - Adjust code in dependent projects (sop and sq). - Fixes #600.
2020-11-09buffered_reader: Move dump to buffered_reader.Nora Widdecke
- Use the Cookie's debug output to allow for generic Cookies.
2020-11-09buffered-reader: Add Debug trait bound to Cookie.Nora Widdecke
2020-11-06openpgp: Use non_exhaustive attribute.Nora Widdecke
- Fixes #563 - With an MSRV >= 1.40.0, we can use #[non_exhaustive], as mentioned in #406. - This is also a clippy lint: https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
2020-11-01openpgp: Update documentation w.r.t packets added to hashed area.Wiktor Kwapisiewicz
- Updates documentation to match the implementation changes introduced in commit 7e9561e9. - Fixes #583.
2020-10-27openpgp: Fix wording on functions returning iterators.Wiktor Kwapisiewicz
- Functions that had their return values changed from a single item to impl Iterators had obsolete documentation. Fix this. - Closes #593.
2020-10-26openpgp: Refactor some matches for legibilityIgor Matuszewski
2020-10-26openpgp: Use std::matches! instead of custom destructures_to macroIgor Matuszewski
2020-10-26openpgp: seal the Preferences traitAzul
[Seal] the `cert::Preferences` trait so it cannot be implemented for types outside this crate. Therefore it can be extended in a non-breaking way. Attempts to implement the trait will not compile. refers: #538 [seal]: https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed
2020-10-22openpgp: Introduce symbol for the magic value.Justus Winter
2020-10-22openpgp: Improve documentation on how to encrypt for multiple certs.Justus Winter
2020-10-22openpgp: Select only supported encryption-capable keys.Justus Winter
2020-10-21openpgp: Don't mention method that is no longer public.Justus Winter
2020-10-21openpgp: Fix references.Justus Winter
2020-10-21openpgp: Add KeyAmalgamationIter::supported.Justus Winter
- Changes the iterator to only return keys supported by Sequoia and the underlying cryptographic library. - Also add ValidKeyAmalgamationIter::supported. - Fixes #580.
2020-10-20openpgp: Support reading certificates from multiple armor blocks.Justus Winter
- Fixes #256.
2020-10-20openpgp: Pop the armor filter off the stack after parsing.Justus Winter
2020-10-20openpgp: Improve tracing.Justus Winter
2020-10-20openpgp: Typo.Justus Winter
2020-10-20openpgp: Fix indentation.Justus Winter
- Correctly handle negative indentation levels.
2020-10-20openpgp: Avoid now unnecessary wrapping.Justus Winter
2020-10-20openpgp: Implement BufferedReader<Cookie> for armor::Reader.Justus Winter
- Fixes #441.
2020-10-20openpgp: Harmonize the BufferedReader type.Justus Winter
2020-10-20openpgp: Return the reader in PacketParserEOF.Justus Winter
2020-10-20openpgp: Make struct Cookie public.Justus Winter
2020-10-19openpgp: Fix documentation.Justus Winter
2020-10-19buffered-reader: Make Generic::reader private and add accessors.Justus Winter
2020-10-19openpgp: Avoid buffering.Justus Winter
2020-10-19openpgp: Make StandardPolicy::at polymorphic over time.Justus Winter
2020-10-18openpgp: Implement date formatting for WASM using chrono crateIgor Matuszewski
2020-10-18openpgp: Change Cert::into_packets to not drop any information.Neal H. Walfield
- Change `Cert::into_packets` to return the underlying packets. That is don't drop secret key material like `Cert::serialize` does.
2020-10-18openpgp: Harmonize the order that packets are serialized.Neal H. Walfield
- When serializing a `Cert`, we should emit the signatures in their order of importance: - self revocations - self signatures - certifications - other certifications - Change TSK::serialize_common to be consistent with this.
2020-10-16openpgp: Add filters for userids, user attributes, and subkeys.Justus Winter
- This covers the most common filter operations on certificates, those with a per-component granularity. - Fixes #21.
2020-10-16openpgp: Rename file.Justus Winter
2020-10-16openpgp: Fix link.Justus Winter
2020-10-16openpgp: Fix crash in SKESK::parse.Justus Winter
- Fixes #588.
2020-10-14Release 0.20.0.v0.20.0Justus Winter
2020-10-14openpgp, autocrypt: Port to base64 0.13.Justus Winter
2020-10-14buffered-reader, openpgp: Port to bzip2 0.4.Justus Winter
2020-10-14Use 'Examples' for the examples section.Justus Winter
- See #480.
2020-10-14Replace most 'extern crate' directives with 'use'.Justus Winter
- See #480.
2020-10-13openpgp: Drop obsolete comment.Justus Winter
2020-10-13openpgp: When complementing issuers, mark issuers as authenticated.Justus Winter
2020-10-13openpgp: Sort the unhashed subpacket area in Signature::normalize.Justus Winter