https://bugs.kde.org/show_bug.cgi?id=395668

            Bug ID: 395668
           Summary: Documentation for KWallet format to store password
           Product: Falkon
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: extensions
          Assignee: now...@gmail.com
          Reporter: gagbob...@gmail.com
  Target Milestone: ---

Created attachment 113472
  --> https://bugs.kde.org/attachment.cgi?id=113472&action=edit
Xsl file to convert keepass2 export to kwallet import

Version : falkon.x86_64 3.0.1-2.fc29 (rawhide)

I am currently trying to :
- import all my Keepass 2 passwords into KWallet, and
- make Falkon read passwords from KWallet to auto-fill for all registered
sites, like Kee does for Keepass on Firefox.

I found an xslt file on Internet to actually convert the Keepass XML export
file to a KWallet XML import file, but I don't know which scheme I should use
to make the imported (URL, username, password) tuple in Kwallet so that Falkon
can use these out of the box.

Looking at the code, it looks like Falkon is only looking for a "Falkon" or a
"Qupzilla" folder in the default wallet (
https://github.com/KDE/falkon/blob/b8bb4dfa31bf2aea4a4d623593c72b49da4a7695/src/plugins/KDEFrameworksIntegration/kwalletpasswordbackend.cpp
).

I tried to store a password using the KWallet backend, and passwords are stored
as binary data in the Falkon folder, would it be possible to use Maps in some
way so I can just use a xslt conversion scheme to make the data importable in
KWallet and useable by Falkon ? As you can see in the attachment, I can pretty
much choose everything in the conversion, from the wallet name to the folders
name and the keys/values stored in map_entries. This is a slightly modified
version of a script found while googling (
http://developers-club.com/posts/190880/ ).

If there's a way to directly convert the xml data so that KWallet imports
passwords as "binary data" I'd be glad to learn it. I am unable to find
documentation for the moment.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to