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

Download history 746/week @ 2024-07-22 520/week @ 2024-07-29 328/week @ 2024-08-05 639/week @ 2024-08-12 262/week @ 2024-08-19 484/week @ 2024-08-26 366/week @ 2024-09-02 445/week @ 2024-09-09 347/week @ 2024-09-16 528/week @ 2024-09-23 449/week @ 2024-09-30 682/week @ 2024-10-07 817/week @ 2024-10-14 654/week @ 2024-10-21 527/week @ 2024-10-28 499/week @ 2024-11-04

2,502 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
~611K SLoC