From c55c6d2e0fc55df44ff440bbc560dd2d6b43e489 Mon Sep 17 00:00:00 2001 From: s2 Date: Mon, 7 Jan 2019 09:34:48 +0100 Subject: [PATCH] use only rsa gh keys in readme example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef855b1..e5eae2d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ chmod +x sshencdec.sh ### encrypt a file using the public key of a github user ``` -./sshencdec.sh -p <(curl -sf "https://github.com/S2-.keys" | tail -n1) < plain-text-file.txt +./sshencdec.sh -p <(curl -sf "https://github.com/S2-.keys" | grep ssh-rsa | tail -n1) < plain-text-file.txt ``` this line fetches the first public key for the github user `S2-` and encrypts the file `plain-text-file.txt` using this key.