I recently made an edit to an existing database that had Icons set for individual entries. After saving it, and opening the database on a different computer, I noticed that all my icons were reset to use the icon used by the parent folder. This is absolutely awful, I had to do a restore. I would very much like to use the CLI without having this problem.
Please enhance this report with this information:
1) The output of kpcli's "vers" command.
2) Were you operating on a v1 or v2 file (.kdb or .kdbx)?
3) What graphical application do you use?
4) Please provide a sample file and/or instructions on how to reproduce the problem.
Last edit: Lester Hightower 2015-11-01
kpcli 3
kdbx (2.x file version)
KeePass Pro 2.3
Repro steps
Expected outcome:
Existing entries remain unchanged, new entry is created
Actual outcome:
All entries have the icon changed to default. new entry is created.
Wes,
I confirmed the problem using keepass2 version 2.25 on Mint Linux with Mono, and dug into it a bit. The problem is not with kpcli, but with File::KeePass, the library that kpcli uses to read and write KeePass files. In the most recent version of File::KeePass (2.03 - http://search.cpan.org/~rhandom/File-KeePass-2.03/) I can see "custom icon support" marked as a TODO item in the
_gen_v2_db()function (generate v2 database). Paul has not made a release of File::KeePass in almost 3 years, so I'm not sure if he would be inclined to fix this or not. The bug reporting page is here: https://rt.cpan.org/Public/Dist/Display.html?Name=File-KeePassSincerely,
Lester Hightower