summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-11-25openpgp: Add test.Justus Winter
- Fixes #613.
2020-11-24openpgp: Accept any number of (unicode) dashes in armor framing.Justus Winter
- Fixes #610.
2020-11-24openpgp: Improve tests.Justus Winter
2020-11-24openpgp: Rework footer detection.Justus Winter
2020-11-24openpgp: Return header length in armor::Kind::detect.Justus Winter
2020-11-24openpgp: Assert that Error is Send + Sync.Justus Winter
- See #615.
2020-11-24openpgp: Assert that KeyHandle is Send + Sync.Justus Winter
- See #615.
2020-11-24openpgp: Move the compound hashing functions to SignatureFields.Justus Winter
2020-11-24openpgp: Align hashing of compound objects with primitive objects.Justus Winter
2020-11-24openpgp: Handle truncated armor prefixes.Justus Winter
- Fixes #618.
2020-11-24openpgp: Drop comment.Justus Winter
- We generate Ed25519 keys, that requires the `rand` feature.
2020-11-24openpgp: seal traits in cert::amalgamationAzul
- Seal `ValidAmalgamation`, `ValidateAmalgamation` and `key::PrimaryKey` - Sealing traits so they cannot be implemented outside the openpgp crate. This way we can extend the traits without breaking the API compatibility. Every implementation of a sealed trait needs to also implement the `seal::Sealed` marker trait. - Implementing `seal::Sealed` for `ValidKeyAmalgamation<'a, P, R, R2>` also implements it for - `ValidPrimaryKeyAmalgamation<'a, P>` - `ValidSubordinateKeyAmalgamation<'a, P>` - `ValidErasedKeyAmalgamation<'a, P>` Therefore these can implement `ValidateAmalgamation` and `key::PrimaryKey` without explicitly implementing `seal::Sealed` - See #538.
2020-11-24openpgp: seal Aead trait.Azul
- Seal the Aead trait so it cannot be implemented outside the openpgp crate. - This way we can extend the trait without breaking the API compatibility. - See #538.
2020-11-24openpgp: seal KeyRole and KeyPartsAzul
- Seal the `KeyRole` and `KeyParts` traits so they cannot be implemented outside the openpgp crate. - This way we can extend the trait without breaking the API compatibility. - See #538.
2020-11-24openpgp: Avoid direct dependency on generic-array.Justus Winter
2020-11-20openpgp: Fix PartialEq, Hash for key::Encrypted.Justus Winter
- Fixes #617.
2020-11-20openpgp: Dump armored packets in tests.Justus Winter
- When building tests, change the debug representation to ASCII Armored blobs. This way, test vectors can be extracted from build logs.
2020-11-18openpgp: Add mutation tests for key packets.Justus Winter
2020-11-18openpgp: Return iterator over bad signatures.Justus Winter
- This allows us to store verification errors with the signatures. - See #619.
2020-11-17openpgp: minor: fix typos.Azul
2020-11-13Add build dependency.Justus Winter
2020-11-13openpgp: Add the vectors from The first collision for full SHA-1.Justus Winter
2020-11-12openpgp: Add test vector from SHA-1 is a Shambles.Justus Winter
2020-11-12openpgp: Mitigate collision attacks on SHA-1.Justus Winter
- Use a collision detecting implementation of SHA-1. When a collision attack is detected, the algorithm employs a mitigation, changing the hash function to discriminate the colliding preimage.
2020-11-12openpgp: Improve tracing.Justus Winter
2020-11-12openpgp: Make crypto::Hash::digest fallible.Justus Winter
2020-11-11openpgp-ffi: Add test.Justus Winter
- See #611.
2020-11-10openpgp: Use Padme as default padding policy.Wiktor Kwapisiewicz
2020-11-10openpgp: Make stream::Padder use the builder pattern.Wiktor Kwapisiewicz
- Split Padder::new() into new and build. - Adjust code in dependent projects (sop and sq). - Fixes #600.
2020-11-09buffered_reader: Explain fmt::Display use.Nora Widdecke
2020-11-09buffered_reader: Derive Debug for implementations.Nora Widdecke
2020-11-09buffered_reader: Use debug_struct for Display.Nora Widdecke
2020-11-09buffered_reader: Move dump to buffered_reader.Nora Widdecke
- Use the Cookie's debug output to allow for generic Cookies.
2020-11-09buffered-reader: Add Debug trait bound to Cookie.Nora Widdecke
2020-11-06ffi, openpgp-ffi: Handle non_exhaustive enum.Nora Widdecke
2020-11-06ipc: Handle matching on non_exhaustive enums.Nora Widdecke
2020-11-06openpgp: Use non_exhaustive attribute.Nora Widdecke
- Fixes #563 - With an MSRV >= 1.40.0, we can use #[non_exhaustive], as mentioned in #406. - This is also a clippy lint: https://rust-lang.github.io/rust-clippy/master/index.html#manual_non_exhaustive
2020-11-05ci: Temporarily drop all Windows builders.Wiktor Kwapisiewicz
2020-11-01openpgp: Update documentation w.r.t packets added to hashed area.Wiktor Kwapisiewicz
- Updates documentation to match the implementation changes introduced in commit 7e9561e9. - Fixes #583.
2020-11-01ipc: Don't process GnuPG directories if we only want socketsIgor Matuszewski
2020-11-01ipc: Drop unused gnupg component/directory functionsIgor Matuszewski
2020-11-01ipc: Support GnuPG on Cygwin/MinGWIgor Matuszewski
2020-11-01ipc: Percent-decode gpgconf directory listings under WindowsIgor Matuszewski
Almost every Windows path contains a (percent-encoded) colon coupled with a drive letter (e.g. C:), so this needs to be done to properly decode a path.
2020-11-01ipc: Support UDS emulation as TCP + nonce for Assuan protocolIgor Matuszewski
2020-11-01ipc: Port libassuan's socket connection logic for WindowsIgor Matuszewski
2020-10-27openpgp: Fix wording on functions returning iterators.Wiktor Kwapisiewicz
- Functions that had their return values changed from a single item to impl Iterators had obsolete documentation. Fix this. - Closes #593.
2020-10-26openpgp: Refactor some matches for legibilityIgor Matuszewski
2020-10-26openpgp: Use std::matches! instead of custom destructures_to macroIgor Matuszewski
2020-10-26ipc: Use std::matches! instead of custom destructures_to macroIgor Matuszewski
2020-10-26Don't specify openpgp crate version number in README.md examplesIgor Matuszewski