Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple way to rename the column that HIBP Offline uses #26

Open
jeff9315 opened this issue Feb 9, 2019 · 4 comments
Open

Simple way to rename the column that HIBP Offline uses #26

jeff9315 opened this issue Feb 9, 2019 · 4 comments

Comments

@jeff9315
Copy link

jeff9315 commented Feb 9, 2019

Maybe this should be added as a note somewhere ... as a way to use a different column name ...

Keepass has a function called XML Replace under Tools > Database Tools. It's documented at https://keepass.info/help/v2/xml_replace.html#delstr . To delete a field called Have I Been Pwned, use this in XML Replace ... //Entry/String[Key='Have I Been Pwned'] and under "Action", specify Remove Node.

Then, under Tools > HIBP Offline Check, you can use a different name for the column (I use HIBP Offline). You'd then have to rerun HIBP Offline to populate the new field.

@mihaifm
Copy link
Owner

mihaifm commented Feb 14, 2019

Thanks, this is useful info. I'm thinking to add some logic to automatically delete the entry under the old column when changing the plugin column name.

@hilari0n
Copy link

hilari0n commented Jul 8, 2019

Wouldn't it be better to rather rename the entry, instead of deletion? That way one could retain the already determined password statuses.
A separate option, to remove the column (or to clear it in the whole DB or in the current selection) would be a nice addition.

@mihaifm
Copy link
Owner

mihaifm commented Jul 8, 2019

@hilari0n I'll have to investigate the renaming option, it might be a bit tricky. Currently I'm using a ColumnProvider class from KeePass which abstracts a lot of the functionality.

If you need to remove the column just clear the status for all entries (using the button in the options) and then change the column name (or remove the plugin). Database should be clean.

@homes32
Copy link
Contributor

homes32 commented Jul 31, 2019

@hilari0n I'll have to investigate the renaming option, it might be a bit tricky. Currently I'm using a ColumnProvider class from KeePass which abstracts a lot of the functionality.

If renaming itself proves problematic, how about copying the value to a new column, then deleting the old column?

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

No branches or pull requests

4 participants