I like this logger, however, it does present a security risk. I know you said it doesn't do it on mac, but that's a big what IF.
It would be much better to actually just keep the count in a table instead of a view and not log date and key. In the rare event someone gets a hold of the sqlite file and the sequential keys for a password are stored you're pretty much screwed.
What I would do is run the app, keep a dictionary for all the keys in memory and update the count there. Then every N minutes push to table, that way there's no overhead for writing straight to disk in real time.
I like this logger, however, it does present a security risk. I know you said it doesn't do it on mac, but that's a big what IF.
It would be much better to actually just keep the count in a table instead of a view and not log date and key. In the rare event someone gets a hold of the sqlite file and the sequential keys for a password are stored you're pretty much screwed.
What I would do is run the app, keep a dictionary for all the keys in memory and update the count there. Then every N minutes push to table, that way there's no overhead for writing straight to disk in real time.