keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.46k stars 1.48k forks source link

enable bitwarden import by keepassxc-cli #10587

Open smehrens opened 7 months ago

smehrens commented 7 months ago

Summary

To create a backup from bitwarden in keepassxc

Examples

(tools from bitwarden) bw login --apikey jkdhslkjdhsdjkhdskjhdfkjlhdjklshd bw export --output bw_export.json --format json (tool from keepassxc) keepassxc-cli -k password_file import_bw bw_export.json bw_backup.kdbx (then use keeshare to import to a subgroup of the main peepassxc file)

Context

Several companies or organizations offers me a bitwarden account. I like to use keepassxc. With such export import i could use the shared passwords within my favorit password manager.

smile or add a gui tool to sync bitwarden to groups in keepassxc

Best regards

droidmonkey commented 7 months ago

2.7.7 introduced Bitwarden import from the GUI. We have not enabled it in the CLI tool. However, do not confuse an import with a sync. Importing is a one time action, it does not merge existing entries.

smehrens commented 7 months ago

It's a way to "emulate" syncing bitwarden to a subgroub of a kdbx database.

  1. cli export of bitwarden to file
  2. import bitwarden to new keepassxc database
  3. keeshare import keepassxc database in a subfolder of another database.

so its a one-way sync or a scriptable import job........