feat: v0.2.4, add config subcommand

This commit is contained in:
2023-10-10 22:28:05 +08:00
parent fe226d9b75
commit a68f5e0e00
7 changed files with 204 additions and 18 deletions

View File

@@ -46,13 +46,12 @@ Encrypt config `~/.tinyencrypt/config-rs.json`:
Supported PKI encryption types:
| Type | Description |
|------------|------------------------|
| pgp | OpenPGP RSA PKCS1-v1.5 |
| pgp-x25519 | ECDH X25519 |
| ecdh | ECDH P256 |
| ecdh-p384 | ECDH P384 |
| Type | Algorithm | Description |
|------------|-----------------|------------------------|
| pgp | PKCS1-v1.5 | OpenPGP Encryption Key |
| pgp-x25519 | ECDH(X25519) | OpenPGP Encryption Key |
| ecdh | ECDH(secp256r1) | PIV Slot |
| ecdh-p384 | ECDH(secp384r1) | PIV Slot |
Smart Card(Yubikey) protected ECDH Encryption description: