This commit is contained in:
Heiko Schaefer 2021-10-29 22:48:44 +02:00
parent 753bd8b71b
commit bc08ca68ed
7 changed files with 20 additions and 22 deletions

View file

@ -14,10 +14,9 @@ documentation = "https://docs.rs/crate/openpgp-card-examples"
[dependencies]
sequoia-openpgp = "1.3"
nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.0.4" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.4" }
openpgp-card-scdc = { path = "../scdc", version = "0.0.2" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.3" }
openpgp-card = { path = "../openpgp-card", version = "0.0.5" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.5" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.4" }
chrono = "0.4"
anyhow = "1"
thiserror = "1"

View file

@ -5,7 +5,7 @@
name = "openpgp-card-sequoia"
description = "Wrapper of openpgp-card for use with Sequoia PGP"
license = "MIT OR Apache-2.0"
version = "0.0.3"
version = "0.0.4"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
edition = "2018"
repository = "https://gitlab.com/hkos/openpgp-card"
@ -14,9 +14,9 @@ documentation = "https://docs.rs/crate/openpgp-card-sequoia"
[dependencies]
sequoia-openpgp = "1.4"
nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.0.4" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.4" }
openpgp-card-scdc = { path = "../scdc", version = "0.0.2" }
openpgp-card = { path = "../openpgp-card", version = "0.0.5" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.5" }
openpgp-card-scdc = { path = "../scdc", version = "0.0.3" }
chrono = "0.4"
anyhow = "1"
thiserror = "1"

View file

@ -5,7 +5,7 @@
name = "openpgp-card"
description = "A client implementation for the OpenPGP card specification"
license = "MIT OR Apache-2.0"
version = "0.0.4"
version = "0.0.5"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
edition = "2018"
repository = "https://gitlab.com/hkos/openpgp-card"

View file

@ -6,13 +6,13 @@ name = "openpgp-card-pcsc"
description = "PCSC OpenPGP card backend, for use with the openpgp-card crate"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
license = "MIT OR Apache-2.0"
version = "0.0.4"
version = "0.0.5"
edition = "2018"
repository = "https://gitlab.com/hkos/openpgp-card"
documentation = "https://docs.rs/crate/openpgp-card-pcsc"
[dependencies]
openpgp-card = { path = "../openpgp-card", version = "0.0.4" }
openpgp-card = { path = "../openpgp-card", version = "0.0.5" }
pcsc = "2"
anyhow = "1"
log = "0.4"

View file

@ -6,13 +6,13 @@ name = "openpgp-card-scdc"
description = "Experimental SCDaemon Client, for use with the openpgp-card crate"
authors = ["Heiko Schaefer <heiko@schaefer.name>"]
license = "MIT OR Apache-2.0"
version = "0.0.2"
version = "0.0.3"
edition = "2018"
repository = "https://gitlab.com/hkos/openpgp-card"
documentation = "https://docs.rs/crate/openpgp-card-scdc"
[dependencies]
openpgp-card = { path = "../openpgp-card", version = "0.0.4" }
openpgp-card = { path = "../openpgp-card", version = "0.0.5" }
sequoia-ipc = "0.26"
hex = "0.4"
anyhow = "1"

View file

@ -14,10 +14,9 @@ documentation = "https://docs.rs/crate/openpgp-card-tools"
[dependencies]
sequoia-openpgp = "1.3"
nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.0.4" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.4" }
openpgp-card-scdc = { path = "../scdc", version = "0.0.2" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.3" }
openpgp-card = { path = "../openpgp-card", version = "0.0.5" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.0.5" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.4" }
rpassword = "5"
chrono = "0.4"
anyhow = "1"

View file

@ -105,25 +105,25 @@ PIN on OpenPGP cards.
Set the user PIN (requires admin PIN):
```
opgpcard-pin -c 1234:12345678 set-user-pin
opgpcard-pin -c ABCD:12345678 set-user-pin
```
Set new admin PIN (requires admin PIN):
```
opgpcard-pin -c 1234:12345678 set-admin-pin
opgpcard-pin -c ABCD:12345678 set-admin-pin
```
Reset user PIN after it has been blocked (requires admin PIN):
```
opgpcard-pin -c 1234:12345678 reset-user-pin -a
opgpcard-pin -c ABCD:12345678 reset-user-pin -a
```
Set resetting code (requires admin PIN):
```
opgpcard-pin -c 1234:12345678 set-reset-code
opgpcard-pin -c ABCD:12345678 set-reset-code
```
Reset user PIN (requires resetting code):
```
opgpcard-pin -c 1234:12345678 reset-user-pin
opgpcard-pin -c ABCD:12345678 reset-user-pin
```