summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-07-19sq: Release 0.27.0.sq/v0.27.0Justus Winter
2022-07-19sq: allow choosing output format and version via the environmentLars Wirzenius
SQ_OUTPUT_FORMAT and SQ_OUTPUT_VERSION will be obeyed unless the corresponding options are used. Sponsored-by: NLnet Foundation; NGI Assure
2022-07-15sq: update subplot to test JSON output for 'sq keyring list' worksLars Wirzenius
Sponsored-by: NLnet Foundation; NGI Assure
2022-07-15sq: add JSON output for 'sq keyring list'Lars Wirzenius
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
2022-07-15sq: add dependency on serde and serde-jsonLars Wirzenius
These aren't used yet, this is preparation for future changes. Sponsored-by: NLnet Foundation; NGI Assure
2022-07-15sq: add global options --output-format and --output-versionLars Wirzenius
Nothing implements these yet, this is preparation for future changes. Sponsored-by: NLnet Foundation; NGI Assure
2022-07-15sq: add data types for output format and version of output formatLars Wirzenius
These are not yet used, this is preparation for future changes. Sponsored-by: NLnet Foundation; NGI Assure
2022-07-14sq: Update manpages.Nora Widdecke
- 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.
2022-07-14net: Release 0.25.0.net/v0.25.0Justus Winter
2022-07-08sq: Implement 'key userid strip'.heiko/workworkHeiko Schaefer
2022-07-08sq: Implement 'key userid add'.Heiko Schaefer
2022-07-06openpgp: Fix parsing of dashes in regular expressions.Neal H. Walfield
- When a dash occurs outside of a range, it should be considered an atom. - Fixes #897.
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-05openpgp: Release 1.10.0.openpgp/v1.10.0Justus Winter
2022-07-05buffered-reader: Release 1.1.3.buffered-reader/v1.1.3Justus Winter
2022-07-05ipc: Securely delete Sexp strings.Justus Winter
2022-07-05ipc: Implement convenience conversions.Justus Winter
2022-07-05openpgp: Make crypto::ecdh::aes_key_{,un}wrap public.Justus Winter
- 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).
2022-07-04sq: Use default input argument for key password.Nora Widdecke
- Fixes #890
2022-07-04buffered-reader, openpgp: Fix macro's doctests.Justus Winter
- 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.
2022-07-04openpgp: Drop unnecessary trailing semicolon.Justus Winter
2022-07-01docs: Update dependencies list in README.Wiktor Kwapisiewicz
- 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
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.