Menu

real working example for Security/MasterKeyExpiryRec?

Help
2018-05-05
2018-05-06
  • Michal Zobec

    Michal Zobec - 2018-05-05

    Hello,

    thank you for your KeePass Dominic.

    I foud as only possible solution for recommend to change of Master Key Password option Security/MasterKeyExpiryRec in KeePass.config.enforced.xml.

    I have fully customized KeePass 2 with KeePass.config.enforced.xml. But I cannot solve my problem with correct entry for MasterKeyExpiryRec described here https://keepass.info/help/base/keys.html

    I will try following variants for write of 6 months
    <MasterKeyExpiryRec><xs:element name="period" type="xs:duration"/><period>P6M</period></MasterKeyExpiryRec>
    <MasterKeyExpiryRec><period>P6M</period></MasterKeyExpiryRec>
    <MasterKeyExpiryRec>P6M</MasterKeyExpiryRec>

    but I still getting error message about wrong allxsd format of this entry. can you write correct example?

    thank you very much.
    Michal

     

    Last edit: Michal Zobec 2018-05-05
  • Dominik Reichl

    Dominik Reichl - 2018-05-05
     
    • Michal Zobec

      Michal Zobec - 2018-05-05

      Hello Dominic,

      thank you for your fast reply.

      I read this article before I wrote this my post. But now I read more carefully.

      So this is about date ... but this option not make sense for me. I expect use of period after last change of master key password. Some users have different date of date of change of password.

      I cannot use database template, because I cannot have will be under control if user will use DB template or create new DB directly in application.,.

       
  • Paul

    Paul - 2018-05-06

    The master key change date is in the KeePass data - see below. A plug-in could read that data and then set the change date in the config file.

    cheers, Paul

    <KeePassFile>
        <Meta>
            <MasterKeyChanged>2016-11-29T17:45:20Z</MasterKeyChanged>
    
     

Log in to post a comment.