Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-14 | openpgp: Immediately create ProtectedMPIs for secrets. | Justus Winter | |
- Avoid creating an MPI first, as this may leak the secrets. | |||
2023-03-01 | openpgp: Fix crash in the CNG backend. | Justus Winter | |
2022-05-05 | openpgp: Fix ECDH parameter selection on generation and import. | Justus Winter | |
- Select an appropriate hash algorithm for the ECDH KDF and an appropriate cipher for the ECDH KEK depending on the curve. Harmonize that for import and generation. - Fixes #841. | |||
2021-11-18 | openpgp: Use a WASM-friendly SystemTime::now wrapper. | Justus Winter | |
- Fixes #769. | |||
2021-10-05 | openpgp: Fix crash in the CNG backend. | Justus Winter | |
2021-09-30 | openpgp: Use new padding methods in the CNG backend. | Justus Winter | |
2021-09-29 | openpgp: Pad the DSA public key to the size of the modulus. | Justus Winter | |
- Works around a crash in the CNG bindings. - See https://github.com/emgre/win-crypto-ng/issues/39. | |||
2021-09-29 | openpgp: Use new padding methods in the CNG backend. | Justus Winter | |
- This makes the code more succinct and also more robust (consider for example that `field_sz - r.value().len()` may underflow. | |||
2021-09-29 | openpgp: Use the new padding methods in the CNG backend. | Justus Winter | |
2021-09-15 | openpgp: Avoid creating unused borrows. | Justus Winter | |
2021-09-08 | openpgp: Don't assume that we only use Ed25519 for EdDSA. | Justus Winter | |
2020-12-04 | openpgp: Make Key::verify more low-level. | Justus Winter | |
- Key::encrypt returns mpi::Ciphertext, not a PKESK packet. Similarly, change Key::verify to take a mpi::Signature instead of a Signature packet. | |||
2020-10-06 | openpgp: Use padding instead of alignment in one more place | Igor Matuszewski | |
2020-10-06 | openpgp: Pad RSA ciphertext and ECC scalars for CNG | Igor Matuszewski | |
We strip leading zeroes in our MPIs but CNG expects full-length values so make sure to add those back when interfacing with CNG. | |||
2020-08-13 | openpgp: Implement ECDH and RSA encryption | Igor Matuszewski | |
2020-08-13 | openpgp: Implement DSA signatures using Windows CNG | Igor Matuszewski | |
2020-08-13 | openpgp: Implement ed25519 signatures with ed25519-dalek | Igor Matuszewski | |
2020-08-13 | openpgp: Implement RSA and ECDSA signatures via Windows CNG API | Igor Matuszewski | |
2020-08-13 | openpgp: Implement asymmetric key gen/import using Windows CNG API | Igor Matuszewski | |
2020-08-13 | openpgp: Add stubs for other crypto impls using Windows CNG API | Igor Matuszewski | |