Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-02 | openpgp: Rename PublicKeyAlgorithm::can_encrypt to for_encryption. | Justus Winter | |
- Fixes #463. | |||
2020-04-02 | openpgp: Drop Keygrip::from_hex in favor of FromStr. | Justus Winter | |
- See #462. | |||
2020-04-02 | openpgp: Drop Fingerprint::from_hex in favor of FromStr. | Justus Winter | |
- See #462. | |||
2020-04-02 | openpgp: Drop KeyID::from_hex in favor of FromStr. | Justus Winter | |
- See #462. | |||
2020-04-01 | openpgp: New rountrip test for equality on Packet. | Justus Winter | |
2020-04-01 | openpgp: New roundtrip test for Packet. | Justus Winter | |
2020-04-01 | openpgp: Implement Arbitrary for some Key<_, _>. | Justus Winter | |
2020-04-01 | openpgp: Rename. | Justus Winter | |
2020-04-01 | openpgp: Implement Arbitrary for Signature. | Justus Winter | |
2020-04-01 | openpgp: Implement Arbitrary for CompressedData. | Justus Winter | |
2020-04-01 | openpgp: Implement Arbitrary for Packet. | Justus Winter | |
2020-04-01 | openpgp: Fix Subpacket's debug formatting. | Justus Winter | |
- Only print the raw length bytes if there are some. | |||
2020-04-01 | openpgp: Make Fingerprint parsing in subpackets stricter. | Justus Winter | |
- If the version is not 4, return Fingerprint::Invalid even if it consists of 20 octets. | |||
2020-04-01 | openpgp: Avoid underflow when parsing SKESK5 packets. | Justus Winter | |
2020-04-01 | openpgp: Fix subpacket boundary check. | Justus Winter | |
2020-04-01 | openpgp: Fix worst-case estimate of compressed data size. | Justus Winter | |
2020-04-01 | openpgp: Fix RevocationKey::arbitrary. | Justus Winter | |
2020-03-31 | openpgp: Implement Preferences for ValidCert. | Neal H. Walfield | |
- Preferences should be implemented for ValidComponentAmalgamation and ValidCert, not ValidComponentAmalgamation and ValidKeyAmalgamation. - Adjust the Preferences trait since ValidCert doesn't implement ValidAmalgamation. | |||
2020-03-31 | openpgp: Add a direct_key_signature method for Cert and ValidCert. | Neal H. Walfield | |
2020-03-31 | openpgp: Use a more accurate lifetime. | Neal H. Walfield | |
2020-03-31 | openpgp: Import Result instead of using an absolute path. | Neal H. Walfield | |
- Don't use `crate::Result` directly. Import it and then use `Result`. | |||
2020-03-31 | openpgp: Implement Arbitrary for RevocationKey. | Justus Winter | |
2020-03-31 | openpgp: Implement Arbitrary for Fingerprint. | Justus Winter | |
2020-03-31 | openpgp: Implement Arbitrary for packet::Common. | Justus Winter | |
2020-03-31 | openpgp: Implement Arbitrary for the bit field types. | Justus Winter | |
2020-03-31 | openpgp: Implement Arbitrary for OnePassSig, PKESK. | Justus Winter | |
2020-03-31 | openpgp: Fix KeyServerPreferences::{PartialEq, Hash}. | Justus Winter | |
- Also compare and hash unknown bits. | |||
2020-03-31 | openpgp: Clarify PartialEq for bit field types. | Justus Winter | |
2020-03-31 | openpgp: Fix KeyServerPreferences::no_modify. | Justus Winter | |
2020-03-31 | openpgp: Add a replacement note to destructures_to! | Igor Matuszewski | |
2020-03-31 | openpgp: Remove explicit extern crates | Igor Matuszewski | |
2020-03-31 | openpgp: Simplify hash context construction | Igor Matuszewski | |
2020-03-31 | openpgp: Improve documentation of mod parse. | Justus Winter | |
- Avoid confusion with OpenPGP messages by calling a serialized packet sequence a stream. - Typo. | |||
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 | Allow unused parens on generated code | Igor Matuszewski | |
Since around Rust 1.40 the unused parens lint is more aggressive. Since all of these warnings are from generated code (effectively false positives), let's just silence the warnings. | |||
2020-03-30 | openpgp: Add test for PacketPileParser::next. | Justus Winter | |
2020-03-30 | openpgp: Express Packet::kind more concisely. | Justus Winter | |
2020-03-30 | openpgp: New doctest for crypto::mem::{Protected,Encrypted}. | Justus Winter | |
2020-03-30 | openpgp: New doctest for crypto::hash::Context. | Justus Winter | |
2020-03-28 | openpgp: Fix PacketParser::drop_eof to use O(1) memory. | Neal H. Walfield | |
- The default implementation of drop_eof uses O(1) memory; the specialized version uses O(n). - Prefer the default implementation. | |||
2020-03-28 | openpgp: Don't unnecessarily override default implementations. | Neal H. Walfield | |
- The `BufferedReader` trait provides default implementations for many methods. Don't override those that aren't normally specialized. | |||
2020-03-28 | openpgp: Fix determining whether content was read. | Neal H. Walfield | |
- Content is read if `amount > 0`, not if `data.len() > 0`. - Because `BufferedReader::data` can return more than the amount requested, we might mistakenly set `content_was_read`. | |||
2020-03-28 | openpgp: Only hash was is actually consumed. | Neal H. Walfield | |
- `BufferedReader::data`, etc. may return more data than was requested. Only hash what is being consumed. | |||
2020-03-27 | Fix merging UserIDs with other revocations | Jakub Onderka | |
2020-03-27 | openpgp: Align wording of context with Error::NoBindingSignature. | Justus Winter | |