keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.23k stars 1.47k forks source link

Ability to customize Expiration Presets #6800

Open hp2015 opened 3 years ago

hp2015 commented 3 years ago

Summary

I can not find a way to customize the presets for expiration. I have many non standard lengths of expiration and would like to be able to add presets to fit these custom needs. I anticipate others may have this need and perhaps its already a feature that I've just not found yet.

Examples

default Presets are: Tomorrow 1 week 2 weeks 3 weeks 1 month 3 months 6 months 1 year 2 years 3 years

nothing else

Context

I have expirations ranging from 21 days to 6 months that i reset periodically and would be great to have that customizable in drop down instead of going through calendar to pick.

droidmonkey commented 3 years ago

Not possible without modifying the code at this time

hp2015 commented 3 years ago

Thanks for confirming this. If possible, I'd like it in your queue for new features, but II understand if that's a big code change you may not be able to do this. I can and will work around it with calendar in the meantime. Thanks again!

adudek16 commented 2 years ago

I would like this too. 2 Months (60 days) is a common item for me for work passwords.

schwedenmut commented 2 years ago

the presets currently are hardcoded in https://github.com/keepassxreboot/keepassxc/blob/aca197a96f87b9aca40cfb7243f5edecbacf07ef/src/gui/entry/EditEntryWidget.cpp#L1574 as it seems.

steel-steven-87 commented 2 years ago

This would be a welcome change. There are many systems that use different kinds of expiration rules. Using the calendar is not that convenient. It would be nice to be able to customize this even if it is not done in the GUI and in some XML configuration file.