From 8d09289d4843922f9e74d2f12081815d533170df Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Fri, 25 Feb 2022 11:14:08 +0100 Subject: [PATCH] Document that scdc doesn't implement transaction guarantees. --- scdc/README.md | 2 ++ scdc/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scdc/README.md b/scdc/README.md index 29eb68e..420eea1 100644 --- a/scdc/README.md +++ b/scdc/README.md @@ -10,6 +10,8 @@ This crate provides `ScdBackend`/`ScdTransaction`, which is an implementation of [scdaemon](https://www.gnupg.org/documentation/manuals/gnupg/Invoking-SCDAEMON.html) to access OpenPGP cards. +Note that (unlike `openpgp-card-pcsc`), this backend doesn't implement transaction guarantees. + **Known limitations** - Uploading RSA 4096 keys via `scdaemon` doesn't work with cards that don't diff --git a/scdc/src/lib.rs b/scdc/src/lib.rs index bd1b48e..d17bf37 100644 --- a/scdc/src/lib.rs +++ b/scdc/src/lib.rs @@ -4,6 +4,8 @@ //! This crate implements the experimental `ScdBackend`/`ScdTransaction` backend for the //! `openpgp-card` crate. //! It uses GnuPG's scdaemon (via GnuPG Agent) to access OpenPGP cards. +//! +//! Note that (unlike `openpgp-card-pcsc`), this backend doesn't implement transaction guarantees. use futures::StreamExt; use lazy_static::lazy_static;