summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
AgeCommit message (Collapse)Author
2022-09-29openpgp, sq: Update dependency rpassword to 6.Nora Widdecke
- rpassword underwent some rework. The successor of read_password_from_tty seems to be prompt_password, relevant commits to rpassword: - e6023757df00a67a1e16796db50c5ffad41b6268 - 2edf6cee07573ec4aa86531e6177ee90331d5c60
2022-09-20sq: write out manual pages for sqLars Wirzenius
Generate an all-in-one manual page sq.1, and a separate manual page for each leaf level subcommand: sq-armor.1, seq-key-generate.1, etc. We've previously had a grouping of subcommands per top level subcommand: all sub-subcommands of "sq key" would go into sq-key.1. However, I found that to be hard to follow, as a reader. I prefer either all in one, or just the one subcommand in a page. Use custom code to generate the manual page, in sq/src/man.rs, because I wasn't happy with clap_mangen output, and wanted something more idiomatic. The custom code is a little specific for sq, and may or may not be possible to use for other programs. To trigger manual page generation, run sq with SQ_MAN set to the name of a directory where the manual pages should be written, when running sq. This was an easier way to do this than a new, hidden subcommand ("sq generate-man" or something like that). Add the roff crate as a dependency. It's used to generate troff source code for manual pages. Generating correct troff is tricky enough that there's no point in doing it manually. Move the "SEE ALSO" section in the "after_help" text for "sq verify" into the "before_help" so that it doesn't end up as plain text in the manual page. This was an easier change than making the "sq help text markup" parser in sq/src/man.rs understand the SEE ALSO heading. Sponsored-by: pep.foundation
2022-09-16sq: port to new SubplotLars Wirzenius
Update the dependency on Subplot to 0.5.0. Subplot 0.5.0 requires document metadata (title, bindings files, etc) to be in its own YAML file, where previous versions required it to be embedded in Markdown (still as YAML). Move the metadata to sq.subplot and fix what breaks. Sponsored-by: pep.foundation
2022-09-15net: Add support for DANE certificate retrieval.Wiktor Kwapisiewicz
- Add dane::get. - Make EmailAddress functions pub(crate) to use them from the DANE module. - Add tests for generating correct FQDN. - See #865.
2022-07-29sq: update dependencies on Subplot creates to new releaseLars Wirzenius
This will let `sq` not depend on `clap` version 2, even transitively. Sponsored-by: pep.foundation
2022-07-19sq: Release 0.27.0.sq/v0.27.0Justus Winter
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-14net: Release 0.25.0.net/v0.25.0Justus Winter
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-06-09ipc: Update to the latest versions of capnproto and tokio.Neal H. Walfield
- Use the latest versions of capnp and tokio. - The ipc crate exposes capnp and tokio symbols via its public API (sequoia_ipc::Handler). Thus any user of the ipc crate has to use the same version. Upgrade the dependencies so that downstream users can use the latest features.
2022-06-09sq: Fix autocrypt conditional compilation.Nora Widdecke
2022-05-23openpgp: Release 1.9.0.openpgp/v1.9.0Justus Winter
2022-05-23ipc, openpgp: Reduce features of dependency lalrpop.Nora Widdecke
- lalpop v0.19 a default features we do not use, we should not build them, either. - lalrpop v0.17, which we allow for Debian's benefit, does not have any explicit features. In this case, stating "default-features = false" in Cargo.toml does not hurt.
2022-05-16sq: Port command line handling from clap 2 to 3.Nora Widdecke
Change sq command line handling from using clap version 2 to version 3, and adapt to all the breaking changes. Clap version 3 is a major new version with a number of breaking changes. It also adds functionality to allow a structopt style declarative way of defining command line syntax. We want to use that, but first we need to port the old "builder style" of defining the command line syntax to clap version 3. The change to use the "derive style" comes later. The semantics of clap version 2's .multiple function were hard to understand and it was replaced with .multiple_occurences. Care was taken to preserve the original intention regarding an argument's number of occurrences and number of values. There are some changes to help output (in src/sq-usage.rs). These are mostly from upstream changes and we think the differences are minor so we are okay with following upstream's lead. In summary: FLAGS and OPTIONS are merged into just OPTIONS; the layout of subcommand lists are a little different (split into two lines); there is no "[--]" before filename arguments anymore; default and allowed values for options are on a separate line now; --version isn't repeated for every subcommand anymore; help is listed for each subcommand separately. In addition, we will help clap upstream fix a problem where the help output doesn't have a "..." to indicate that an option may be used several times. Further, upstream has changed --help text to be of the form "Print help", when it earlier was "Prints help". We will change our own help texts to follow suite in a future commit. We don't do it in this commit, to avoid making an even larger diff. By default, clap v3 now colors its help output. However, this does not support custom sections like our examples. Clap is tracking this as https://github.com/clap-rs/clap/issues/3108. In the meantime, disable colors.
2022-04-26openpgp: Remove unused dependencies.Nora Widdecke
- backtrace and quickcheck_macros are unused. - found with cargo-udeps (https://github.com/est31/cargo-udeps).
2022-04-22ipc: Release 0.28.0.ipc/v0.28.0Justus Winter
2022-04-21ipc: Bump dirs to 4.0Nora Widdecke
- Remove duplicate dependency on cfg-if:0.1 and cfg-if:1.0 through different transitive dependencies.
2022-04-21ipc: Bump socket2 to 0.4.Nora Widdecke
- Removes a duplicate dependency, sequoia-net uses hyper which already pulls in socket2:0.4.
2022-04-21sq: Bump itertools to 0.10.Nora Widdecke
- Removes a duplicate dependency, as itertools:0.10 is used by lalrpop:0.19.6, among others, anyway.
2022-04-19sq: update to use new Subplot releaseLars Wirzenius
Update subplotlib and subplot-build dependencies to the recent Subplot release. Subplot made a change that changes the document metadata, which requires dropping the "template" field and changing "functions" to "impls" in sq-subplot.md. Sponsored-by: pep.foundation
2022-04-13openpgp: Update regex to 1.5.5.Nora Widdecke
- See https://rustsec.org/advisories/RUSTSEC-2022-0013
2022-03-02sq: Release 0.26.0.sq/v0.26.0Justus Winter
2022-03-02openpgp: Release 1.8.0.openpgp/v1.8.0Justus Winter
2022-02-25sq: Use only assert_cmd.Nora Widdecke
- assert_cli has been deprecated for a long time, assert_cmd is the successor. - a4cfd15805a543a327d2242f9c0f2b653a11ee55 introduced assert_cmd to sq, in addition to assert_cli. It does not make sense to use two different crates for cli testing. - Closes #640.
2022-02-25ipc,net: Update rand dependency to 0.8Nora Widdecke
- Fixes #824.
2022-01-14sq: Implement sq revoke certificate.Neal H. Walfield
- Add support for revoking certificates to sq.
2021-12-23openpgp: Release 1.7.0.openpgp/v1.7.0Justus Winter
2021-12-23buffered-reader: Release 1.1.2.buffered-reader/v1.1.2Justus Winter
2021-12-13ipc, openpgp: Bump quickcheck to 1.0.3.Nora Widdecke
- Adapt to the new API: - Gen is now a struct, not a Trait, and replaces StdThreadGen. - The rand re-export has been removed. As a consequence, we need our own function to generate an arbitrary value from a range.
2021-12-10ipc: Reduce tokio features.Nora Widdecke
2021-12-10Remove the ffi crates.Justus Winter
- Remove the general-purpose ffi crates. They will be moved into their own repository. Note that we consider general-purpose ffi crates to be a dead end: exposing Sequoia's interface requires a large number of types and functions, and using the interface from C turned out to be verbose and error-prone. Instead, we prefer to write point solutions in Rust that implement exactly the functionality the downstream consumer needs, then expose this via ffi bindings. - See https://gitlab.com/sequoia-pgp/sequoia-ffi.
2021-12-06autocrypt: Release 0.24.0.autocrypt/v0.24.0Justus Winter
2021-12-06ipc: Release 0.27.0.ipc/v0.27.0Justus Winter
2021-12-06net: Release 0.24.0.net/v0.24.0Justus Winter
2021-12-01Update tokio to 1.13.1.Nora Widdecke
- tokio 1.12 has RUSTSEC-2021-0124.
2021-12-01ipc: Update to tokio 1.0.Nora Widdecke
- In assuan: - tokio::io::AsyncRead::poll_read now uses a ReadBuf buffer instead of a &mu [u8], so use that and write to the Client's buffer only if a read was successful. - Poll::Ready does not report n_read any more, so there cannot be a conflict between the reported and actual number of bytes read, remove that case. - Fixes #780.
2021-11-25store: Drop crate.Justus Winter
- The store has never been really used, and never reached a maturity where it was useful. And, we're on the verge of replacing it with the Shared PGP Certificate Directory.
2021-11-18openpgp: Enable feature wasm-bindgen for rand.Justus Winter
- This is used by the Rust Crypto crates.
2021-11-18openpgp: Enable js feature for getrandom.Justus Winter
2021-11-18Bump sha1collisiondetection.Justus Winter
2021-11-18openpgp: Use a WASM-friendly SystemTime::now wrapper.Justus Winter
- Fixes #769.
2021-11-17Bump subplot and subplotlib.Justus Winter
- Fixes a bug where subplot picks up the wrong binary by mistake.
2021-11-16openpgp: Release 1.6.0.openpgp/v1.6.0Justus Winter
2021-11-16buffered-reader: Release 1.1.1.buffered-reader/v1.1.1Justus Winter
2021-11-04openpgp: Use XXH3 to hash packet bodies.Justus Winter
- When we stream packet bodies, we hash their contents so that we can compare them later on, even if we no longer have the data. Previously, we used the fasted hash from the SHA2 family, either SHA256 or SHA512 depending on the architecture. - That, however, turned out to be a major performance problem. When decrypting a non-compressed, binary file on amd64, we spent roughly a third of the time just to compute the hash. - Using the non-cryptographic hash function XXH3, we can greatly improve the performance. On my system, it is 30x as fast as SHA3, and reduces the overhead of computing the body hash considerably: % time ./sq-sha512 decrypt --recipient-key juliet.key.pgp 3g-for-juliet.binary.pgp >/dev/null 2>&1 13.931 total % time ./sq-xxh3 decrypt --recipient-key juliet.key.pgp 3g-for-juliet.binary.pgp >/dev/null 2>&1 9.264 total - See #771.
2021-11-03net: Implement Signer and Decryptor for remote keys.Wiktor Kwapisiewicz
- Add sequoia_net::pks::unlock_signer. - Add sequoia_net::pks::unlock_decryptor.
2021-10-27sq: add scaffolding for an integration/acceptance test suiteLars Wirzenius
Add support for an integration and acceptance test suite using the Subplot tool (https://subplot.liw.fi/). There are the initial, very simple test scenarios, to get us started. The goal is to introduce the scaffolding for integration tests, so that further tests can be added with ease later. The tests are documented and defined in sq-subplot.md. In build.rs, we call Subplot to generate test code from the markdown file. The tests are run via "cargo test", as usual. Subplot can also generate a typeset test document from sq-subplot.md, but we don't do that here.
2021-10-25ffi, net, sq: Update to tokio 1.0.Nora Widdecke
- net: hyper has two vulnerabilities: - RUSTSEC-2021-0079: "Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss" (vulnerability) - RUSTSEC-2021-0078: "Lenient `hyper` header parsing of `Content-Length` could allow request smuggling" (vulnerability) Both are fixed in hyper 0.14.10., which depends on tokio 1. tokio 0.2 is incompatible to tokio 1, so we need to update that too, also in the dependents sq and ffi. hyper-tls 0.4 is incompatible to hyper 0.14., update to hyper-tls 0.5.
2021-10-18openpgp: Release 1.5.0.openpgp/v1.5.0Justus Winter