summaryrefslogtreecommitdiffstats
path: root/sqv
AgeCommit message (Collapse)Author
2019-09-17openpgp: Rename TPK::revocation_status to TPK::revoked.Neal H. Walfield
- Combine TPK::revocation_status and TPK::revocation_status_at; only keep the version with the optional time parameter. - Rename TPK::revocation_status to TPK::revoked to match KeyBinding::revoked, UserIDBinding::revoked, and UserAttributeBinding::revoked. - Do the same for the C API.
2019-09-17openpgp: Fix TPK and TPK component revocation handling.Neal H. Walfield
- Consider a TPK, subkey, User ID, or User Attribute to be revoked at time `t` if the most recent revocation certificate that is live at time `t` is younger than the most recent self signature that is live at time `t`. - Further, consider a TPK or a subkey to be revoked at all times if there is a hard revocation (i.e., independent of what time that revocation was created and whether or not the revocation is alive at time `t`).
2019-09-06Release 0.10.0.v0.10.0Justus Winter
2019-08-23openpgp: Use a KeyBinding to store the primary key binding in a TPKNeal H. Walfield
2019-08-23openpgp: Rename SubkeyBinding to KeyBinding.Neal H. Walfield
- Also rename the `subkey` method to `key`.
2019-07-15Switch to Rust 2018.Justus Winter
2019-07-15Prepare for Rust 2018.Justus Winter
- This is the result of running `cargo fix --edition`, with some manual adjustments. - The vast majority of changes merely qualify module paths with 'crate::'. - Two instances of adding an anonymous pattern to a trait's function. - `async` is a keyword in Rust 2018, and hence it needs to be escaped (e.g. in the case of the net::r#async module). - The manual adjustments were needed due to various shortcomings of the analysis employed by `cargo fix`, e.g. unexpanded macros, procedural macros, lalrpop grammars.
2019-07-08Release 0.9.0.v0.9.0Justus Winter
2019-07-02openpgp: Make the crypto::hash module public, remove re-export.Justus Winter
2019-06-14Release 0.8.0.v0.8.0Justus Winter
2019-06-01tool, sqv: Use CARGO_PKG_VERSION.Justus Winter
2019-05-20sqv, tool: Make build script more robust.Justus Winter
- Create $CARGO_TARGET_DIR first. Fixes a build problem if $CARGO_TARGET_DIR does not exist when the build script is run.
2019-05-14openpgp, openpgp-ffi: Normalize TPK::revoked()Neal H. Walfield
- `TPK::revoked` returns a revocation status, not a boolean. Rename it to `TPK::revocation_status()`, like it is called in the FFI. - Like other methods, provide a `foo_at()` method and a `foo()` method.
2019-05-10Release 0.7.0.v0.7.0Justus Winter
2019-04-12Release 0.6.0.v0.6.0Justus Winter
- Also bump rfc2822 to 0.6.0. After all, we create tags for the versions.
2019-04-02Install completion files.Doron Behar
- Make tool/build.rs generate completion files into a predictable location ($CARGO_TARGET_DIR). - Install completion files.
2019-03-28Point to the version-specific documentation.Justus Winter
2019-03-22Fix build on macOS.Justus Winter
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
2019-03-14Release 0.5.0.v0.5.0Justus Winter
2019-03-14openpgp: Replace TPK::select_keys with an iterator.Neal H. Walfield
- TPK::select_keys mixes iterating and filtering. - Make KeyIter an implicit builder, which supports convenient filtering. - Provide a convenience function to key an iterator with a reasonable filter default.
2019-02-19Release 0.4.0.v0.4.0Justus Winter
2019-02-17openpgp: Implement From<Vec<Packets>> for PacketPile.Justus Winter
- This replaces PacketPile::from_packets.
2019-02-13openpgp: Introduce crypto::Hash.Justus Winter
- This trait formalizes the hashing of OpenPGP packets and related types. - Fixes #183.
2019-02-12openpgp: Rename conversion function.Justus Winter
- See #160.
2019-02-06openpgp: Rename consuming conversion functions.Justus Winter
- Rename functions that consume their receiver but are called .to_...() to .into_...(). - For the packet types, simply drop the conversion function in favor of using the From trait. - Fixes #160.
2019-01-18sqv: ensure keys are signing capable before verifying sigsKai Michaelis
Closes #164
2019-01-18sqv: fix sqv revocation test case.Kai Michaelis
Subkeys weren't signing capable. I also added to re-create the test data to improve transparency.
2019-01-17sqv: check if a key wasn't revoked at signature ctime.Kai Michaelis
Closes #44
2018-12-18Release 0.3.0.v0.3.0Justus Winter
2018-12-17openpgp: Change KeyIter to also return the RevocationStatus.Neal H. Walfield
- A Key's revocation status is a property of its binding, but the binding is not exposed by KeyIter. Expose it.
2018-12-14openpgp: Introduce trait Parse.Justus Winter
- Trait Parse introduces a uniform interface to parse packets, messages, keys, and related data structures.
2018-12-05openpgp: Drop openpgp::Reader.Justus Winter
- Now that the packet parser transparently strips armor, this reader is no longer necessary.
2018-11-27Fix the gitlab badges.Justus Winter
2018-11-26Release 0.2.0.v0.2.0Justus Winter
2018-11-26sqv: Fix tests.Justus Winter
- Fixes 64addd3eaa0c6902928b2eaab1db20b6c2ec8fa2, which removes the short alias for --keyring.
2018-11-26sqv: Drop short argument.Justus Winter
2018-11-26sqv: Move sqv into a new crate.Justus Winter
- This allows us to use sequoia-openpgp without compression support reducing binary size and trusted computing base.