summaryrefslogtreecommitdiffstats
path: root/net/src/pks.rs
AgeCommit message (Collapse)Author
2024-05-30net: Remove the `pks` module.Justus Winter
- The `pks` module provided a method to communicate with remote servers providing decryption and signing services. However, there are several problems with this: - The protocol design does not fit into our vision of how a secret key store should work, and with the advent of the Sequoia Keystore (which does fit that vision) has become obsolete. - There is no downstream consumer of this API in the Sequoia project. - There are no integration tests, so the code is difficult to maintain. - The code requires porting to newer crates, and without integration tests and users this is difficult to do reliably. - The name unfortunately collides with the OpenPGP Key Server and associated protocol pks, an ancestor of hkp. - Arguably, this module should have gone into the sequoia-ipc crate and not into the sequoia-net crate in the first place. - Remove it.
2023-08-24net: Use the new crypto::ecdh::decrypt_unwrap2.Justus Winter
2023-05-16net: Upgrade base64.Neal H. Walfield
- Upgrade base64 to version 0.21.
2022-01-10pks: Fix "capability" parameter not being appended.Wiktor Kwapisiewicz
- Previous refactoring inadvertently broke capability URL construction. - Fix the bug by moving `append_pair` after `join`. - Add test cases to capability URL construction code.
2021-12-31pks: Use appropriate Error objects instead of raw strings.Wiktor Kwapisiewicz
2021-12-31pks: Return correct acceptable hashes for the remote signer.Wiktor Kwapisiewicz
2021-12-29pks: Add support for SHA-384 hash algorithm.Wiktor Kwapisiewicz
2021-12-13net: Use Content-Type header to pass hash algorithmWiktor Kwapisiewicz
This change aligns Private Key Store support to the newest version and changes how the hash algorithm is passed. Previously it was in the query parameters and the routine to add that parameter was prone to abuse on malformed input. Passing the correct algorithm in the `Content-Type` header is cleaner and simpler for both clients and servers.
2021-11-29Remove unnecessary borrows.Nora Widdecke
- Fixed with the help of clippy::needless_borrow.
2021-11-03net: Implement Signer and Decryptor for remote keys.Wiktor Kwapisiewicz
- Add sequoia_net::pks::unlock_signer. - Add sequoia_net::pks::unlock_decryptor.