From dedabb77cd93d0b32d525d1f8ef47edd9f546601 Mon Sep 17 00:00:00 2001 From: s2 Date: Mon, 14 Jan 2019 09:45:33 +0100 Subject: [PATCH] fix more references --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3e69332..c70e4f0 100644 --- a/index.html +++ b/index.html @@ -87,18 +87,18 @@

encrypt a file using multiple recipients (broadcast encryption)

- ./sshencdec.sh -p ~/.ssh/id_rsa.pub -p id_rsa-alice.pub -p id_rsa-bob.pub < plain-text-file.txt > encrypted.txt + ./sshenc.sh -p ~/.ssh/id_rsa.pub -p id_rsa-alice.pub -p id_rsa-bob.pub < plain-text-file.txt > encrypted.txt

encrypt a file using the public key of a github user

- ./sshencdec.sh -p <(curl -sf "https://github.com/S2-.keys" | grep ssh-rsa | tail -n1) < plain-text-file.txt + ./sshenc.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.

dedecrypt a file

- ./sshencdec.sh -s ~/.ssh/id_rsa < encrypted.txt + ./sshenc.sh -s ~/.ssh/id_rsa < encrypted.txt