Closed FSMaxB closed 1 year ago
It just happened again. I was deleting an empty directory that I had just created and that's when it happened. Still not able to reliably reproduce it though.
I just found out how to reproduce it!
PASSWORD_STORE_DIR=. pass init <gpg-id>
to initialize the new password store.victim
password to be deleted.empty
empty
in the search barempty
in the search results. (Note: It is not highlighted as selected when clicking on it)delete
key. A dialog box will appear:
/
. If you then click yes
, it will delete your entire password store, including the main directory itselfDid some further digging. It's actually much easier to trigger. It happens when the list of passwords is selected but no item in the tree of passwords and directories.
You can achieve this by one of the following:
Note that in those cases, the ui->actionDelete
button is disabled, but you can still trigger the delete action with the delete
key.
PR incoming!
Describe the bug Sometimes when trying to delete a subdirectory, the entire password store get's deleted.
To Reproduce I am not sure on how to actually reproduce this, but it happened to me several times. Thank god for backups! If I find the time, I can start experimenting. It might be related to the search functionality in some way.
Expected behavior Only the subdirectory should be deleted, not the entire password store.
Screenshots
Desktop (please complete the following information):
Additional context I use multiple profiles