openpgp-card/openpgp-card-sequoia
Heiko Schaefer cd40e2bae4
Bump versions:
- openpgp-card 0.2.5
- openpgp-card-sequoia 0.0.12
- openpgp-tools 0.0.10
2022-05-24 16:20:59 +02:00
..
example Move example keys/data to openpgp-card-sequoia 2021-10-29 22:38:01 +02:00
examples Clean up dependencies; move openpgp-card-sequoia test-code into examples/. 2022-04-12 11:41:33 +02:00
src Add workaround for select_data() on older Yubikey5 firmware versions. 2022-05-24 14:45:25 +02:00
Cargo.toml Bump versions: 2022-05-24 16:20:59 +02:00
README.md Add a note that the openpgp-card-sequoia API is an early draft (and subject to change). 2022-05-24 16:20:58 +02:00

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 main.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

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

$ RUST_LOG=trace cargo run