mirror of
https://github.com/5im-0n/sshenc.sh.git
synced 2025-08-03 11:50:04 +02:00
update documentation
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
bash script to encrypt data using a users ssh public key.
|
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
|
> 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
|
## examples
|
||||||
|
Reference in New Issue
Block a user