KeePassDX icon indicating copy to clipboard operation
KeePassDX copied to clipboard

Desktop app compatible with templates?

Open strider72 opened this issue 2 years ago • 6 comments

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.)

strider72 avatar May 13 '22 18:05 strider72

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

J-Jamet avatar May 14 '22 08:05 J-Jamet

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 avatar May 15 '22 00:05 strider72

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?

strider72 avatar May 16 '22 17:05 strider72

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

J-Jamet avatar May 16 '22 17:05 J-Jamet

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 avatar May 16 '22 20:05 strider72

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

strider72 avatar May 20 '22 09:05 strider72