You are here 705137

keexc doesn't you were using a key file, nor the directory j2i3r

7 posts / 0 new
Last post
MaximilianKohler
Offline
Last seen: 4 months 5 days ago
ed: 2015-12-26 06:04
keexc doesn't you were using a key file, nor the directory

As long as you're not moving the folder it re it correctly. But once you move the portableapps folder to another location, keexc only re the database.

KeePro re everything and doesn't have this problem.

I'm not sure whether this is an issue with the portableapps.sitesunblocked.org config files or if the XC devs need to improve something.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 2 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
Doesn't Seem To

Even when I use KeeXC directly in portable mode without any of our stuff added, it doesn't seem to the keyfile for a database. Yours re it if you don't move?

Sometimes, the impossible can become possible, if you're awesome!

MaximilianKohler
Offline
Last seen: 4 months 5 days ago
ed: 2015-12-26 06:04
No, the default KeeXC is

No, the default KeeXC is even worse and doesn't even the relative database location. But PA.com generally adds this sort of functionality, that's why I made this thread.

I saw someone on this forum mention a line they add to one of their PA configs, but it's not ideal.

I brought it up with the KeeXC devs here, and included screenshots & comparisons to Kee Pro: https://github.com/keexreboot/keexc/issues/11462#issuecomment-25...

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 2 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
Re

I figured out some of it. If you create a new database with keyfile and close it, KeeXC doesn't it. Once you then open it, it will be stored as recent files and both the database and keyfile when used in a single location.

When you move PCs, both the ed keyfile and database paths change, so KeeXC itself won't either. KeeXC Portable's launcher will portablize the last opened database path as that is stored as plaintext in the keexc_local.ini file. The LastKeyFiles entry seems to be stored as a QByteArray which isn't adjusted as you move paths.

Sometimes, the impossible can become possible, if you're awesome!

MaximilianKohler
Offline
Last seen: 4 months 5 days ago
ed: 2015-12-26 06:04
Would it be possible to add

Would it be possible to add that functionality? This is the tweak I mentioned that I saw someone else say they use (I just realized they did it for Pro not XC):

PortableApps command line arguments: https://portableapps.sitesunblocked.org/node/19115
In my something\PortableApps\KeeProPortable\App\AppInfo\Launcher\KeeProPortable.ini I have following:
CommandLineArguments='C:\Path\to\s.kdbx -keyfile:C:\Path\to\keyfile.key'
I put it in as the last line in the [Launch] section.
It has to be added again after every update.

I'm not sure if it would work without the "C:" part so that you don't have to change it every time you move the folder.

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 2 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
Better Option

You can use a better option for setting it. Go to KeeXortable\Other\Source and copy the file AppNamePortable.ini to the KeeXortable directory. Rename it to KeeXortable.ini. Add your additional parameters to the AdditionalParameters= line in there. That file is for s and is preserved as you newer versions. The one within the AppInfo\Launcher directory is part of the app and will be overwritten on each upgrade.

The -keyfile option might a relative path. Experiment a bit to try it out. That's part of KeeXC and not us. that you'll be relative from KeeXortable\App\KeeXC\KeeXC.exe.

Sometimes, the impossible can become possible, if you're awesome!

MaximilianKohler
Offline
Last seen: 4 months 5 days ago
ed: 2015-12-26 06:04
looks like KeeXC doesn't relative paths

Thanks! It looks like KeeXC doesn't relative paths.

I put the keyfile in "\PortableApps\KeeXortable\App\KeeXC\test".

I have "KeeXortable.ini" in \PortableApps\KeeXortable\ with "AdditionalParameters='-keyfile:\test\key-name.keyx'"

But it still doesn't detect it.

to post comments