After using Keepass for several years, an idea came to me that would be nice to implement. There are over 300 records in my database, and it would be nice to know which of those records are still good. Setting the expires flag on the records would help remind me to check if records are valid and potentially encourage me to change my password. Is there a way to look through the entire database and do the following to each record?
- Check if the expires flag is set.
- If it is not set, add X number of years to the creation (or modification) time.
- Set the expires flag.
- Set the expires time to the value calculated in step 2.
- Continue to the next record in the database.
A reply was received from Paul saying, "Not with KeePass, but you can use KPScript and some PowerShell." He included a link to #1318 Change Expiration Date from List, but my inexperience with the tools he recommended has only left me with more questions. Could anyone provide further assistance? (1)
Addendum
After some further research, the ability to export the database in a XML format was discovered. Would it be easier to parse the XML file, alter the data in that form, and then create a new database by importing the results? If using the suggestions already made would be too difficult, XML processing could potentially be an easier path to take.