6 releases (breaking)
0.28.0 | Nov 24, 2023 |
---|---|
0.27.0 | Mar 24, 2023 |
0.26.0 | Jan 11, 2023 |
0.25.0 | Jul 14, 2022 |
0.23.0 | Jan 21, 2021 |
#2555 in Cryptography
2,502 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
~21–37MB
~611K SLoC