Menu

Export with resolved references

Help
lspcity
2015-11-01
2015-11-02
  • lspcity

    lspcity - 2015-11-01

    I want to export my KeePass2 database to XML but it always contains references which I cannot refer to entries in the XML.

    Is it possible to export the database to XML with resolved references?
    If this is not an option, every entry in XML has an UUID which look like base64 encoded.
    But decoding it does not give me something comparable to the references used in the entries.

    A sample XML entry looks like:

    <String>
        <Key>UserName</Key>
        <Value>{REF:U@I:F4478BE68A45A14B9D58C9057E6CF653}</Value>
    </String>
    
     
  • Paul

    Paul - 2015-11-01

    The exported UUID seems to be encoded (not base 64) and the references are not encoded. Don't know why.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2015-11-01

    Currently it is not possible to resolve field references during export. We have a feature request for it; you can vote here:
    https://sourceforge.net/p/keepass/feature-requests/1163/

    If you want to perform replacements in the XML manually, the following tool for converting Hex to Base64 might be useful:
    http://tomeko.net/online_tools/hex_to_base64.php

    Best regards,
    Dominik

     
  • lspcity

    lspcity - 2015-11-02

    Thx for the encoding information.
    I wrote a converter in python to solve references of an XML export of a KeePass2 database.
    Can be found here: https://github.com/lukas-schulze/keepass2xml-solve-references

     

Log in to post a comment.

MongoDB Logo MongoDB