7 releases (breaking)
new 0.29.0 | Dec 13, 2024 |
---|---|
0.28.0 | Nov 24, 2023 |
0.27.0 | Mar 24, 2023 |
0.26.0 | Jan 11, 2023 |
0.23.0 | Jan 21, 2021 |
#311 in Email
2,302 downloads per month
Used in 11 crates
(8 directly)
5MB
67K
SLoC
Discovering and publishing OpenPGP certificates over the network.
This crate provides access to keyservers using the HKP protocol, and searching and publishing Web Key Directories.
lib.rs
:
Discovering and publishing OpenPGP certificates over the network.
This crate provides access to keyservers using the HKP protocol, and searching and publishing Web Key Directories.
Additionally the pks
module exposes private key operations using
the PKS protocol.
Examples
This example demonstrates how to fetch a certificate from the default key server:
let mut ks = KeyServer::default();
let keyid: KeyID = "31855247603831FD".parse()?;
println!("{:?}", ks.get(keyid).await?);
This example demonstrates how to fetch a certificate using WKD:
let certs = sequoia_net::wkd::get(&reqwest::Client::new(), "juliett@example.org").await?;
Dependencies
~20–35MB
~550K SLoC