Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import from Enpass #762

Open
Tekl opened this issue Feb 3, 2024 · 5 comments
Open

Import from Enpass #762

Tekl opened this issue Feb 3, 2024 · 5 comments

Comments

@Tekl
Copy link

Tekl commented Feb 3, 2024

Hi,

thanks for adding Wifi sync. This could be the final reason for many people to switch from Enpass to a KeePass-based Password Manager. The current solutions with Python scripts like enpasstokeepass are not perfect. For example, creation dates or icons are omitted. A native and user-friendly way to migrate from Enpass JSON to Strongbox would be great.

@strongbox-mark
Copy link
Member

Hi @Tekl - Yes, that's not a bad idea. Do you know the format of this JSON file? Would you be able to attach a dummy sample or post a spec of the format?

I believe KeePass on Windows does support importing this? Do you have access there, or know if that's the case?

@Tekl
Copy link
Author

Tekl commented Feb 5, 2024

Hi @strongbox-mark, thanks for your reply and the interest. The Windows version only supports the CSV format from Enpass. But those files don't contain attachments or tags. I've attached an example export in both formats and a screenshot. The example "AudioBook Builder" entry contains a custom icon and an attachment. Icons are stored centralized in Enpass so you can use them in multiple entries. It seems that Favicons aren't part of the export. The field labels are localized, my export has mixed English and German entries.

enpass-test-export.csv
enpass-test-export.json
Screenshot 2024-02-05 at 13 11 52

@strongbox-mark
Copy link
Member

Wow, that's great work, thanks... One thing will be problematic. It looks like Enpass doesn't really do "Groups" or traditional folders, but it does tags. This is fine, we can handle this, but it also seems to have hierarchical tags (e.g. "irgendwas" above), which isn't supported in the KeePass format.

Probably not a major issue, I don't think hierarchical tags make much sense in general anyway, it's just going to have a flatter look on the side bar.

We'd probably create groups for the "Kategorien" as we do for 1Password import.

@Tekl
Copy link
Author

Tekl commented Feb 6, 2024

The script EnpassToKeepass also creates groups for the categories. Before preparing the export, I didn't know that Enpass supports nested tags. 😉 Importing them "flat" would be okay for most users, I think.

In the JSON file the category doen't show the sub-categories which are accessible when creating entries in Enpass. The item "template_type" shows what I've selected there. That could be used to create subfolders.

Here's an overview of the dialogs:
Screenshot 2024-02-06 at 13 58 54

@strongbox-mark
Copy link
Member

Hi @Tekl - This is now available in 1.59.5, would be interested to hear your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants