summaryrefslogtreecommitdiffstats
path: root/ipc
AgeCommit message (Collapse)Author
2020-08-21Release 0.19.0.v0.19.0Justus Winter
2020-08-17openpgp: Move crypto::Keygrip to the ipc crate.Justus Winter
2020-08-17openpgp: Rename PublicKey::keygrip to Keygrip::of.Justus Winter
- This allows us to move Keygrip to a different crate.
2020-08-17openpgp: Rename {en,de}crypt_shared to better reflect their use.Justus Winter
2020-08-17openpgp: 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-31Release 0.18.0.v0.18.0Justus Winter
2020-06-23ipc, sq: Copy the MSRV comment from openpgp.Jakub Kądziołka
2020-06-12Release 0.17.0.v0.17.0Justus Winter
2020-05-28openpgp: 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-28openpgp: 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-13openpgp: Make Encryptor::for_recipients polymorphic.Justus Winter
2020-05-07openpgp: Use a builder to construct Decryptor.Justus Winter
- See #498.
2020-05-07openpgp: Use a builder to construct Verifier.Justus Winter
- See #498.
2020-04-20openpgp: 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-08openpgp: 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-08openpgp: Rename crypto::mpis to crypto::mpiIgor Matuszewski
To be consistent; we don't use plural forms for modules anywhere else and Rust always uses singular forms.
2020-04-06openpgp: Rename VerificationHelper::get_public_keys to get_certs.Justus Winter
2020-04-03Release 0.16.0.v0.16.0Justus Winter
2020-04-03Pin 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-03openpgp: Unawkwardify the streaming encryptor.Justus Winter
2020-04-03openpgp: Convert `Sexp::from_ciphertext` to `TryFrom<&mpis::Ciphertext>`Wiktor Kwapisiewicz
2020-04-01ipc: Don't compile when spawning external server is unsupported on OSIgor Matuszewski
2020-03-31ipc/assuan: Support Windows via named pipesIgor Matuszewski
2020-03-31ipc/gnupg: Use ttyname only under UNIXIgor Matuszewski
2020-03-31ipc: Inherit a TCP socket via env var on WindowsIgor Matuszewski
2020-03-30Allow unused parens on generated codeIgor 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-20openpgp: 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-19ipc: Merge unhappy paths in TCP connectionIgor Matuszewski
2020-03-19ipc: Simplify IPC policy implementationIgor Matuszewski
2020-03-19ipc: Simplify a temporary tcp stream connectionIgor Matuszewski
2020-03-19ipc: Simplify server cookie init flowIgor Matuszewski
2020-03-19ipc: Fully receive cookie in async fnIgor Matuszewski
2020-03-19ipc: Simplify a lambda signatureIgor Matuszewski
2020-03-19ipc: Don't use extern crate in 2018 editionIgor Matuszewski
2020-03-18ipc: Streamline passing TCP fd as child stdinIgor Matuszewski
2020-03-18ipc: Pass correct libdir to a spawned serverIgor Matuszewski
2020-03-18ipc: Iterate over a slice directlyIgor Matuszewski
2020-03-18ipc: Don't clone CLI args unnecessarily for spawned serverIgor Matuszewski
2020-03-18ipc: Tweak some Cookie methodsIgor Matuszewski
2020-03-18ipc: Use associated constant for COOKIE_SIZEIgor Matuszewski
2020-03-18ipc: Use shorthand struct init syntaxIgor Matuszewski
2020-03-18ipc: Simplify Cookie::sendIgor Matuszewski
2020-03-18ipc: Fix small typosIgor Matuszewski
2020-03-18ipc: Don't unwrap a properly parsed addr if not neededIgor Matuszewski
2020-03-18ipc: Simplify a SocketAddr parse callIgor Matuszewski
2020-03-18ipc: Group UNIX-related importsIgor Matuszewski
2020-03-18ipc: Prefer Ipv4Addr::LOCALHOST over a stringIgor Matuszewski
2020-03-18ipc: Ask the OS for a random port in TcpListener::bindIgor Matuszewski
2020-03-09Switch from failure to anyhow.Justus Winter
- Use the anyhow crate instead of failure to implement the dynamic side of our error handling. anyhow::Error derefs to dyn std::error::Error, allowing better interoperability with other stdlib-based error handling libraries. - Fixes #444.
2020-03-09Reduce use of explicit failure::Fallible.Justus Winter