summaryrefslogtreecommitdiffstats
path: root/sqv
AgeCommit message (Collapse)Author
2019-12-13sqv: Check that subkeys are live at the sig's creation time.Justus Winter
- Fixes #44.
2019-12-13openpgp: Make Signature4::set_computed_hash private.Justus Winter
2019-12-13openpgp: Remove hash algorithm from computed hash.Justus Winter
- The signature knows the hash algorithm.
2019-12-13sqv: Fix test cases.Justus Winter
- Backdate key creation time. - Remove superfluous features subpacket from signatures. - Check for "revoked" in stderr. - Fix the code that created the artifacts, use common prefix for filenames.
2019-12-11sqv: Improve certificate handling.Justus Winter
- Put all relevant certificates into a hash table indexed by all keyhandles. Merge certificates once.
2019-12-11sqv: Use expect.Justus Winter
2019-12-11sqv: Ignore marker packets.Justus Winter
2019-12-05sqv: Indicate that sqv is for OpenPGP signatures in description.Daniel Kahn Gillmor
- Until sqv grows the ability to cerify JWS or CMS or other kinds of signatures, we should be clear what it actually offers. - This description is also ported to the debian packaging information, so it shows up in apt listings, etc. Being more descriptive will make the tool findable. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-12-04openpgp: Refine CertBuilder::add_encryption_subkey.Justus Winter
2019-12-04openpgp: Rename KeyFlag's accessors.Justus Winter
- Fixes #359.
2019-12-04openpgp: Rename KeyIter filters.Justus Winter
- See #359.
2019-11-28Call TPKs Certificates, update identifiers, documentation.Justus Winter
- Fixes #387.
2019-11-26openpgp: Implement From<Fingerprint> for KeyID.Justus Winter
- Remove Fingerprint::to_keyid, use From instead.
2019-11-25Release 0.12.0.v0.12.0Justus Winter
2019-11-25openpgp: Rename openpgp::constants to openpgp::types.Justus Winter
- Fixes #381.
2019-11-21openpgp: Replace time crate with std::time.Justus Winter
- In sq and sqv, use chrono to interface with the user. - Fixes #341.
2019-11-18Fix more spellingDaniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-10-31Change license to GPLv2+.Neal H. Walfield
2019-10-30Update authors.Neal H. Walfield
2019-10-25Release 0.11.0.v0.11.0Justus Winter
2019-09-18openpgp: Change TPK::primary to return the key and not the bindingNeal H. Walfield
- The primary key is not a binding; it is a single component. Thus, returning a ComponentBinding is misleading. - Add methods to the TPK structure to return the direct signatures, certifications, self revocations, and other revocations.
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