Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-06 | openpgp: Pass a timestamp to the KeyIter instead of each filter. | Neal H. Walfield | |
- KeyIter::revoked and KeyIter::key_flags (and its variants) didn't take a time stamp so they could only be used for filtering keys based on their current state, not their state at some time in the past. Adding a time stamp to each of the filters would have fixed the problem, but it would have made the interface ugly: callers always want the same time stamp for all filters. - Split KeyIter into two structures: a KeyIter and a ValidKeyIter. - Add KeyIter::policy. It takes a time stamp, which is then used for filters like `alive` and `revoked`, and it returns a ValidKeyIter, which exposes filters that require a time stamp. | |||
2019-12-20 | Release 0.13.0.v0.13.0 | Justus Winter | |
2019-12-20 | openpgp: Move fields from Common to Container. | Justus Winter | |
2019-12-20 | openpgp: Simplify key iteration interface. | Neal H. Walfield | |
- Cert::keys_valid() is just a short-cut for Cert::keys_all().alive().revoked(false). - Remove Cert::keys_valid() and rename Cert::keys_all() to Cert::keys(). | |||
2019-12-19 | openpgp: Change KeyIter to return a struct instead of a tuple. | Neal H. Walfield | |
- A tuple is just an unnamed, inflexible struct. Use a struct instead. - Fixes #400. | |||
2019-12-18 | openpgp: Make type aliases for keys pub(crate). | Justus Winter | |
- They can still be used as a convenience, but the documentation will refer to them as their expanded counterparts. - This makes the structure of they Key<_, _> type more visible. | |||
2019-12-04 | openpgp: Refine CertBuilder::add_encryption_subkey. | Justus Winter | |
2019-12-04 | openpgp: Improve example. | Justus Winter | |
2019-12-04 | openpgp: Rename KeyFlag's accessors. | Justus Winter | |
- Fixes #359. | |||
2019-12-04 | openpgp: Rename KeyIter filters. | Justus Winter | |
- See #359. | |||
2019-11-28 | Call TPKs Certificates, update identifiers, documentation. | Justus Winter | |
- Fixes #387. | |||
2019-11-27 | openpgp: Fix issuer handling in the streaming verifier. | Justus Winter | |
- To that end, make VerificationHelper::get_public_keys take KeyHandles for all the issuers. | |||
2019-11-27 | openpgp: Make variants of VerificationResult struct-like, add infos. | Justus Winter | |
2019-11-25 | Release 0.12.0.v0.12.0 | Justus Winter | |
2019-11-25 | openpgp: Rename openpgp::constants to openpgp::types. | Justus Winter | |
- Fixes #381. | |||
2019-11-22 | openpgp: Make conversions into Key<SecretParts, _> fallible. | Justus Winter | |
- Fixes #380. | |||
2019-11-20 | openpgp: Use the builder pattern for stream::Encryptor. | Justus Winter | |
- Fixes #375. | |||
2019-11-19 | openpgp: Use the builder pattern for stream::LiteralWriter. | Justus Winter | |
- See #375. | |||
2019-11-19 | openpgp: Use the builder pattern for stream::Signer. | Justus Winter | |
- See #375. | |||
2019-11-15 | Fix rustc warnings. | Leonhard Markert | |
2019-11-10 | openpgp: Distinguish bad signatures from those that are not alive. | Neal H. Walfield | |
- Return a different `VerificationResult` for signatures that are not alive (BadSignature) from signatures that are actually bad (BadCheck). | |||
2019-10-30 | Update authors. | Neal H. Walfield | |
2019-10-25 | Release 0.11.0.v0.11.0 | Justus Winter | |
2019-09-11 | openpgp: Move packet::KeyFlags to constants. | Justus Winter | |
2019-09-10 | openpgp: Make 'LiteralWriter::new's arguments optional. | Justus Winter | |
2019-09-06 | Release 0.10.0.v0.10.0 | Justus Winter | |
2019-09-06 | openpgp: Rework streaming encryptor. | Justus Winter | |
- Instead of giving a set of TPKs to the encryptor, hand in a set of recipients, which are (keyid, key)-tuples, conveniently created from key queries over TPKs. This simplifies the encryptor, and makes the key selection explicit. - Drop the EncryptionMode type. - As a nice side effect, we can now generate encrypted messages with wildcard recipient addresses. | |||
2019-08-23 | openpgp: Use marker types to denote a Key's type. | Neal H. Walfield | |
- In addition to providing some added protection, this allows us to implement 'From<Key<_, _>> for Packet'. | |||
2019-08-23 | openpgp: Rename SubkeyBinding to KeyBinding. | Neal H. Walfield | |
- Also rename the `subkey` method to `key`. | |||
2019-08-20 | openpgp: Make choice of AEAD algorithm explicit. | Justus Winter | |
- Automatically using AEAD if all recipients claim support is a policy decision, which we'd rather avoid in the openpgp crate. - Fixes #293. | |||
2019-07-08 | Release 0.9.0.v0.9.0 | Justus Winter | |
2019-06-14 | Release 0.8.0.v0.8.0 | Justus Winter | |
2019-05-30 | openpgp: Make PKESK::decrypt use crypto::Decryptor. | Justus Winter | |
2019-05-10 | Release 0.7.0.v0.7.0 | Justus Winter | |
2019-05-09 | openpgp: Communicate message structure from the decryptor. | Justus Winter | |
- Fixes #100. | |||
2019-05-07 | openpgp: Rename TPKBuilder::default to TPKBuilder::new | Neal H. Walfield | |
- One would think that TPKBuilder::default would return something filled with useful defaults, but it just returns a nearly empty builder. Rename it to TPKBuilder::new, which is less misleading. | |||
2019-04-12 | Release 0.6.0.v0.6.0 | Justus Winter | |
- Also bump rfc2822 to 0.6.0. After all, we create tags for the versions. | |||
2019-04-09 | openpgp: Guard signature verifications with a time. | Justus Winter | |
- In the streaming verifier and decryptor, check that signatures (and binding signatures) are valid at the given time. - Fixes #247. | |||
2019-04-02 | openpgp: Improve the VerificationHelper protocol. | Justus Winter | |
- Change VerificationResult::GoodChecksum to include references to the TPK that contained the signing key, the key itself, a binding signature (if any), and any revocation information. - Fixes #140. | |||
2019-03-28 | Point to the version-specific documentation. | Justus Winter | |
2019-03-25 | openpgp: Rework the DecryptionHelper trait. | Justus Winter | |
- Simplify the protocol by removing the iteration. Instead, the callee gets a proxy for PacketParser::decrypt() that she can use to decrypt the message. If successful, the session key can be cached without involving the DecryptionHelper trait. This also allows us to dump session keys. - Fixes #219. | |||
2019-03-18 | openpgp: Make cipher algorithm configurable in streaming Encryptor. | Justus Winter | |
- Fixes #208. | |||
2019-03-18 | openpgp: Make hash algorithm configurable in streaming Signer. | Justus Winter | |
- See #208. | |||
2019-03-15 | guide: New chapter about message signing and verification. | Justus Winter | |
- Also add a new example about message signing and verification. - Fixes #217. | |||
2019-03-14 | Release 0.5.0.v0.5.0 | Justus Winter | |
2019-02-19 | Release 0.4.0.v0.4.0 | Justus Winter | |
2019-02-06 | openpgp: Remove the armored! macro. | Justus Winter | |
- The packet parser now digests armored data, so there is no need to use this even in examples or tests, just use the appropriate .from_bytes(..) function. - Fixes #169. | |||
2018-12-18 | Release 0.3.0.v0.3.0 | Justus Winter | |
2018-12-14 | openpgp: Introduce trait Parse. | Justus Winter | |
- Trait Parse introduces a uniform interface to parse packets, messages, keys, and related data structures. | |||
2018-12-12 | openpgp: Move SecretKey to packet::key. | Justus Winter | |