Skip to content

Bitwarden JSON import does not import SSH keys #12778

@Amunak

Description

@Amunak

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

Importing a Bitwarden JSON file does not import SSH key "contents" (i.e. the private and public keys), it only imports an empty entry.

Steps to Reproduce

  1. Create an SSH key entry in Bitwarden.
  2. Export the vault as JSON. The file will contain the entry and SSH key data under the JSON key sshKey: {privateKey, publicKey}.
  3. Import the vault in KeePassXC.
  4. Observe that while the entry imported, its contents are all empty (except the name).

Expected Versus Actual Behavior

The SSH key should be imported, or at the very least the user should be warned that it could not have been imported. Potentially for more robustness the user could be warned about any entry that imported without a password, to catch potential similar issues in the future.

The import implementation shouldn't be difficult, as the key is already in PEM format, although I'm not sure if that is always the case.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions