Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.69k stars 276 forks source link

Desktop app compatible with templates? #1329

Open strider72 opened 2 years ago

strider72 commented 2 years ago

More a request for info than coding....

I love the Templates feature in this app. Are there any desktop apps you know of that are compatible with the templates? When I look in other apps, it seems a lot of stuff get stashed in an ugly hard-to-use "other" area. I would love to use templates and have that customization recognized on the desktop end of things.

(I'm on MacOS, but I'm sure other platforms would be useful to others reading this.)

J-Jamet commented 2 years ago

Currently, the templates use the format of the KeePass KP Entry Templates plugin, this is also the one historically used in KeePass2Android, so I wanted to keep compatibility.

But honestly it's a bad format, as you say, we see the data formatting in a way that is very difficult to read in other KeePass applications.

I plan to make the pseudo language used the native format, so it's much easier to read and implement for other applications but of course the format has to be adopted to propose an entry generation from a template. I should be discussed to implement regular expressions and make the template language more scalable.

https://github.com/Kunzisoft/KeePassDX/wiki/Templates

Linked to : https://github.com/keepassxreboot/keepassxc/issues/863

strider72 commented 2 years ago

Ultimately my goal is to get my data out of 1Password into a cross-platform FOSS solution. If there were a good templating system I would create a set of 1Password-compatible templates and share them

strider72 commented 2 years ago

Macpass says it's template-compatible, but it's either poorly done, or simply a different standard. Disappointed.

Wait... rereading your response, there are two standards? A native one and a different one from a popular plugin?

J-Jamet commented 2 years ago

There is no native standard that I know of, just a historical implementation that inherits the plugin. I don't know the Macpass one.

strider72 commented 2 years ago

Ah, I see. You want to write your version to create data in the native format. That makes sense. I read it weird.

So... basically, your app would be able to use your templates. Other apps would be able to properly read those entries, but not necessarily use your templates? I really like that approach. That's how you end up creating a standard! :-)

strider72 commented 2 years ago

Really the simplest answer seems the best.

There's a templates folder. Whatever entries are in it are templates. If i create a new entry based on a template it simply duplicates the entry. With this system you'd have templates that any Keepass app can use.

In MacOS this is called a "stationery pad". You can do it with pretty much any file in the OS. It's a solid, intuitive mechanism