keepmenu icon indicating copy to clipboard operation
keepmenu copied to clipboard

Root group protection

Open vaygr opened this issue 3 years ago • 1 comments

Thanks for this nice little piece of software!

I've been playing around with keepmenu lately trying to break it, and noticed an issue. Not sure if it's by design.

It seems it's easy to wipe out the root group in keepmenu. The database then becomes effectively useless: I can't add the root group back because adding any group requires specifying parent group, which doesn't exist in the first place. When I then try to open the database in KeePassXC I get an error Error while reading the database: No root group.

In KeePassXC the root group is protected, so maybe it makes sense to do the same in keepmenu?

vaygr avatar Sep 04 '22 13:09 vaygr

Yep, I can reproduce. Makes sense to not allow the root group to be deleted.

firecat53 avatar Apr 23 '23 03:04 firecat53