Open maxxo opened 4 years ago
In the notepad++ menu "Plugins" -> "NppCrypt" -> "Preferences": check enable nppcrypt files. Now save a file using the same extension you set in this dialog (default: nbak). Ignore "advanced" options.
Hello, I'm trying to encrypt the entire file. So I using Plugins->NppCrypt->Encrypt and getting 'see nppcrypt-files in preferences' Looking there, nppcrypt-files are enabled What I'm doing wrong?
you habe to save the file using the extension you specified in the preferences dialog. In your case it is "nppcrypt", so save you file i.e. as "example.nppcrypt" (instead of example.txt). you can change the extension to anything you like i.e. "xxx". then everytime a file is saved/opened as *.xxx nppcrypt will try to encrypt/decrypt it.
Saved file with extension .nppcrypt as it is in the preferences dialog (picture in previous message) When opening file Then trying to encrypt Plugins->NppCrypt->Encrypt Same thing
PS Server 2012R2 npp7.9.1
Hi! I wanted to encrypt a simple text file with this plugin. Using Notepad++ 8.2, nppcrypt version 1.0.1.6.
I get the same issue as above @nuts577 . When I open w file with extension .nppcrypt, I get error about missing key-length.
Everything is on default setting. And there is no config file for NppCrypt, which I mean, %APPDATA%/notepad++/plugins/config/nppcrypt.xml file is missing in installation. and didn't find this file in GITHUB either,
Can you please help? Thanks György
Hi. I just had a quick look and you are right: The problem is that the plugin checks the extension before the file is saved (but after the save file dialog). But for some reason the filename reported to it at this point is not "test.nppcrypt" for example but rather "new 1". I have no idea if this behaviour was changed by notepad++ in the last years, it probably it was.
Of course this has to be fixed, but that may take some time, because sadly this was the first time for more than a year that I looked at the code. In the meantime you could do the following: Save an empty file as *.nppcrypt. Now edit it/paste your data and save it again. Now the password dialog should appear.
Hi @jeanpaulrichter
Okey, thanks for quick checking! The workaround works great! :)
György
Hello, In theory this seems pretty simple to do. But the documentation on how to encrypt entire .txt file without highlighting the text is very poor, especially for a non-advanced user. Have no what the correct values or changes should be made in the plugin preferences dialogue box. I'm sure it's super simple and easy. Can you improve the documentation and maybe add screenshots on how to do this? I'm guessing most users would prefer to be able to encrypt entire file without having to highlight the text first. Thanks