XMLWordPrintable

    Details

      Description

      Current Situation

      When having a KeePass file that is created with an environment where KeePass plugins are installed it may happen that this file can not be used as a credential store in YADE.

      The message is

      SOSDExJSAdapterClass ended with error: com.sos.JSHelper.Exceptions.JobSchedulerException: [D:\documents\sos-berlin.com\scheduler_joc_cockpit\cutos.kdbx]org.simpleframework.xml.core.ElementException: Element 'Item' does not have a match in class org.linguafranca.pwdb.kdbx.simple.model.KeePassFile$CustomData at line 34 
      2019-07-30 15:09:34.018+0200 [info]   [stdout] com.sos.JSHelper.Exceptions.JobSchedulerException: [D:\documents\sos-berlin.com\scheduler_joc_cockpit\cutos.kdbx]org.simpleframework.xml.core.ElementException: Element 'Item' does not have a match in class org.linguafranca.pwdb.kdbx.simple.model.KeePassFile$CustomData at line 34 
      2019-07-30 15:09:34.018+0200 [info]   [stdout] 	at com.sos.VirtualFileSystem.Options.SOSConnection2OptionsAlternate.checkCredentialStoreOptions(SOSConnection2OptionsAlternate.java:225) 
      2019-07-30 15:09:34.018+0200 [info]   [stdout] 	at com.sos.VirtualFileSystem.Options.SOSFTPOptions.checkCredentialStore(SOSFTPOptions.java:376) 
      }
      

      The reason is that there is date store in the CustomData tag

      <CustomData>
      			<Item>
      				<Key>KeeAgent.Settings</Key>
      				<Value>&lt;?xml version="1.0" encoding="utf-16"?&gt;
      &lt;DatabaseSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
        &lt;AllowAutoLoadExpiredEntryKey&gt;false&lt;/AllowAutoLoadExpiredEntryKey&gt;
      &lt;/DatabaseSettings&gt;</Value>
      			</Item>
      		</CustomData>
      

      To check this you can export your file to "KeePass XML 2x" format.

      Desired Behavior

      Files that have data in the CustomData tag should be usable as a credential store in YADE.

      How to reproduce

      You can use the attached file as credential store in YADE. The password is 12345

        Attachments

          Activity

            People

            • Assignee:
              re Robert Ehrlich
              Reporter:
              ur Uwe Risse
              Approver:
              Anuj Mandloi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: