Supports encrypted localPrivateKeyPem #2

Closed
opened 2022-04-02 20:38:07 +08:00 by hatter · 1 comment
Owner

~/.tinyencrypt_config.json is plain text

{
  "localPrivateKeyPem": "-----BEGIN PRIVATE KEY-----...."
}

add config keys:

{
  "localPrivateKeyPemEncrypted": "--",
  "localPrivateKeyPemChallenge": "--"
}
  1. use tiny-encrypt --encrypt-config-local-private-key use hmac KDF & aes/gcm
  2. decrypt use hmac
`~/.tinyencrypt_config.json` is plain text ```json { "localPrivateKeyPem": "-----BEGIN PRIVATE KEY-----...." } ``` add config keys: ```json { "localPrivateKeyPemEncrypted": "--", "localPrivateKeyPemChallenge": "--" } ``` 1. use `tiny-encrypt --encrypt-config-local-private-key` use hmac KDF & aes/gcm 1. decrypt use hmac
Author
Owner

v0.4.10

v0.4.10
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hatter/tiny-encrypt-java#2