Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-25 | openpgp: Reject short key IDs. | Neal H. Walfield | |
- When parsing a key ID string, reject short key IDs. - Note: we can't reject short key IDs in `KeyID::from_bytes`, because that function in infallible. But, that function does return `KeyID::Invalid` when presented with a short key ID. - Fixes #388. | |||
2023-05-12 | openpgp: Improve error message. | Neal H. Walfield | |
- When an algorithm is completely disabled, don't say that it "is not considered secure since 1970-01-01T00:00:00Z" (i.e., the unix epoch), just say "is not considered secure". - Fixes #1000. | |||
2023-04-28 | openpgp: Don't generate arbitrarily large S2K parameters. | Justus Winter | |
- We have to stay well below 255 bytes so that packets including the S2K objects are representable. | |||
2023-02-16 | openpgp: Fix salt generation in impl Arbitrary for S2K. | Justus Winter | |
2022-10-29 | openpgp: Note that OpenPGP is a standardized form of PGP | Neal H. Walfield | |
2022-06-08 | openpgp: New error condition, UnsupportedCert2. | Justus Winter | |
- In contrast to UnsupportedCert, this variant carries all the packets that we failed to parse into a cert. Notably, this includes primary keys that we don't understand. Keeping the packets with the errors allows us to at least roundtrip the packets. | |||
2021-12-31 | openpgp: Add ability to restrict hash algorithms for signing. | Wiktor Kwapisiewicz | |
2021-12-13 | ipc, openpgp: Bump quickcheck to 1.0.3. | Nora Widdecke | |
- Adapt to the new API: - Gen is now a struct, not a Trait, and replaces StdThreadGen. - The rand re-export has been removed. As a consequence, we need our own function to generate an arbitrary value from a range. | |||
2021-11-18 | openpgp: Use a WASM-friendly SystemTime::now wrapper. | Justus Winter | |
- Fixes #769. | |||
2021-11-03 | openpgp: Reuse crypto::symmetric::Decryptor's ciphertext buffer. | Justus Winter | |
2021-10-25 | openpgp: Fix trailing semicolon in macro warning. | Nora Widdecke | |
- The new 1.56.0 compiler has started issuing a new warning: "trailing semicolon in macro used in expression position", which will be an error in a future release. - For more information, see https://github.com/rust-lang/rust/issues/79813 | |||
2021-08-27 | openpgp: Fix grammar and typesetting. | Justus Winter | |
2021-04-09 | Lint: Remove redundant lifetime. | Nora Widdecke | |
- Constants have by default a `'static` lifetime - https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes | |||
2021-04-09 | Lint: Use lazy evaluation. | Nora Widdecke | |
- https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call | |||
2021-01-08 | openpgp: Add regex support. | Neal H. Walfield | |
- Fixes #188. | |||
2020-12-14 | openpgp: Add custom logo and favicon to the documentation. | Justus Winter | |
2020-12-14 | openpgp: Drop the doc-hack in favor of doc(inline). | Justus Winter | |
2020-12-08 | openpgp: Use parens for assert_send_and_sync!. | Azul | |
2020-12-08 | openpgp: Ensure public types are Send and Sync. | Azul | |
- See #627. | |||
2020-12-01 | openpgp: Don't mention the unreleased sequoia-core. | Justus Winter | |
- Fixes #602. | |||
2020-11-24 | openpgp: Assert that Error is Send + Sync. | Justus Winter | |
- See #615. | |||
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-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-14 | Replace most 'extern crate' directives with 'use'. | Justus Winter | |
- See #480. | |||
2020-08-13 | openpgp: Allow compiling with other crypto backends | Igor Matuszewski | |
2020-06-04 | openpgp: Typo. | Justus Winter | |
2020-04-30 | openpgp: Make Error implement Eq. | Justus Winter | |
2020-04-16 | openpgp: Add version constant. | Justus Winter | |
2020-04-06 | openpgp: Introduce (mandatory, for now) crypto-nettle feature flag | Igor Matuszewski | |
2020-03-31 | openpgp: Remove explicit extern crates | Igor Matuszewski | |
2020-03-31 | openpgp: Improve summary line of modules and types. | Justus Winter | |
- Avoid repeating the type name. - Avoid self referential, trivial descriptions. - Avoid the terms OpenPGP and Sequoia. - Fix mistakes from the Message -> PacketPile rework. | |||
2020-03-31 | openpgp: Move definition of enum Packet. | Justus Winter | |
2020-03-31 | openpgp: Move definition of struct Message. | Justus Winter | |
2020-03-31 | openpgp: Move definition of struct Fingerprint. | Justus Winter | |
2020-03-31 | openpgp: Move definition of struct KeyID. | Justus Winter | |
2020-03-31 | openpgp: Move definition of struct PacketPile. | Justus Winter | |
- Implement Default for PacketPile, add internal accessor for the top-level. | |||
2020-03-30 | openpgp: Express Packet::kind more concisely. | Justus Winter | |
2020-03-27 | openpgp: Improve policy violation wording. | Justus Winter | |
2020-03-27 | openpgp: Define equality using the serialized OpenPGP form. | Justus Winter | |
- All packets should be considered equal if the serialized OpenPGP form is equal, modulo framing (i.e. CTB type, packet length encoding, partial body chunking). - In cases this may lead to surprising outcomes, discuss this in the documentation, and provide additional equality predicates. - Fixes #92. | |||
2020-03-27 | openpgp: Format timestamps in error messages. | Justus Winter | |
- Fixes #459. | |||
2020-03-09 | Switch from failure to anyhow. | Justus Winter | |
- Use the anyhow crate instead of failure to implement the dynamic side of our error handling. anyhow::Error derefs to dyn std::error::Error, allowing better interoperability with other stdlib-based error handling libraries. - Fixes #444. | |||
2020-03-09 | openpgp: Define openpgp::Error using thiserror. | Justus Winter | |
2020-03-03 | openpgp: Update documentation. | Justus Winter | |
2020-03-03 | openpgp: Mark experimental features. | Justus Winter | |
- Fixes #446. | |||
2020-02-26 | openpgp: Improve documentation. | Neal H. Walfield | |
2020-02-20 | openpgp: Improve assert_match!. | Justus Winter | |
- Emit a block so that the macro can be used as expression. | |||
2020-02-19 | openpgp: Move RevocationStatus to module types. | Justus Winter | |
2020-02-09 | openpgp: Add new error, PolicyViolation. | Neal H. Walfield | |
2020-02-06 | autocrypt: New crate. | Justus Winter | |
- Move the autocrypt-related functionality to a new crate. - Fixes #424. | |||
2020-01-31 | openpgp: Add a policy object. | Neal H. Walfield | |
- Change all functions that need to evaluate the validity of a signature (either directly or indirectly to take a policy object. - Use the policy object to allow the user to place additional constraints on a signature's validity. - This addresses the first half of #274 (it introduces the policy object, but does not yet implement any policy). |