Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-25 | openpgp: Add test. | Justus Winter | |
- Fixes #613. | |||
2020-11-24 | openpgp: Accept any number of (unicode) dashes in armor framing. | Justus Winter | |
- Fixes #610. | |||
2020-11-24 | openpgp: Improve tests. | Justus Winter | |
2020-11-24 | openpgp: Rework footer detection. | Justus Winter | |
2020-11-24 | openpgp: Return header length in armor::Kind::detect. | Justus Winter | |
2020-11-24 | openpgp: Assert that Error is Send + Sync. | Justus Winter | |
- See #615. | |||
2020-11-24 | openpgp: Assert that KeyHandle is Send + Sync. | Justus Winter | |
- See #615. | |||
2020-11-24 | openpgp: Move the compound hashing functions to SignatureFields. | Justus Winter | |
2020-11-24 | openpgp: Align hashing of compound objects with primitive objects. | Justus Winter | |
2020-11-24 | openpgp: Handle truncated armor prefixes. | Justus Winter | |
- Fixes #618. | |||
2020-11-24 | openpgp: Drop comment. | Justus Winter | |
- We generate Ed25519 keys, that requires the `rand` feature. | |||
2020-11-24 | openpgp: seal traits in cert::amalgamation | Azul | |
- Seal `ValidAmalgamation`, `ValidateAmalgamation` and `key::PrimaryKey` - Sealing traits so they cannot be implemented outside the openpgp crate. This way we can extend the traits without breaking the API compatibility. Every implementation of a sealed trait needs to also implement the `seal::Sealed` marker trait. - Implementing `seal::Sealed` for `ValidKeyAmalgamation<'a, P, R, R2>` also implements it for - `ValidPrimaryKeyAmalgamation<'a, P>` - `ValidSubordinateKeyAmalgamation<'a, P>` - `ValidErasedKeyAmalgamation<'a, P>` Therefore these can implement `ValidateAmalgamation` and `key::PrimaryKey` without explicitly implementing `seal::Sealed` - See #538. | |||
2020-11-24 | openpgp: seal Aead trait. | Azul | |
- Seal the Aead trait so it cannot be implemented outside the openpgp crate. - This way we can extend the trait without breaking the API compatibility. - See #538. | |||
2020-11-24 | openpgp: seal KeyRole and KeyParts | Azul | |
- Seal the `KeyRole` and `KeyParts` traits so they cannot be implemented outside the openpgp crate. - This way we can extend the trait without breaking the API compatibility. - See #538. | |||
2020-11-24 | openpgp: Avoid direct dependency on generic-array. | Justus Winter | |
2020-11-20 | openpgp: Fix PartialEq, Hash for key::Encrypted. | Justus Winter | |
- Fixes #617. | |||
2020-11-20 | openpgp: Dump armored packets in tests. | Justus Winter | |
- When building tests, change the debug representation to ASCII Armored blobs. This way, test vectors can be extracted from build logs. | |||
2020-11-18 | openpgp: Add mutation tests for key packets. | Justus Winter | |
2020-11-18 | openpgp: Return iterator over bad signatures. | Justus Winter | |
- This allows us to store verification errors with the signatures. - See #619. | |||
2020-11-17 | openpgp: minor: fix typos. | Azul | |
2020-11-13 | openpgp: Add the vectors from The first collision for full SHA-1. | Justus Winter | |
2020-11-12 | openpgp: Add test vector from SHA-1 is a Shambles. | Justus Winter | |
2020-11-12 | openpgp: 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-12 | openpgp: Improve tracing. | Justus Winter | |
2020-11-12 | openpgp: Make crypto::Hash::digest fallible. | Justus Winter | |
2020-11-10 | openpgp: Use Padme as default padding policy. | Wiktor Kwapisiewicz | |
2020-11-10 | openpgp: 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-09 | buffered_reader: Move dump to buffered_reader. | Nora Widdecke | |
- Use the Cookie's debug output to allow for generic Cookies. | |||
2020-11-09 | buffered-reader: Add Debug trait bound to Cookie. | Nora Widdecke | |
2020-11-06 | openpgp: 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-01 | openpgp: 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-27 | openpgp: 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-26 | openpgp: Refactor some matches for legibility | Igor Matuszewski | |
2020-10-26 | openpgp: Use std::matches! instead of custom destructures_to macro | Igor Matuszewski | |
2020-10-26 | openpgp: seal the Preferences trait | Azul | |
[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-22 | openpgp: Introduce symbol for the magic value. | Justus Winter | |
2020-10-22 | openpgp: Improve documentation on how to encrypt for multiple certs. | Justus Winter | |
2020-10-22 | openpgp: Select only supported encryption-capable keys. | Justus Winter | |
2020-10-21 | openpgp: Don't mention method that is no longer public. | Justus Winter | |
2020-10-21 | openpgp: Fix references. | Justus Winter | |
2020-10-21 | openpgp: 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-20 | openpgp: Support reading certificates from multiple armor blocks. | Justus Winter | |
- Fixes #256. | |||
2020-10-20 | openpgp: Pop the armor filter off the stack after parsing. | Justus Winter | |
2020-10-20 | openpgp: Improve tracing. | Justus Winter | |
2020-10-20 | openpgp: Typo. | Justus Winter | |
2020-10-20 | openpgp: Fix indentation. | Justus Winter | |
- Correctly handle negative indentation levels. | |||
2020-10-20 | openpgp: Avoid now unnecessary wrapping. | Justus Winter | |
2020-10-20 | openpgp: Implement BufferedReader<Cookie> for armor::Reader. | Justus Winter | |
- Fixes #441. | |||
2020-10-20 | openpgp: Harmonize the BufferedReader type. | Justus Winter | |
2020-10-20 | openpgp: Return the reader in PacketParserEOF. | Justus Winter | |