vscode-gnupg-tool
vscode-gnupg-tool copied to clipboard
Feature Request: Add option to decrypt entire file contents
It would be useful to have the extension decrypt the entire contents of a file in the editor. At the moment, when I choose the command "GnuPG: Decrpt File", nothing happens.
This is the behaviour I am looking for:
- I open an encrypted file Document.md.asc in VSCode.
- When I run a command "GnuPG: Decrypt Contents" (e.g.), the contents of the file are decrypted in the editor.
At the moment, I achieve this behaviour by selecting all the encrypted text and choose "GnuPG: Decrypt Selection".
"nothing happens":
- I think this is because the session keeps the password. When you decrypt the file after you encrypted it, the gpg session does not require the password again.
- Please use the
End Sessioncommand and try again.