feat: v1.9.4
This commit is contained in:
@@ -32,11 +32,19 @@ hW53WfImja+b5kwwyqUikyMCAwEAAQ==
|
||||
encrypt
|
||||
```
|
||||
$ openssl rsautl -encrypt -pubin -inkey enc_key.pem -in test.txt -out enc.txt -pkcs
|
||||
|
||||
OR
|
||||
|
||||
$ openssl pkeyutl -encrypt -inkey enc_key.pem -pubin -in a.txt -out enc.txt
|
||||
```
|
||||
|
||||
decrypt
|
||||
```
|
||||
$ card-cli pgp-card-decrypt -c $(cat enc.txt | xxd -ps -c 11111)
|
||||
|
||||
OR
|
||||
|
||||
$ card-cli piv-decrypt -s r3 -c "$(cat enc.txt | base64)"
|
||||
```
|
||||
|
||||
## sign & verify
|
||||
|
||||
Reference in New Issue
Block a user