Menu

#2780 Should be possible to disable colorized passwords using KPScript

KeePass_2.x
closed
nobody
None
5
2023-09-23
2023-01-12
No

I use KPScript.exe with options -c:Export ... -guikeyprompt -Format:"Customizable HTML File". Need to export kdbx file to readable html format frequently.

Now passwords always are colorized which was not before some releases of KeePass. I have disability with eyes and problems reading colorized passwords. Would be good if there is an option to disable colorized passwords without that I have to manually uncheck the checkbox in the guikeyprompt. A global setting, or a command line option would be nice.

Discussion

  • Paul

    Paul - 2023-01-13

    This was added in KeePass 2.51 and is on by default. It either needs to be off by default or have an option in KPscript.

    cheers, Paul

     
    • Jaques Pouilly

      Jaques Pouilly - 2023-07-25

      Hello, are there plans implement your proposed solutions? Problem is that with my eye disability it's hard read the colors.

       
  • T. Bug Reporter

    T. Bug Reporter - 2023-07-26

    You may already know this, but for the benefit of others who may come looking here in the future, there is an option for this in KeePass:

     

    Last edit: T. Bug Reporter 2023-07-26
    • Jaques Pouilly

      Jaques Pouilly - 2023-08-01

      Yes, thanks for the screenshot, this I knew already. But as written in my initial description, this is a step to do manually. Therefore I prefer command line option, because this can be scripted and cannot forget to uncheck checkbox.

       
  • T. Bug Reporter

    T. Bug Reporter - 2023-07-26

    Also, there is a feature in KPScript that apparently allows access to KeePass features that aren't available from a command line, but using it requires knowledge of the KeePass internals that I suspect very few people have - possibly only the KeePass author. (I wasn't aware that this facility existed until now, and I've never seen anyone discuss using it here before now.)

     
  • Dominik Reichl

    Dominik Reichl - 2023-09-18

    In the next KeePass version (2.55), the options in the HTML export dialog will be remembered (also when called by KPScript).

    Here's the latest development snapshot for testing:
    https://keepass.info/filepool/KeePass_230918_KPS.zip
    (includes a KPScript build).

    If you want that the password coloring option is always turned off by default (even if it was turned on previously), you could use an enforced configuration file [1] that turns off the option; see the attached 'KeePass.config.enforced.xml' file (copy it into the KeePass application directory).

    I'm not planning to add a command line option for this.

    Thanks and best regards,
    Dominik

    [1] https://keepass.info/help/kb/config_enf.html

     

    Last edit: Dominik Reichl 2023-09-18
    • Jaques Pouilly

      Jaques Pouilly - 2023-09-23

      Hello Dominik, thanks much for this. Solution with remembering the setting is perfect, that is absolutely sufficient for me. I appreciate your fix.
      Jaques.

       

Log in to post a comment.