MacPassHTTP icon indicating copy to clipboard operation
MacPassHTTP copied to clipboard

Exclude expired entries

Open dennis-f opened this issue 7 years ago • 4 comments

Right now, entries are passed to MacPassHTTP even if they're expired. The default behaviour should be not to show those entries as a possible result.

dennis-f avatar Jul 19 '17 10:07 dennis-f

I just looked into KeePassHTTP for reference and they seem to include expired entries as well.

SearchParameter by default do not exclude expired entires:

https://github.com/dlech/KeePass2.x/blob/4dba4a898d3cdcec7c0b66626237e37419df951a/KeePassLib/PwDefs.cs#L347

And they aren'e excluded in KeePasHTTP:

https://github.com/pfn/keepasshttp/blob/b9a6813bfc9ccc9618938249c1bfff744a28ca44/KeePassHttp/KeePassHttp.cs#L60

https://github.com/pfn/keepasshttp/blob/b9a6813bfc9ccc9618938249c1bfff744a28ca44/KeePassHttp/Handlers.cs#L117

mstarke avatar Oct 13 '17 17:10 mstarke

You're right. I realized that too after returning to windows. The reason i did not close my issue was, that i think it should be implemented anyway. Although i should have edited the issue.

There is no reason why I should get presented entries that are marked as expired. That should be an issue in keepasshttp as well...

dennis-f avatar Oct 17 '17 20:10 dennis-f

UPDATE: I found that option in KeePass > Tools > KeePassHttp Options... It's not in the browser extension.

It was resolved in https://github.com/pfn/keepasshttp/pull/304

dennis-f avatar Nov 01 '17 08:11 dennis-f

I'll try to update the plugin to mirror the changes

mstarke avatar Nov 20 '17 13:11 mstarke