summaryrefslogtreecommitdiffstats
path: root/ipc
AgeCommit message (Collapse)Author
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
2020-03-09ipc: Define ipc's Errors using thiserror.Justus Winter
2020-03-04Release 0.15.0.v0.15.0Justus Winter
2020-02-26openpgp: Add a prelude file to import things related to certificatesNeal H. Walfield
- Add `openpgp/src/cert/prelude.rs` to import most types and traits related to certificates. - Use it instead of using the types and traits individually.
2020-02-20openpgp: Typo.Justus Winter
2020-02-20openpgp: Split the ValidAmalgamation trait.Neal H. Walfield
- Split the ValidAmalgamation trait into two traits, Amalgamation and ValidAmalgamation, so that the functionality made available by the Amalgamation trait can be provided by a ComponentAmalgamation, which doesn't have a policy.
2020-02-19openpgp: Split VerificationResult.Justus Winter
- Split VerificationResult into Result<GoodChecksum, VerificationError>. - Fixes #416.
2020-02-12openpgp: Add optional cipher argument to DecryptionHelper::decrypt.Justus Winter
2020-02-12openpgp: Add optional cipher argument to PKESK3::decrypt.Justus Winter
2020-02-12openpgp: Add optional plaintext length to Decryptor::decrypt.Justus Winter
- If we know the length of the plaintext, we can reduce the side-channel leakage of the RSA decryption operation.
2020-02-07Release 0.14.0.v0.14.0Justus Winter
2020-02-06openpgp: Rename methods 'set_policy' to 'with_policy'.Justus Winter
- Fixes #427.
2020-02-06openpgp, openpgp-ffi, ipc: Add missing dyn.Justus Winter
2020-01-31openpgp: Add a policy object.Neal H. Walfield
- Change all functions that need to evaluate the validity of a signature (either directly or indirectly to take a policy object. - Use the policy object to allow the user to place additional constraints on a signature's validity. - This addresses the first half of #274 (it introduces the policy object, but does not yet implement any policy).
2020-01-16openpgp: Remove variant VerificationResult::BadChecksum.Justus Winter
- This is better expressed as an error.
2020-01-15ipc: Fix the key selection policy.Neal H. Walfield
- When decrypting a message, don't require that the keys be alive and not revoked now. Further, don't just consider keys that are for transport encryption, also consider keys that are for storage encryption.
2020-01-14openpgp: Remove unneeded fields from VerificationResult::NotAlive.Neal H. Walfield
- VerificationResult::NotAlive means that the signature is not alive. This has nothing to do with a specific key. Indeed, there might not even be a key available, but we can still detect this error condition. - As such, remove the cert and key fields from VerificationResult::NotAlive.
2020-01-13openpgp: Add Error variant to VerificationResult.Neal H. Walfield
- Add an Error variant to VerificationResult.