openpgp-card/openpgp-card-sequoia
Heiko Schaefer 5e7fcd079b
Change CardApp API: take &mut CardClient parameter for all calls (instead of owning a CardClientBox).
This way, clients can exert control over the state of the CardClient, e.g. to combine CardApp operations in a PCSC transaction.
2022-02-14 17:43:07 +01:00
..
example Move example keys/data to openpgp-card-sequoia 2021-10-29 22:38:01 +02:00
src Change CardApp API: take &mut CardClient parameter for all calls (instead of owning a CardClientBox). 2022-02-14 17:43:07 +01:00
Cargo.toml release openpgp-card-sequoia 0.0.7 2021-12-12 01:36:50 +01:00
README.md Minor edit of README 2021-08-18 20:10:48 +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.

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