Skip to content

Conversation

@aivanovski
Copy link

Some KeePass clients may create "Recycle Bin" but don't specify it in database metadata.
In order to not create an excessive "Recycle Bin" group, it can be detected by name. If a group with the name "Recycle Bin" wasn't found, then create a new one.

@aivanovski
Copy link
Author

@jorabin Hi, could you please have a look at this PR?

@jorabin-51d
Copy link

hi @aivanovski many thanks for your PR - I'm afraid I have had zero time to attend to anything on this project, but hope to be able to do an update at some point in the not too distant future. Plan will first to merge the branch with v4 file format/encryption then we will see where we are.

@jorabin
Copy link
Owner

jorabin commented May 11, 2023

I thought I had left a comment on this some days ago, but don't see it. Apologies for any duplication.

I'm concerned that any such change might have a negative impact if implemented across the board. Wonder if it is better addressed in user code where it could be tailored to specific known problems, using a combination of

database.findEntries("Recycle Bin")

and

database.getRecycleBin()

or am I misunderstanding the problem? Are you saying that a

database.setRecycleBin(Group g)

method is needed?

@aivanovski
Copy link
Author

Hi,
You understand it absolutely correctly and your solution database.setRecycleBin(Group g) will definitely work better than my hot-fix. I think it's better to cancel this PR then.
@jorabin

@jorabin
Copy link
Owner

jorabin commented May 11, 2023

Hi, You understand it absolutely correctly and your solution database.setRecycleBin(Group g) will definitely work better than my hot-fix. I think it's better to cancel this PR then. @jorabin

OK, well then I raised #44 as a result. Keen to hear your views and I am closing this now, assuming we don't need to proceed with it.

@jorabin jorabin closed this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants