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

#2398 in Cryptography

Download history 419/week @ 2024-06-16 247/week @ 2024-06-23 314/week @ 2024-06-30 258/week @ 2024-07-07 570/week @ 2024-07-14 781/week @ 2024-07-21 513/week @ 2024-07-28 331/week @ 2024-08-04 648/week @ 2024-08-11 258/week @ 2024-08-18 469/week @ 2024-08-25 383/week @ 2024-09-01 446/week @ 2024-09-08 331/week @ 2024-09-15 541/week @ 2024-09-22 506/week @ 2024-09-29

1,840 downloads per month
Used in 11 crates (8 directly)

LGPL-2.0-or-later

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
~607K SLoC