#openpgp #sequoia #card #pgp

openpgp-card-sequoia

Wrapper of openpgp-card for use with Sequoia PGP

22 releases

0.1.2 Apr 8, 2023
0.1.1 Feb 14, 2023
0.1.0 Oct 28, 2022
0.0.15 Jul 25, 2022
0.0.1 Jun 30, 2021

#275 in Authentication

Download history 196/week @ 2023-01-31 81/week @ 2023-02-07 189/week @ 2023-02-14 208/week @ 2023-02-21 92/week @ 2023-02-28 178/week @ 2023-03-07 246/week @ 2023-03-14 243/week @ 2023-03-21 86/week @ 2023-03-28 156/week @ 2023-04-04 250/week @ 2023-04-11 191/week @ 2023-04-18 184/week @ 2023-04-25 87/week @ 2023-05-02 125/week @ 2023-05-09 88/week @ 2023-05-16

502 downloads per month
Used in 4 crates (2 directly)

MIT/Apache and LGPL-2.0-or-later

300KB
6K SLoC

OpenPGP card usage with Sequoia PGP

This crate is a higher level wrapper for the openpgp-card crate.

It offers convenient access to OpenPGP card functionality using Sequoia PGP.

Note: the current API of this crate is an early draft, reflected by version numbers in the 0.0.x range.

Example code

The program examples/test.rs performs a number of functions on an OpenPGP card. To run it, you need to set an environment variable to the identifier of the OpenPGP card you want to use.

NOTE: data on this card will be deleted in the process of running this program!

$ export TEST_CARD_IDENT="0123:4567ABCD"
$ cargo run --example test

You can see more debugging output by increasing the log-level, like this:

$ RUST_LOG=trace cargo run --example test

Dependencies

~20MB
~412K SLoC