Menu

#21 Saving reverts icons

v1.0 (example)
closed-wont-fix
None
2
2015-11-15
2015-10-31
Wes
No

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.

Discussion

  • Lester Hightower

    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
  • Lester Hightower

    • status: open --> pending-remind
    • assigned_to: Lester Hightower
     
  • Wes

    Wes - 2015-11-15

    kpcli 3
    kdbx (2.x file version)
    KeePass Pro 2.3

    Repro steps

    1. Create a new database (using Keepass Pro 2.3)
    2. Set existing entry with a new icon (not from the default set, an image on your harddrive)
    3. Save
    4. Open database in KPCLI
    5. Create a new entry
    6. Save

    Expected outcome:
    Existing entries remain unchanged, new entry is created

    Actual outcome:
    All entries have the icon changed to default. new entry is created.

     
  • Lester Hightower

    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-KeePass

    Sincerely,

    Lester Hightower

     
  • Lester Hightower

    • status: pending-remind --> closed-wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB