fireout / keepasssequencer

Word sequencer for KeePass
65 stars 12 forks source link

[defaultConfigPath] Can't work out how to make PORTABLE #60

Open dbareis opened 4 years ago

dbareis commented 4 years ago

I've tried many variations, this is the path I want from the "[DATA]\plugin\KeePass-Word-Sequencer" directory that keepass.exe is in.

  <appSettings>
    <add key="defaultConfigPath" value=".\[DATA]\plugin\KeePass-Word-Sequencer\options.xml" />
    <add key="version-file-url" value="https://raw.githubusercontent.com/fireout/keepasssequencer/master/release/keepass-sequencer-version-file.txt"/>
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
dbareis commented 4 years ago

Also, there is no situation where "local" is the correct place for this data, it should be under "roaming"

dbareis commented 4 years ago

You imply that this plugin supports portable installations:

@https://github.com/fireout/keepasssequencer/wiki/1.-Installation for example, if you use a portable KeePass installation from a USB drive

I don't believe that to be the case. I have managed to at least change the data to go to "roaming" instead:

    <!-- CAN'T WORK OUT HOW TO MAKE PORTABLE -->
    <add key="defaultConfigPath" value="Options.xml" />
        <add key="userConfigPath"    value="../Roaming/KeePass.DB$/plugin/KeePass-Word-Sequencer/options.xml" />

RELATED: https://sourceforge.net/p/keepass/bugs/1982/

dbareis commented 4 years ago

According to my Keepass bug report linked to above, its a bug in this plugin: "The plug-in should use the KeePass config file, then location is not an issue"