From 0e6b590f32af61cad4f0569b7bb9bd6e6d3efdf0 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 16 Oct 2025 07:08:14 +0800 Subject: [PATCH] feat: udpate README --- README.md | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 844747b..3abf543 100644 --- a/README.md +++ b/README.md @@ -114,19 +114,23 @@ Last, config key id to profile. Supported PKI encryption types: -| Type | Algorithm | Description | -|------------------|-----------------|-----------------------------------------| -| pgp-rsa | PKCS1-v1.5 | OpenPGP Encryption Key (Previous `pgp`) | -| pgp-x25519 | ECDH(X25519) | OpenPGP Encryption Key | -| gpg | OpenPGP | GnuPG Command | -| static-x25519 | ECDH(X25519) | Key Stored in macOS Keychain Access | -| static-kyber1024 | Kyber1024 | Key Stored in macOS Keychain Access | -| piv-p256 | ECDH(secp256r1) | PIV Slot (Previous `ecdh`) | -| piv-p384 | ECDH(secp384r1) | PIV Slot (Previous `ecdh-p384`) | -| key-p256 | ECDH(secp256r1) | Key Stored in macOS Secure Enclave | -| ext-p256 | ECDH(secp256r1) | Key Protected by External Command | -| ext-p384 | ECDH(secp384r1) | Key Protected by External Command | -| piv-rsa | PKCS1-v1.5 | PIV Slot | +| Type | Algorithm | Description | +|------------------|---------------------|--------------------------------------------------------| +| pgp-rsa | PKCS1-v1.5 | OpenPGP Encryption Key (Previous `pgp`) | +| pgp-x25519 | ECDH(X25519) | OpenPGP Encryption Key | +| gpg | OpenPGP | GnuPG Command | +| static-x25519 | ECDH(X25519) | Key Stored in macOS Keychain Access | +| static-kyber1024 | Kyber1024 | Key Stored in macOS Keychain Access | +| piv-p256 | ECDH(secp256r1) | PIV Slot (Previous `ecdh`) | +| piv-p384 | ECDH(secp384r1) | PIV Slot (Previous `ecdh-p384`) | +| key-p256 | ECDH(secp256r1) | Key Stored in macOS Secure Enclave (using P256) | +| key-mlkem768 | ML-KEM(ML-KEM-768) | Key Stored in macOS Secure Enclave (using ML-KEM-768) | +| key-mlkem1024 | ML-KEM(ML-KEM-1024) | Key Stored in macOS Secure Enclave (using ML-KEM-1024) | +| ext-p256 | ECDH(secp256r1) | Key Protected by External Command | +| ext-p384 | ECDH(secp384r1) | Key Protected by External Command | +| ext-mlkem768 | ML-KEM(ML-KEM-768) | Key Protected by External Command | +| ext-mlkem1024 | ML-KEM(ML-KEM-1024) | Key Protected by External Command | +| piv-rsa | PKCS1-v1.5 | PIV Slot | Smart Card(Yubikey) protected ECDH Encryption description as below: @@ -170,3 +174,7 @@ Environment | SECURE_EDITOR | Secure Editor | | EDITOR | Editor (Plaintext) | +Alternative environment setup: +```shell +~/.config/envs/ENV_VARIABLE_NAME <--> File Content +``` \ No newline at end of file