beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.
https://getaegis.app
GNU General Public License v3.0
8.92k stars 375 forks source link

Add audit log #1357

Closed michaelschattgen closed 4 months ago

michaelschattgen commented 5 months ago

This pull request is aiming to give more insight to important events that occurred within the app. We chose to use a SQLite database in combination with Room. I've made the choice to only show the entries of the last 30 days for now, but we might want to change that in the future.

The events we're currently tracking are:

Feel free to comment on this PR if you think we need to track other events.

This is discussed in #1069 and makes it possible to implement #1132.

InfiniteCoder06 commented 5 months ago

@michaelschattgen A small suggestion is to delete the entries greater than 30 days periodically.

elliotwutingfeng commented 5 months ago

I like this feature! I think it should also track when the vault password has been changed.

michaelschattgen commented 5 months ago

@elliotwutingfeng I like that! I'm leaving this pull request for what it is (otherwise it will never get done) but that's definitely going on the backlog. Thanks for the suggestion.