Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-14 | Release 0.20.0.v0.20.0 | Justus Winter | |
2020-10-14 | Use 'Examples' for the examples section. | Justus Winter | |
- See #480. | |||
2020-10-14 | Replace most 'extern crate' directives with 'use'. | Justus Winter | |
- See #480. | |||
2020-10-12 | Allow to opt out of default features for sequoia-* dependencies | Igor Matuszewski | |
Cargo features are inherently additive, which means that if: - package A walts to build package C with features ABC, - package B walts to build package C with features BCD, the package C will be built with *both* ABC and BCD enabled. There is currently no way to specify mutually exclusive features and these have to be implemented using existing, additive, ones. That's problematic for us, because currently the cryptographic backend in sequoia-openpgp is selected globally at build-time and thus at most one can be selected for the compilation to succeed. It's worth noting that we can't use Cargo build scripts to emit the `--cfg`-passing [directive] because it does *not* affect Cargo's dependency resolution and that's needed in order to skip unbuildable backends on certain OSes (e.g. nettle when using Windows MSVC ABI). To allow for other local crates, most notably sequoia-openpgp-ffi, to build with different backends, we expose and forward any features that may be used by the crates they transitively depend on. At the time of writing, these different features seem to be implemented: - buffered-reader: compression support - openpgp: compression support and cryptographic backend - store: background-services feature [directive](https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-cfgkeyvalue) | |||
2020-10-06 | Don't use OS-specific extensions from memsec | Igor Matuszewski | |
We only ever use {memset, memzero, memeq, memcmp} anyway - don't pull OS-specific functions like mlock. | |||
2020-10-06 | Bump memsec to 0.6 | Igor Matuszewski | |
2020-09-25 | openpgp, ipc: Make clippy ignore lalrpop output. | Nora Widdecke | |
2020-09-23 | ipc: Typo. | Nora Widdecke | |
2020-09-22 | openpgp: Remove `quickcheck` feature. | Wiktor Kwapisiewicz | |
- Adjust code to test for `cfg(test)` only, - Remove `quickcheck` and `rand` from dependencies so that they stay only in dev-dependencies, - Remove mention of `x-quickcheck` feature from the documentation, - Fixes #545. | |||
2020-09-21 | openpgp, ipc: Update lalrpop to 0.19. | Nora Widdecke | |
2020-09-21 | ipc: Unpin dependency socket2. | Nora Widdecke | |
2020-08-21 | Release 0.19.0.v0.19.0 | Justus Winter | |
2020-08-17 | openpgp: Move crypto::Keygrip to the ipc crate. | Justus Winter | |
2020-08-17 | openpgp: Rename PublicKey::keygrip to Keygrip::of. | Justus Winter | |
- This allows us to move Keygrip to a different crate. | |||
2020-08-17 | openpgp: Rename {en,de}crypt_shared to better reflect their use. | Justus Winter | |
2020-08-17 | openpgp: Move crypto::sexp to the ipc crate. | Justus Winter | |
- This is only used to communicate with the GnuPG agent, so it should not be in the openpgp crate. | |||
2020-07-31 | Release 0.18.0.v0.18.0 | Justus Winter | |
2020-06-23 | ipc, sq: Copy the MSRV comment from openpgp. | Jakub Kądziołka | |
2020-06-12 | Release 0.17.0.v0.17.0 | Justus Winter | |
2020-05-28 | openpgp: Change the `decrypt` proxy in the decryption helper. | Justus Winter | |
- Returning rich errors from this function may compromise secret key material due to Bleichenbacher-style attacks. Change the API to prevent this. - Hat tip to Hanno Böck. - Fixes #507. | |||
2020-05-28 | openpgp: Change PKESK::decrypt to return an Option<_>. | Justus Winter | |
- Returning rich errors from this function may compromise secret key material due to Bleichenbacher-style attacks. Change the API to prevent this. - Hat tip to Hanno Böck. - See #507. | |||
2020-05-13 | openpgp: Make Encryptor::for_recipients polymorphic. | Justus Winter | |
2020-05-07 | openpgp: Use a builder to construct Decryptor. | Justus Winter | |
- See #498. | |||
2020-05-07 | openpgp: Use a builder to construct Verifier. | Justus Winter | |
- See #498. | |||
2020-04-20 | openpgp: Add armor::Writer::with_headers. | Justus Winter | |
- Add a new constructor that takes headers. This allows us to make the header argument polymorphic. | |||
2020-04-08 | openpgp: Change key's role function names. | Wiktor Kwapisiewicz | |
- Change `mark_role_primary` to `role_into_primary`. - Change `mark_role_primary_ref` to `role_as_primary`. - Change `mark_role_subordinate` to `role_into_subordinate`. - Change `mark_role_subordinate_ref` to `role_as_subordinate`. - Change `mark_role_unspecified` to `role_into_unspecified`. - Change `mark_role_unspecified_ref` to `role_as_unspecified`. - Fixes #452. | |||
2020-04-08 | openpgp: Rename crypto::mpis to crypto::mpi | Igor Matuszewski | |
To be consistent; we don't use plural forms for modules anywhere else and Rust always uses singular forms. | |||
2020-04-06 | openpgp: Rename VerificationHelper::get_public_keys to get_certs. | Justus Winter | |
2020-04-03 | Release 0.16.0.v0.16.0 | Justus Winter | |
2020-04-03 | Pin dependencies to keep our MSRV stable. | Justus Winter | |
- Our previous approach of constraining the version using "< 0.1.10" no longer worked, and resulted in two versions of the crate being selected, one of which exceeded our MSRV. - Same for socket2. | |||
2020-04-03 | openpgp: Unawkwardify the streaming encryptor. | Justus Winter | |
2020-04-03 | openpgp: Convert `Sexp::from_ciphertext` to `TryFrom<&mpis::Ciphertext>` | Wiktor Kwapisiewicz | |
2020-04-01 | ipc: Don't compile when spawning external server is unsupported on OS | Igor Matuszewski | |
2020-03-31 | ipc/assuan: Support Windows via named pipes | Igor Matuszewski | |
2020-03-31 | ipc/gnupg: Use ttyname only under UNIX | Igor Matuszewski | |
2020-03-31 | ipc: Inherit a TCP socket via env var on Windows | Igor Matuszewski | |
2020-03-30 | Allow unused parens on generated code | Igor Matuszewski | |
Since around Rust 1.40 the unused parens lint is more aggressive. Since all of these warnings are from generated code (effectively false positives), let's just silence the warnings. | |||
2020-03-20 | openpgp: Remove `to_hex` in KeyHandle, KeyID and Fingerprint. | Wiktor Kwapisiewicz | |
- Replace all usages of `to_hex` with formatting string with :X specifier. - Fixes #456. | |||
2020-03-19 | ipc: Merge unhappy paths in TCP connection | Igor Matuszewski | |
2020-03-19 | ipc: Simplify IPC policy implementation | Igor Matuszewski | |
2020-03-19 | ipc: Simplify a temporary tcp stream connection | Igor Matuszewski | |
2020-03-19 | ipc: Simplify server cookie init flow | Igor Matuszewski | |
2020-03-19 | ipc: Fully receive cookie in async fn | Igor Matuszewski | |
2020-03-19 | ipc: Simplify a lambda signature | Igor Matuszewski | |
2020-03-19 | ipc: Don't use extern crate in 2018 edition | Igor Matuszewski | |
2020-03-18 | ipc: Streamline passing TCP fd as child stdin | Igor Matuszewski | |
2020-03-18 | ipc: Pass correct libdir to a spawned server | Igor Matuszewski | |
2020-03-18 | ipc: Iterate over a slice directly | Igor Matuszewski | |
2020-03-18 | ipc: Don't clone CLI args unnecessarily for spawned server | Igor Matuszewski | |
2020-03-18 | ipc: Tweak some Cookie methods | Igor Matuszewski | |