NPPCrypt not fully decrypting text.
-
I have a file that I encrypted with NPPCrypt (v1.0.1.6) using the default settings. Usually I just read it, do to that I decrypt it in NPP and don’t save it when closing. Occasionally I add another line to the file, in which case I encrypt the modified file using the same default setting and password as the old version.
It has now happened twice that the new file upon decrypting again returned garbled text. For example, some lines are correct, but have inserted characters here or there. I’ve also noticed that the lines start repeating, Plus the newest line isn’t what I typed before the encryption.
NPP debug info:
Notepad++ v8.7.8 (64-bit) Build time : Mar 7 2025 - 20:39:25 Path : C:\Programs\N++\notepad++.exe Command Line : "D:\Michkov\Daten\!Projects\RougeRally\Rally.txt" Admin mode : OFF Local Conf mode : ON Cloud Config : OFF Periodic Backup : ON Placeholders : ON Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1) Multi-instance Mode : monoInst File Status Auto-Detection : cdDisabled Dark Mode : ON OS Name : Windows 10 Home (64-bit) OS Version : 22H2 OS Build : 19045.6093 Current ANSI codepage : 1252 Plugins : ComparePlugin (2.0.2) DSpellCheck (1.5) mimeTools (3.1) NppConverter (4.6) nppcrypt (1.0.1.6) NppExec (0.8.8) NppExport (0.4) PythonScript (2) _CustomizeToolbar (5.3)
As far as I’m aware I havn’t updated NPP between the original and current encryptions.
The file is stored in my dropbox, so it syncs to their cloud storage. Not sure if that is relevant.I’ve set up a protocol to provoke the bug using a no so secret text, but I just started that so that will take a while to show results.
-
@Michkovy said in NPPCrypt not fully decrypting text.:
The file is stored in my dropbox, so it syncs to their cloud storage. Not sure if that is relevant.
Could be. Seems to me that your file was simply out of sync somehow (common when the network is laggy or there was just a temp outage):
Plus the newest line isn’t what I typed before the encryption.