samuel-lucas6 / Kryptor

A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.
https://www.kryptor.co.uk
GNU General Public License v3.0
414 stars 33 forks source link

🐛 Bug: Cannot decrypt folder with anonymous rename disabled #13

Closed samuel-lucas6 closed 3 years ago

samuel-lucas6 commented 3 years ago

Description

Reported by a non-GitHub user via email:

I have found a bug where Kryptor (version 2.2.2) cannot decrypt a folder it encrypted and I see no way in which the folder can be decrypted (the kryptor files are deleted). Fortunately, I was using a test folder and so lost no data. The bug centres around the Anonymous Rename setting.

Steps to Reproduce

  1. With Anonymous Rename set to "Enabled" (the default), encrypt a folder by dragging it on to the Kryptor window, entering a password and selecting "Encrypt".
  2. Select File, Settings and set Anonymous Rename to "Disabled" then close the settings window.
  3. Drag the folder encrypted in 1 on to the Kryptor window, enter the password and select "Decrypt". The folder (and its files) remain encrypted.

Expected Behaviour

The folder should be decrypted.

Screenshots

N/A

Platform Info

samuel-lucas6 commented 3 years ago

This issue will be fixed in the next version, but it's taking a very long time to get v3 Beta out because I've effectively rewritten the program. I don't plan on doing any patches before v3 unless they're security related.

samuel-lucas6 commented 3 years ago

Fixed in v3.0.0 Beta.