Age | Commit message (Collapse) | Author |
|
|
|
SQ_OUTPUT_FORMAT and SQ_OUTPUT_VERSION will be obeyed unless the
corresponding options are used.
Sponsored-by: NLnet Foundation; NGI Assure
|
|
Sponsored-by: NLnet Foundation; NGI Assure
|
|
This heavily changes the subcommand implementation. The original code
mixed concerns (iterating over certificates, making decisions about
primary UserID, and formatting output). This changes things so that
the concerns are more separate.
Formatting of JSON output is done using the serde_json crate. This
makes it easy to add other formats supported by serde later.
Unfortunately, using serde means the whole parsed keyring must be kept
in memory at once, because serde doesn't know how to serialize an
iterator: a serde serializer gets an immutable reference to the data
being serialized, and an iterator must be mutable. We may need
to fix that later, but all my attempts to do so failed.
Sponsored-by: NLnet Foundation; NGI Assure
|
|
These aren't used yet, this is preparation for future changes.
Sponsored-by: NLnet Foundation; NGI Assure
|
|
Nothing implements these yet, this is preparation for future changes.
Sponsored-by: NLnet Foundation; NGI Assure
|
|
These are not yet used, this is preparation for future changes.
Sponsored-by: NLnet Foundation; NGI Assure
|
|
- The manpages have been generated with the nora/clap3-man branch.
- We needed to fork clap to
- add the SEE ALSO section
- rename the EXTRA section to EXAMPLES
- display possible values (upstream issue
https://github.com/clap-rs/clap/issues/3861)
- Hide the help subcommand from the subcommands list
We will work with upstream to provide the required functionality, so
we can use upstream clap again.
|
|
|
|
|
|
|
|
- When a dash occurs outside of a range, it should be considered an
atom.
- Fixes #897.
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
- Reading certs and secret keys is handled the same way by all revoke
functions.
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- WkdNetworkPolicy and KeyserverPolicy have the same variants and both
are parsed to sequoia_net::Policy. Unify and rename to
NetworkPolicy.
|
|
- The handling code for sq wkd get expects an "output" argument, but
that argument was not defined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- The handling function of sq key generate treats the --export
argument as optional.
- Reflect that in the argument definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- This is the AES Key Wrap algorithm described in RFC 3394. It is
used in OpenPGP's ECDH, but has uses besides that (for example,
the gpg-agent uses it to wrap keys in transit).
|
|
- Fixes #890
|
|
- Previously, the doctests for the macros were not run, and hence
not tested. Fix the few issues that came up when Rust 1.62
started running doctests.
- We cannot test the macros in doctests, because the macros are
not public. Add equivalent unit tests instead.
- Fixes #893.
|
|
|
|
- Remove unused dependencies: capnproto and sqlite.
- Restructure Windows section to highlight that the CNG backend is
recommended on Windows.
- Fix MSYS2 instructions to use `pacman` instead of `pacboy`.
- Add mention of 32-bit build on Windows.
- Remove Brew instructions that apparently are no longer needed in
latest versions of Brew.
- Test all variants. Windows and MacOS were tested in VMs and *nix
distributions were tested in respective Docker containers. One issue
worth mentioning that the NixOS script had to be run on version
2.3.16 as their later images seem to suffer from the regression of
issue #137982 [0] (tested thanks to @puzzlewolf).
- Fix #673 as now the minimal set is valid for both the openpgp crate
and others (there are no additional dependencies). The only
exception is the OpenSSL package required on Debian and Fedora. This
has been explicitly clarified in the `Notes` section.
- Fix #785.
[0]: https://github.com/NixOS/nixpkgs/issues/137982
|
|
|
|
|
|
- Allow giving multiple session keys, try them all until one decrypts
the packet.
|