openpgp-card/openpgp-card-sequoia
Heiko Schaefer 3235f1a8a6
Ignore sequoia-openpgp deprecations.
sequoia-openpgp's deprecations in 1.17 effectively force users that enable "-D warnings" to either upgrade to 1.17 (which would force our downstreams to also use that version).

Alternatives are:
- upgrade sequoia-openpgp
- disable "-D warnings"
- ignore the deprecations with #allow.
2023-11-03 09:24:13 +01:00
..
example Move example keys/data to openpgp-card-sequoia 2021-10-29 22:38:01 +02:00
examples openpgp-card-sequoia: normalize naming of pin verify fns 2023-09-06 01:28:48 +02:00
src Ignore sequoia-openpgp deprecations. 2023-11-03 09:24:13 +01:00
Cargo.toml bump backend versions 2023-09-06 01:16:32 +02:00
README.md openpgp-card-sequoia: README adjustment 2023-09-10 14:39:18 +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 API of this crate is not finalized yet, please expect occasional breaking changes.

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