Two-Channel Auto-Type Obfuscation

  • Eberhard

    Eberhard - 2009-03-22


    in the newest version of KeePass (2.07) there is the option "Two-Channel Auto-Type Obfuscation". How can I set this option for all entries in my database (which I have imported from version 1.x)? Is there any possibility to do this automatically? Or have I to do this by hand one by one?

    Best regards (and excuse my bad english)

  • Brian

    Brian - 2012-02-05

    This is a rather old post but I have the same question and this one was not answered.

    Is there anyway to set "Two-Channel Auto-Type Obfuscation"  globally for the entire database?  I have a lot of entries and would like to use this feature but I don't want to do it one by one.  If it is not a global option is there any reason not to make it one?

  • Dominik Reichl

    Dominik Reichl - 2012-02-05

    The reason why TCATO is disabled by default is mentioned in the TCATO documentation:
    Because it doesn't work with all windows, it's an opt-in feature for each entry.

    You can use the RDCAutoTypeAndTCATO plugin to enable TCATO based on target applications.

    Best regards

  • b9

    b9 - 2013-03-10


    "Because it doesn't work with all windows, it's an opt-in feature for each entry."
    I understand that, but it would be nice if advanced users can switch ON the TCATO witch one button/or config editing.

  • zzz

    zzz - 2015-04-28

    I would like to see this Option / switch too. :)

  • Marlen Brunner

    Marlen Brunner - 2015-08-23

    To enable "Two-Channel Auto-Type Obfuscation" for everything:
    1. In KeePass go to File > Export and then select KeePass XML.
    2. Open the XML file in a text editor.
    3. In your text editor go to Edit > Replace.
    4. Under find: <DataTransferObfuscation>0</DataTransferObfuscation>
    5. Under replace: <DataTransferObfuscation>1</DataTransferObfuscation>
    6. Click replace all. Save your file.
    7. Back in KeePass go to File > Import and then select KeePass XML and import your editied file.
    8. Under import behaviour select "Overwrite existing".
    9. Your database should now have all entries with TCATO enabled.

    I am pretty sure that you can do this same thing in KeePass itself through the Tools > Database Tools > XML Replace. I didn't want to try and risk wrecking my entire database. If someone does work this out please post it.

  • Marlen Brunner

    Marlen Brunner - 2015-08-23

    OK here goes. Use at your own risk.
    1. Open KeePass and go to Tools > Database Tools > XML Replace.
    2. In the select nodes (XPath) field: //DataTransferObfuscation
    3. Replace data: highlight inner text.
    4. Find what: 0
    5. Replace what: 1
    6. Press Ok.

    Pretty screenshot of what everything should look like.
    NOTE: This only changes all current entries to TCATO enable. It doesn't make it the default option or anything.
    Warning If you type this in wrong you could wreck EVERTHING FOREVER! :)

    Last edit: Marlen Brunner 2015-08-23
  • bTb3Gc7hFpxjs

    bTb3Gc7hFpxjs - 2015-09-03

    My way:
    - Export to XML.
    - Open export file with Notepad++.
    - Find & Replace.
    - Save.
    - Import to KeePass.
    - Secure delete export file.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks