Giter VIP home page Giter VIP logo

pedcalc's Introduction

PEDCalc

Version Releasedate Downloads
License: GPL v3

Did you ever change a password in KeePass and forgot to adjust the expiry date?
Did you ever wonder how to accompany for this tedious 'x days' password change rule in your company?
PEDCalc will help you.

PEDCalc let's you define a lifetime (validity period) for passwords and will automatically update the expiry time if you change an entry's password.

Table of Contents

Configuration

There is no complex configuration, PEDCalc is designed to simply work.
PEDCalc is either active or not, use the Tools menu to activate/deactivate it.

Usage

PEDCalc integrates into the context menu as well as into the main menu.
You can use it for both groups and entries.
A setting defined on group level will be valid for all entries within this group and its subgroups.
Context menu integration

PEDCalc uses the above defined setting to automatically recalculate the expiry date whenver you change an entry's password.
The calculated new expiry is shown to you in the Edit entry form already before saving and you can manually change it to whatever date you want.
Password change

Example 1

You want to change passwords every 6 months but there are some bank accounts where you're forced to change the password every 30 days.
Only two PEDCalc settings are required for this:

  • Define 6 months lifetime for your database' rootgroup - this will make it effective for the entire db (including your bank accounts)
  • Define 30 days for the group containing your bank acccounts - this will overrule the general setting
  • Alternatively, you can also define the lifetime on entry level

Example 2

Let's assume today's date is jan 1st, 2018 and your database consists of entries A, B, C and D

Entry Lifetime Expiry date changed too? New expiry
A Off N/A No change
B 2 months No March 1st
C 100 days No April 11th
D 100 days Yes Whatever you set manually

Translations

PEDCalc is provided with English language built-in and allow usage of translation files. These translation files need to be placed in a folder called Translations inside in your plugin folder. If a text is missing in the translation file, it is backfilled with English text. You're welcome to add additional translation files by creating a pull request as described in the wiki.

Naming convention for translation files: <plugin name>.<language identifier>.language.xml
Example: PEDCalc.de.language.xml

The language identifier in the filename must match the language identifier inside the KeePass language that you can select using View -> Change language...
This identifier is shown there as well, if you have EarlyUpdateCheck installed

Download & updates

Download

Please follow these links to download the plugin file itself.

If you're interested in any of the available translations in addition, please download them from the Translations folder.

In addition to the manual way of downloading the plugin, you can use EarlyUpdateCheck to update both the plugin and its translations automatically.
See the one click plugin update wiki for more details.

Requirements

  • KeePass: 2.39
  • .NET framework: 3.5

pedcalc's People

Contributors

rookiestyle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

havokdan

pedcalc's Issues

Expiry time

Summary

I have some passwords that if you do not change the password before expiration, your account gets suspended / you need to have your password reset (not a simple self-reset).

So, for example, you set a password to expire in 90 days - the 90th day then being the (last) day to reset your password as the next day it will be expired and your account suspended. PEDCalc sets the time for the password to expire at 23:59:59 - which makes perfect sense and is exactly correct. However, this means when the password shows as expired in KeePass, it is too late.

It could maybe work to add an optional value next to the expiry days value. Like a checkbox that, if checked, a time of day can be specified (and if unchecked, default PEDCalc time). Obviously I've put minimal thought into the implementation, but just an example.

Added value

The value added would be for instances described above, where the expiration of the password equals the suspension of the account.

Example

This is just an example
Untitled

Conclusion

It's just a suggestion, so it really depends on how you feel. Either way, it doesn't matter.

On another note, I'm not going to post a whole bug report (unless it is one and you would like me to), but I notice the PEDCalc calculation under the expiry date field on the edit entry dialog only shows up when i focus (click) outside of KeePass and then focus back on KeePass.

PEDCalc & PasswordChangeAssistant

This is super minor, and you don't even need to bother. But I notice when you click the clock icon by the expiry time, there is a PEDCalc option available in the drop-down menu. PEDCalc automatically changes the date if you change the password - according to how you have it set up for the entry. Should you edit this date yourself, say unintentionally or whatever, then you can click the clock icon and choose the PEDCalc option from the drop-down menu to have PEDCalc do the calculation again. This option is available on the Edit Entry window but not in the PasswordChangeAssistant window. Which means, should you change the password manually in this instance, there is no way to revert to the PEDCalc calculation other than cancelling and opening the window again.

I'm merely just mentioning.

add hours as a unit of time in password lifetimes

Summary

When right-clicking on an entry and setting PEDCalc, I can set the password lifetime in days, weeks, months and years. but not hours. Decimals do not seem to work.

Added value

I have some passwords that in practice change daily but actually have a less-than-a-day lifetime, and when I go grab them a few hours have passed since the refresh. So for that use case it's useful to be able to set the expiration in hours instead of days.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.