summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
AgeCommit message (Collapse)Author
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
2021-10-18buffered-reader: Release 1.1.0.buffered-reader/v1.1.0Justus Winter
2021-10-11Update dependency tracing to 0.1.29.Nora Widdecke
2021-10-11Update dependency zeroize_derive to 1.1.1.Nora Widdecke
- RUSTSEC-2021-0115: #[zeroize(drop)] doesn't implement Drop for enums (vulnerability) - The zerioize_derive team released 1.1.1, which fixes this and keeps the MSRV <= 1.48. - Fixes #764.
2021-10-07Update dependency crossbeam-deque to 0.8.1.Nora Widdecke
- RUSTSEC-2021-0093: Data race in crossbeam-deque (vulnerability) - Patched: >=0.7.4, <0.8.0 and >=0.8.1
2021-10-06openpgp: Remove dependency unicode-normalization.Nora Widdecke
- Remove explicit dependency on unicode-normalization. It was added in 2a19afb8 to pin the crate to a version that has a low enough MSRV. The pin was removed in 742eac41, but the explicit dependency wasn't.
2021-10-05openpgp: Release 1.4.0.openpgp/v1.4.0Justus Winter
2021-10-05openpgp: Implement ECDH and ECDSA over NistP256 with RustCrypto.Justus Winter
2021-10-05openpgp: Add a RustCrypto backend.Nikhil Benesch
- This adds a cryptographic backend based on the RustCrypto crates. The backend is marked as experimental, as the RustCrypto crates' authors state that they have not been audited and may not perform computations in constant time. Nevertheless, it may be useful in certain environments, e.g. WebAssembly. - The backend implements RSA, EdDSA and ECDH over Curve25519, IDEA, 3DES, CAST5, Blowfish, AES, Twofish, EAX, MD5, SHA1, RipeMD160, and the SHA2 family. - Notably missing are DSA, ElGamal, and ECDSA and ECDH over the NIST curves. - See #333.
2021-08-26ipc: Release 0.26.0.ipc/v0.26.0Justus Winter
2021-07-09sqv: Move to https://gitlab.com/sequoia-pgp/sequoia-sqvNora Widdecke
- From this point on, the crate sequoia-sqv will be maintained in its own repository.
2021-06-07openpgp: Release 1.3.0.openpgp/v1.3.0Justus Winter
2021-06-07openpgp: Bump version of nettle to 7.0.2.Justus Winter
2021-04-13bench: Add benchmarks for parsing keys.Nora Widdecke
- Generate a flooded cert before the benchmark is run.
2021-04-01ipc: Release 0.25.0.ipc/v0.25.0Neal H. Walfield
2021-04-01Run cargo update.Neal H. Walfield
2021-03-31ipc: Incorporate sequoia-core crate as a core module.Wiktor Kwapisiewicz
- This moves all functionality from sequoia_core crate as an inner `core` module of the ipc crate. - The `core` module has to be public as other crates depend on `core::Context` either directly (store, ffi) or indirectly (store through ffi crate). - Remove the `core` crate completely.
2021-03-08autocrypt: Release 0.23.1.autocrypt/v0.23.1Justus Winter
- Fixes #688.
2021-03-05sq: Release 0.25.0.sq/v0.25.0Justus Winter
2021-03-05openpgp: Release 1.1.0.openpgp/v1.1.0Justus Winter
2021-03-02buffered-reader: Release 1.0.1.buffered-reader/v1.0.1Justus Winter
2021-02-10Update smallvec to 1.6.1.Nora Widdecke
- smallvec < 1.6.1 has a vulnerability in SmallVec::insert_many. Our two dependencies that use smallvec, rusqlite 0.24.2 and num-bigint-dig 0.6.1, do not seem to use that specific function. Bumping the dependency to be safe. - https://rustsec.org/advisories/RUSTSEC-2021-0003 - https://github.com/servo/rust-smallvec/issues/252 - Fixes #661
2021-01-28sq: Release 0.24.0.sq/v0.24.0Justus Winter
2021-01-22sq: Release 0.23.0.sq/v0.23.0Justus Winter
2021-01-21net: Release 0.23.0.net/v0.23.0Justus Winter
2021-01-21autocrypt: Release 0.23.0.autocrypt/v0.23.0Justus Winter
2021-01-19sq: Enable wrapping of help texts.Justus Winter
2021-01-15sq: Rewrite tests to avoid additional dependencies.Justus Winter
- Neither assert_cmd nor predicates are in Debian.
2021-01-15sq: Drop the ability to print keygrips.Justus Winter
2021-01-15sq: Use term_size to get the terminal's width.Justus Winter
- term_size is packaged in Debian.
2021-01-15sq: Drop public key store integration.Justus Winter
- We want to release sq without it depending on the key store. The keystore is little more than a prototype, but because it keeps state, it has the potential to break if we change it later.
2021-01-15net: Decouple from core.Justus Winter
- Move core::NetworkPolicy to net::Policy, update all code accordingly.
2021-01-08openpgp: Add regex support.Neal H. Walfield
- Fixes #188.
2021-01-04sop: Move to https://gitlab.com/sequoia-pgp/sequoia-sopJustus Winter
- From this point on, the crate sequoia-sop will be maintained in its own repository.
2020-12-22sq: Add command sq key adopt.Neal H. Walfield
- Add a subcommand to have a certificate adopt a key on another certificate. That is, the subcommand adds a key from one certificate (A) to another (B) by having B create any necessary binding signatures. - The modified certificate is written to stdout.
2020-12-16Release 1.0.0.v1.0.0Justus Winter
- Release buffered-reader 1.0.0, sequoia-openpgp 1.0.0, and sequoia-sqv 1.0.0. - Also release sequoia-sop 0.22.0.
2020-12-16openpgp: Bump sha1collisiondetection to 0.2.3.Justus Winter
- Fixes build on architectures with unsigned chars.
2020-12-11Release 0.21.0.v0.21.0Justus Winter
2020-12-11Correct minimal versions.Nora Widdecke
- Versions required by feature or API usage: - anyhow 1.0.18. - policy::test::reject_seip_packet and policy::test::reject_cipher' fail - We use `impl From<anyhow::Error> for Box<dyn std::error::Error + Send + Sync + 'static>`, introduced in 1.0.5. - tokio 0.2.19 - We use `tokio::net::tcp::OwnedReadHalf`, introduced in 0.2.19. - chrono 0.4.10 - We use the `std` feature, introduced in 0.4.10. - thiserror 1.0.2 - futures and futures-util 0.3.5 - tempfile 3.1 - c_doctests require the same version of rand both as direct dependency and through tempfile. - Yanked versions: - structopt 0.3.11. 0.3.8 to 0.3.10 were yanked. - socket2 0.3.16. 0.3.0 to 0.3.15 were yanked. - Update our dependencies to the package versions required by other dependencies, e.g. structopt requires lazy_static 1.4.0. - clap 2.33 - lazy_static to 1.4.0 - libc to 0.2.66 - proc-macro2 to 1.0.7 - syn to 1.0.5. - winapi 0.3.8
2020-12-07openpgp: Require Mode to be Send + Sync.Justus Winter
2020-12-04openpgp: Use pure Rust EAX implementation under CNG backendIgor Matuszewski
- Fixes #556.
2020-12-04Bump version of sha1collisiondetection.Justus Winter
- Fixes build on Windows.