mirror of
https://github.com/5im-0n/sshenc.sh.git
synced 2025-08-02 19:30:05 +02:00
documentation
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
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:
|
||||
|
||||
```
|
||||
(openssl base64 -d | openssl rsautl -decrypt -inkey ~/.ssh/id_rsa) < file-containing-the-encrypted-text.txt
|
||||
```
|
||||
|
||||
## examples
|
||||
|
||||
### encrypt a file using your own ssh public key
|
||||
|
Reference in New Issue
Block a user