aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Elentok <3david@gmail.com>2024-05-14 21:36:11 +0300
committerDavid Elentok <3david@gmail.com>2024-05-14 21:36:11 +0300
commit09d7f6ee9ee1d728449131dff4e750e5339f7968 (patch)
treebb14148b615e96a1eb88f63ff1e08b1fd2e06208 /README.md
parent7b66afeada163114f4b101a0a4da032bf3f680eb (diff)
downloadencrypt.nvim-09d7f6ee9ee1d728449131dff4e750e5339f7968.tar.gz
📝 Better manual decryption instructions
Also, add decrypt.sh script to help with manual decryption.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4901095..ece988b 100644
--- a/README.md
+++ b/README.md
@@ -29,11 +29,13 @@ To decrypt a file that was encrypted using `decrypt.nvim` without the plugin
just run:
```
-cat encrypted.txt \
+tail -n +2 encrypted.txt \
| base64 --decode \
| openssl enc -d -aes-256-cbc -pbkdf2 -salt -in - -out - -k {PASSWORD}
```
+Or use the provided [decrypt.sh](decrypt.sh)
+
## TODO
- [ ] Store the password in a local scope in the plugin instead of as a buffer