feat: v1.1.3, pgp-card-list add public key sha256

This commit is contained in:
2022-04-03 21:11:42 +08:00
parent fc28ed40e3
commit d980b2b3fb
4 changed files with 20 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ cargo install --git https://git.hatter.ink/hatter/card-cli.git
## encrypt & decrypt
sample public key
sample encrypt public key
```
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEApUM8M+QRMUw0dIvXISFx
@@ -43,7 +43,7 @@ $ cargo r -- pgp-card-decrypt -c $(cat enc.txt | xxd -ps -c 11111)
sign
```
$ cargo r -- pgp-card-sign -2 $(shasum -a 256 test.txt | awk '{print $1}')
$ cargo r -- pgp-card-sign -2 $(shasum -a 256 test.txt | awk '{print $1}')
OR