muriloventuroso / easyssh

The SSH connection manager to make your life easier.
GNU General Public License v3.0
523 stars 39 forks source link

Data encryption gets enabled even when cancelling #143

Open Zackyist opened 2 years ago

Zackyist commented 2 years ago

Version: 1.7.8 (latest from the App Center)

OS: elementary OS 6.1 Jólnir

Steps to reproduce:

  1. Open "Preferences" from the gear icon.
  2. Press the "Encrypt data" switch.
  3. Do not enter anything in the password input field.
  4. Press "Cancel" on the password input dialog.

Expected result: Data encryption does not get enabled and the application does not close but instead returns to the Preferences view.

Actual result: When pressing "Cancel" the application closes and data encryption is enabled with an unknown password. EasySSH always asks for password on startup but does not accept an empty password so the application is completely inaccessible. I have to delete the configuration files in ~/.var/app/com.github.muriloventuroso.easyssh to reset the application and access it again.