From 09d7f6ee9ee1d728449131dff4e750e5339f7968 Mon Sep 17 00:00:00 2001 From: David Elentok <3david@gmail.com> Date: Tue, 14 May 2024 21:36:11 +0300 Subject: =?UTF-8?q?=F0=9F=93=9D=20Better=20manual=20decryption=20instructi?= =?UTF-8?q?ons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, add decrypt.sh script to help with manual decryption. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3