summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-09-18upgrade criterion from 0.4 to 0.5capitol/upgrade-criterion-to-0.5Alexander Kjäll
2023-09-15Bump MSRV to 1.67.Wiktor Kwapisiewicz
- Fixes https://gitlab.com/sequoia-pgp/sequoia/-/issues/1038
2023-09-15CI: Use `trixie` instead of `bookworm` where possible.Wiktor Kwapisiewicz
2023-09-15doc: Add exact field name to msrv document.Wiktor Kwapisiewicz
2023-09-15clippy: Fail only on correctness and suspicious lints.Wiktor Kwapisiewicz
- See https://gitlab.com/sequoia-pgp/sequoia/-/issues/1038#note_1555082822
2023-09-13openpgp: Drop the dependency on sha-1.Justus Winter
- When using the RustCrypto backend, we can avoid the dependency on sha-1 by relying on sha1collisiondetection. - See also #1051.
2023-09-12openpgp: Fix building without compression support.Justus Winter
2023-09-11openpgp: Migrate from x25519-dalek-ng to x25519-dalek v2.Wiktor Kwapisiewicz
- Fixes https://gitlab.com/sequoia-pgp/sequoia/-/issues/1051.
2023-09-05openpgp: Reuse `super::Backend::x25519_generate_key` in `generate_ecc`.Wiktor Kwapisiewicz
2023-09-05openpgp: Provide better error messages on curve25519 clamp failures.Wiktor Kwapisiewicz
2023-09-05openpgp: Upgrade ed25519_dalek to version 2.Wiktor Kwapisiewicz
- This solves the following issue reported to ed25519_dalek: https://rustsec.org/advisories/RUSTSEC-2022-0093 - Upgrade win_crypto_ng so that it allows usage of rand_core that is compatible with both win_crypto_ng and ed25519_dalek: https://github.com/emgre/win-crypto-ng/pull/48
2023-09-04openpgp: Implement conversion from const size arrays for Protected.Wiktor Kwapisiewicz
- This type of array is used by ed25519-dalek crate.
2023-09-04openpgp: Fix returning secret key as the public keyWiktor Kwapisiewicz
- Add regression unit test to catch this type of mistake in other backends.
2023-08-29CI: remove broken benchmarks jobDevan Carpenter
broken benchmarks job is making pipelines fail. remove it as an immediate fix.
2023-08-24openpgp: Add primary key binding signature to auth subkeys.Justus Winter
- Fixes #1019.
2023-08-24ipc: Use the new crypto::ecdh::decrypt_unwrap2.Justus Winter
2023-08-24net: Use the new crypto::ecdh::decrypt_unwrap2.Justus Winter
2023-08-24openpgp: Hand the plaintext length to decrypt_unwrap, if known.Justus Winter
- When using classical ECDH with the upcoming SEIPDv2, we cannot determine the expected plaintext length by looking at the cipher octet, because that is not included in the plaintext. Instead, we know it from the header of the SEIPDv2 packet, and hand the expected length to the low-level decryption functions.
2023-08-24openpgp: Don't hardcode the AEADAlgorithm in the example.Justus Winter
2023-08-24openpgp: Implement Default for AEADAlgorithm.Justus Winter
2023-08-22openpgp: Reserve signature subpacket tag 38 ("Key Block").Justus Winter
2023-08-22openpgp: Deprecate the AEAD feature flag.Justus Winter
2023-08-22openpgp: Rename the MDC feature to SEIPDv1.Justus Winter
2023-08-21openpgp: Shortcut parse_finish for non-document signatures.Justus Winter
2023-08-11fix spelling of compressionDaniel Kahn Gillmor
2023-07-25ipc: Make starting the gpg-agent more robust.Justus Winter
- Try to create the socket directory, but don't fail if that should fail. In environments where /run/user/$UID doesn't exist, this will fail, and GnuPG will transparently fall back to putting the sockets into $GNUPGHOME.
2023-07-25ipc: Implement loopback password entry.Justus Winter
2023-07-19openpgp: Implement Key::generate_elgamal.Justus Winter
2023-07-19openpgp: Implement Key::generate_dsa.Justus Winter
2023-07-19ci: Drop Fedora 36 as it is no longer served on the mirrors.Justus Winter
- Fedora 36 reached end-of-life on 2023-05-16.
2023-07-18openpgp: Use public functions, remove pub(crate) accessors.Justus Winter
2023-07-18openpgp: Add accessors for the underlying Bitfields.Justus Winter
- Fixes #775.
2023-07-18openpgp: Add examples and documentation to Bitfield, make it public.Justus Winter
2023-07-18openpgp: Derive Default for Bitfield.Justus Winter
2023-07-18openpgp: Rework iteration over set bits.Justus Winter
2023-07-18openpgp: Rework Bitfield::padding_len.Justus Winter
2023-07-18openpgp: Avoid bit twiddling.Justus Winter
2023-07-18openpgp: Modify Bitfields in-place.Justus Winter
2023-07-18openpgp: Don't implicitly canonicalize Bitfields.Justus Winter
2023-07-18openpgp: Impl AsRef and AsMut for Bitfield.Justus Winter
2023-07-18openpgp: Rename accessors for the raw bytes.Justus Winter
2023-07-18openpgp: Make Bitfield opaque.Justus Winter
2023-07-17openpgp: Implement DSA using the RustCrypto backend.Justus Winter
2023-07-17openpgp: Fix typo.Justus Winter
2023-07-17openpgp: Add signature roundtrip test.Justus Winter
2023-07-11openpgp: Improve tracing.Justus Winter
2023-07-11openpgp: Fix checking the comment.Justus Winter
- We construct an address with format!("x ({})", comment), so we do expect to see the name set. - Fixes #747.
2023-07-09openpgp: Add Camellia support to RustCrypto backend.Shun Sakai
2023-07-07openpgp: Improve test.Justus Winter
2023-07-07openpgp: Add test vectors for the Camellia ciphers.Justus Winter
- Generated using GnuPG 2.2.40. - Fixes #1037.