From 2419b5da583b348e93fa40c76b7b38480c053bf6 Mon Sep 17 00:00:00 2001 From: Anand Sharma Date: Fri, 10 Jan 2020 16:19:42 -0500 Subject: [PATCH] README: fix a typo in the SSH Keys section (#85) Co-authored-by: Filippo Valsorda <1225294+FiloSottile@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e202da..b01b278 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ As a convenience feature, age also supports encrypting to `ssh-rsa` and `ssh-ed2 $ cat ~/.ssh/id_ed25519.pub ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZDRcvS8PnhXr30WKSKmf7WKKi92ACUa5nW589WukJz filippo@Bistromath.local $ age -r "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZDRcvS8PnhXr30WKSKmf7WKKi92ACUa5nW589WukJz" example.jpg > example.jpg.age -$ age -i ~/.ssh/id_ed25519 example.jpg.age > example.jpg +$ age -d -i ~/.ssh/id_ed25519 example.jpg.age > example.jpg ``` Note that SSH key support employs more complex cryptography, and embeds a public key tag in the encrypted file, making it possible to track files that are encrypted to a specific public key.