summaryrefslogtreecommitdiffstats
path: root/sq
AgeCommit message (Collapse)Author
2021-04-28sq: Implement sq key password.Justus Winter
2021-04-26openpgp: Add high-level interface for attested certifications.Justus Winter
- Fixes #335.
2021-04-26openpgp: Expose low-level functions for attestation key signatures.Justus Winter
- See #335.
2021-04-26openpgp: Expose support for attested certifications.Justus Winter
- This is a low-level interface. We will provide nicer abstractions in a followup. - See #335.
2021-04-26sq: Improve dumping of unknown variants.Justus Winter
- Some enums are non-exhaustive, so we need to handle unknown variants. Make this case more useful by falling back to the debug representation.
2021-04-13bench: Disable libtest benchmark harness.Nora Widdecke
- The libtest benchmark harness that is automatically added by cargo interferes with criterion. Disable it everywhere where there are no benchmarks. - https://github.com/rust-lang/rust/issues/47241 - https://bheisler.github.io/criterion.rs/book/faq.html
2021-04-12Include LICENSE.txt in all published cratesFabio Valentini
Having the license file in the root directory is not enough, since cargo actions for workspace members will not consider this file. This commit adds a symbolic link to the license file in the root directory of all workspace members, so "cargo publish" will include the LICENSE.txt file when publishing crates.
2021-04-09Lint: Remove redundant clone().Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
2021-04-09Lint: Use char for single characters.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern - https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str
2021-04-09Lint: Remove unecessary imports.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
2021-04-09Lint: Use next instead of nth(0).Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#iter_nth_zero
2021-04-09Lint: Use is_empty().Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#len_zero - https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty
2021-04-09Lint: Remove redundant returns.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
2021-04-09Lint: Use matches! macro.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
2021-04-09Lint: Remove redundant closures.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
2021-04-09Lint: Remove unnecessary conversions.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
2021-04-09Lint: Use lazy evaluation.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
2021-04-09openpgp, sq: Remove redundant semicolons.Wiktor Kwapisiewicz
- Compiling with 1.51 toolchains prints warnings about redundant semicolons. Remove them.
2021-03-19sq: Dump trust packets using the hex dumper.Justus Winter
2021-03-12sq: Improve keyring list.Justus Winter
- Try hard to list the most relevant (i.e. primary) user id. - Add a flag --all-userids to list all userids.
2021-03-11sq: Implement keyring filter --userid.Justus Winter
- Fixes #689.
2021-03-11sq: Clarify matching semantics.Justus Winter
- Fixes #690.
2021-03-11sq: Fix filtering certificates.Justus Winter
- Fixes 1eee13d7035718eddc1163d7e0432299aee15ffe.
2021-03-05sq: Release 0.25.0.sq/v0.25.0Justus Winter
2021-03-02sq: Improve reporting of verification errors.Justus Winter
- We now explain the errors like sequoia-sop: % sq verify --detached msg.sig --signer-cert ... < msg Error verifying checksum from 39D100AB67D5BD8C04010205FB3751F1587DAEF1: Policy rejected non-revocation signature (Binary) requiring collision resistance because: MD5 is not considered secure since 1997-02-01T00:00:00Z 1 bad checksum. Error: Verification failed - Fixes #676.
2021-03-02Revert "sq: Make it build with sequoia-openpgp 1.0.0."Justus Winter
This reverts commit 6e555106da58e943a7f2a3091c89c282232fc968.
2021-03-02sq: Be smarter about emitting the unstable CLI warning.Justus Winter
- Only emit the warning if we detect non-interactive use and are emitting data that could be scraped resulting in fragile constructs. - Fixes #653.
2021-03-02sq: Refactor opening of output streams.Justus Winter
- Make the create_or_stdout* functions available as methods on the Config struct. Adapt callsites. - Also, differentiate between data that is safe to redirect to a file or pipe to the next program (e.g. OpenPGP data, decrypted or authenticated payloads) and data that could possibly be scraped (e.g. packet dumps).
2021-03-02sq: Hexdump non human-readable notation values.Justus Winter
2021-02-24sq: Improve --signatures defaults, document error handling.Justus Winter
- Require at least one valid signature for `sq verify`. For `sq decrypt`, require one if at least one signer cert is given. - Document what happens if signature verification fails, or message tampering is detected using the SEIP packet. - Fixes #677.
2021-02-24sq: Improve hint to use "--force".Justus Winter
- Fixes #273.
2021-02-24sq: Improve output.Justus Winter
- Add 'Note:' and fix alignment.
2021-02-24sq: Fix warning.Justus Winter
- The conditional was inverted by mistake. - Fixes 4df9befdb10cc336a9df49b65fdfef659296aa61. - Fixes #662.
2021-02-24sq: Improve wording.Justus Winter
- See #677.
2021-02-24sq: Implement creation of cleartext signatures.Justus Winter
- See #151.
2021-02-11sq: Fix setting signature creation times.Justus Winter
2021-01-28sq: Release 0.24.0.sq/v0.24.0Justus Winter
2021-01-28sq: Add key extract-cert.Justus Winter
- Fixes #383.
2021-01-28sq: Refactor.Justus Winter
2021-01-28sq: Rename --to-certificate to --to-cert.Justus Winter
2021-01-28sq: Improve non-interactive use warning.Justus Winter
- Add a simple heuristic for bash. - See #653.
2021-01-28sq: Align example usage with synopsis.Daniel Kahn Gillmor
The synopsis clearly places TARGET-KEY *after* the options. But the example places it haphazardly within the options, which is harder to read and understand. Even if the original example works, the goal of the example should be to make it easy to see what is happening in a standard usage, not to show off the flexibility of the parser.
2021-01-28sq: Fix examples.Justus Winter
- Fixes #652.
2021-01-28sq: Fix reference.Justus Winter
- Fixes #655.
2021-01-28sq: Use " instead of ' as quoting character.Justus Winter
- We generate manpages from the cli definition. It turns out that ' is special character in troff, and the man crate doesn't take care of escaping it correctly. As a pragmatic workaround, switch to " instead.
2021-01-28sq: Make Autocrypt support optional.Justus Winter
2021-01-28sq: Copy policy into struct Config.Justus Winter
2021-01-28sq: Allow change of features in the cli at runtime.Justus Winter
- This will help in generating manpages for all combination of features.
2021-01-26sq: Use serialize_keyring for the output of 'sq keyserver get'.Neal H. Walfield
- DRY. - Using serialize_keyring has the advantage that it also outputs descriptive ascii-armor headers.
2021-01-22sq: Release 0.23.0.sq/v0.23.0Justus Winter