summaryrefslogtreecommitdiffstats
path: root/sq
AgeCommit message (Collapse)Author
2022-07-08sq: Implement 'key userid strip'.heiko/workworkHeiko Schaefer
2022-07-08sq: Implement 'key userid add'.Heiko Schaefer
2022-07-06sq: Rename network-policy argument.Nora Widdecke
- The network policy argument of sq wkd and sq keyserver is --policy or -p, leading to possible confusion with sequoia's openpgp policy. - Rename the argument to --network-policy and -n.
2022-07-05sq: Use common io args for sq armor.Nora Widdecke
2022-07-05sq: Adapt sq to clap3's derive API.Nora Widdecke
2022-07-05sq: Clean up parse_notations.Nora Widdecke
2022-07-05sq: Unify parse_notations.Nora Widdecke
2022-07-05sq: Extract common functions for sq revoke.Nora Widdecke
- Reading certs and secret keys is handled the same way by all revoke functions.
2022-07-05use CliTime for revoke (merge into previous)Nora Widdecke
2022-07-05sq: Adapt sq revoke to clap3's derive API.Nora Widdecke
- The different subcommands for sq revoke are very similar, they have many arguments in common. Previously, they were handled together in one functions. Now, as each subcommand is represented by a different struct, this had to be split up.
2022-07-05sq: Make --time arguments more typesafe.Nora Widdecke
2022-07-05sq: Adapt sq keyring to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq inspect to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq packet join to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq packet split to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq certify to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq wkd to clap3's derive API.Nora Widdecke
2022-07-05sq: Unify NetworkPolicy.Nora Widdecke
- WkdNetworkPolicy and KeyserverPolicy have the same variants and both are parsed to sequoia_net::Policy. Unify and rename to NetworkPolicy.
2022-07-05sq: Add output argument to sq wkd get.Nora Widdecke
- The handling code for sq wkd get expects an "output" argument, but that argument was not defined.
2022-07-05sq: Adapt sq keyserver to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt main of sq key to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt key adopt to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt key exctract-cert to clap3's derive API.Nora Widdecke
2022-07-05sq: Adapt key password to clap 3's derive API.Nora Widdecke
2022-07-05sq: Adapt sq key generate to clap3's derive API.Nora Widdecke
2022-07-05sq: Fix --export arg of sq key generate.Nora Widdecke
- The handling function of sq key generate treats the --export argument as optional. - Reflect that in the argument definition.
2022-07-05sq: Adapt sq encrypt to clap3's derive API.Nora Widdecke
2022-07-05sq: Derive top level command.Nora Widdecke
2022-07-04sq: Use default input argument for key password.Nora Widdecke
- Fixes #890
2022-06-29sq: Never emit a session key prefix.Nora Widdecke
2022-06-29sq: Adapt packet dump to clap3's derive style.Nora Widdecke
2022-06-29sq: Add packet decrypt --session-key.Nora Widdecke
- Allow giving multiple session keys, try them all until one decrypts the packet.
2022-06-29sq: Adapt packet decrypt to clap3's derive API.Nora Widdecke
2022-06-29sq: Print CliSessionKey session key securely.Nora Widdecke
- Printing a SessionKey requires explicit use of display_sensitive function, to prevent accidental leaks.
2022-06-29sq: Add sq decrypt --session-key.Nora Widdecke
- Allow multiple session keys, try all of them until one decrypts the message. - Closes #858.
2022-06-29sq: Adapt decrypt to clap3's derive.Nora Widdecke
2022-06-29sq: Add a utility function to return the primary key.Neal H. Walfield
- We have utility functions to return certification-capable keys and signature-capable keys. Add another variant that returns primary keys. This is needed when we need a key to create a self signature.
2022-06-22sq: make use of sed in subplot more portableLars Wirzenius
Sponsored-by: pep.foundation
2022-06-17sq: Handle session keys with algorithm prefix.Nora Widdecke
- `sq packet dump` was unable to parse session keys with an algorithm indicator, the format established by GnuPG and SOP. - `sq` should parse such session keys, and use them only with the specified algorithm. - Fixes #749.
2022-06-17sq: Improve error message for --session-key.Nora Widdecke
- Add context to error if parsing the `--session key` argument to `sq packet dump` failed.
2022-06-14sq: Allow creating a certification with an expired or revoke keyNeal H. Walfield
- Add two new options to `sq certify`: `allow-not-alive-certifier` and `allow-revoked-certifier`. - If present, don't fail if the certifying key is not alive or revoked, respectively.
2022-06-13sq: fix up help text for "sq wkd generate" based on further feedbackLars Wirzenius
Sponsored-by: pep.foundation
2022-06-12sq: improve help text for "sq wkd generate"Lars Wirzenius
Fixes #393 Sponsored-by: pep.foundation
2022-06-12sq: fix how "sq wkd generate" gets its argumentsLars Wirzenius
In clap v3, when we use the derive feature to build a parser, and an argument is named `foo_bar` in the source (member of a struct), the parser names it `foo-bar` at runtime. In clap v2, getting the value with the wrong name returned a None value. In clap v3, it's a panic. Fix the calls to value_of and is_present to use the expected names to avoid panics. Later on, we'll finish the conversion to use the clap v3 derive feature fully, and access struct field by their Rust names. At that point, using the wrong name will be a compile time error, not a runtime problem. Sponsored-by: pep.foundation
2022-06-12sq: add "sq wkd direct-url" and subplot tests for wkd URL generationLars Wirzenius
Fixes #315, #513 Sponsored-by: pep.foundation
2022-06-10sq: Improve --prefix help.Nora Widdecke
2022-06-10sq: Add actual short about to sq wkd generate.Nora Widdecke
2022-06-10sq: add README.mdLars Wirzenius
Closes #129. Sponsored-by: pep.foundation
2022-06-09openpgp: Rename PacketParser::{set_,}encrypted to processed.Wiktor Kwapisiewicz
- Convert `encrypted` to `processed`. - Since `set_encrypted` is internal API it was directly renamed without forwarder stub. - `encrypted()` is public API thus the old function is converted to a forwarder of the negation of `processed()`. - `unprocessed()` marked as deprecated. - Update docs and NEWS file. - Fixes #845.
2022-06-09sq: Fix autocrypt conditional compilation.Nora Widdecke