1
0
mirror of https://github.com/5im-0n/sshenc.sh.git synced 2025-08-02 11:20:05 +02:00

update documentation

This commit is contained in:
s2
2017-10-26 14:16:38 +02:00
parent fccea4ac99
commit 9d92ea2529

View File

@@ -3,10 +3,10 @@
bash script to encrypt data using a users ssh public key.
> If you received a message from someone that was encrypted with this script, you can
> just use openssl to decrypt it, without the need to download this script:
> decrypt it with your ssh private key using the following command:
```
(openssl base64 -d | openssl rsautl -decrypt -inkey ~/.ssh/id_rsa) < file-containing-the-encrypted-text.txt
./sshencdec.sh -s ~/.ssh/id_rsa < file-containing-the-encrypted-text.txt
```
## examples