#1630 Show all expired entries: Ignore backup group(s)

Georg D

The feature "Show all expired entries" (respectively Options > Advanced > "show expired entries" and "show entries that will expire soon") is very useful, except it finds "too much" i.e. also recycle bin or other groups used for "inactive" entries with expiration date in the past (version 2.16)

Use case: I have certain groups containing entries, that I _shall_ not require any more, but want to keep as it sometimes happens someone comes and asks "2 years ago, you did care about system x, now I forgot the password and require to access something in the backup - do you still have the password?". These entries have expiration dates in the past and they must not be updated as exactly that information may be the required one.

Current Workaround: Edit all entries (!), clear password and set expiration to false. To access password / see expiration date, use history tab of entry. Main drawback: Lots of work.

1) "Show all expired entries" always ignores any entries in recycle bin, also those I moved manually to recycle bin. I' not sure but think this worked in some old version.
2) Not very important if 1) is working: In "Edit group" dialog in tab "behavior", add option "Ignoring expiration date of entries" in the same manner as auto-type/searching.

Thanks for listening :)


  • fritzophrenic

    fritzophrenic - 2015-09-01

    This issue still seems to be a problem. I feel that I should not be notified about an expired password, after I have deleted the entry (moving it to the Recycle bin).

  • Dominik Reichl

    Dominik Reichl - 2017-05-27
    • status: open --> closed
    • Group: --> KeePass
  • Dominik Reichl

    Dominik Reichl - 2017-05-27

    I've added this now; entries in groups where searching is disabled (e.g. the recycle bin group) are now ignored by the commands that show expired entries.

    Here's the latest development snapshot for testing:

    Thanks and best regards,

  • T. Bug Reporter

    T. Bug Reporter - 2017-05-28

    A fatal error has occurred!
    An extended error report has been copied to the clipboard.
    External component has thrown an exception.

    External component has thrown an exception.
       at System.IO.UnmanagedMemoryStream.ReadByte()
       at System.IO.BinaryReader.ReadByte()
       at System.IO.BinaryReader.Read7BitEncodedInt()
       at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
       at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
       at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
       at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
       at KeePass.Properties.Resources.get_QuadNormal()
       at KeePass.App.AppIcons.Get(AppIconType t, Size sz, Color clr)
       at KeePass.Forms.MainForm.CreateColorizedIcon(AppIconType t, Boolean bSmall)
       at KeePass.Forms.MainForm.UpdateUIState(Boolean bSetModified, Control cOptFocus)
       at KeePass.Forms.MainForm.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at KeePass.Program.Main(String[] args)
    Int32 ReadByte()

    (I don't always get this with this version; for most of my tries, it just crashes without any message after an unreasonably long time trying to start up.)

  • Dominik Reichl

    Dominik Reichl - 2017-05-28

    I cannot reproduce this. If you're using any plugins, please try it without them. If you find a way how to reproduce the problem, please post detailed steps.

    The exception most likely is caused by a memory corruption. My suggestion would be to download KeePass again, and update Windows and .NET.

    Best regards,

  • T. Bug Reporter

    T. Bug Reporter - 2017-05-29

    Sorry for that - now after restarting my computer, I can't duplicate it, either.

  • Dominik Reichl

    Dominik Reichl - 2017-05-30

    Phew, glad to hear that :-)


Log in to post a comment.