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 and Export to csv/json file #660

Open
rahaaatul opened this issue Aug 9, 2023 · 13 comments
Open

Import from and Export to csv/json file #660

rahaaatul opened this issue Aug 9, 2023 · 13 comments

Comments

@rahaaatul
Copy link

rahaaatul commented Aug 9, 2023

Description

I can't restore my existing passwords from Bitwarden with one click.

Solution

I'd like an option to restore passwords from other major password storing apps like Bitwarden and also export to the same format, so we could restore it to the other password managers.

You could do it by doing:

  • Import from .CSV/.JSON file.
  • Export to .CSV/.JSON file

Example:
CSV format:

folder,favorite,type,name,notes,fields,login_uri,login_username,login_password,login_totp

JSON format:

{
  "encrypted": false,
  "folders": [
    {
      "id": "c611ce38-a4ac-4d0c-a156-adab005a4ebf",
      "name": "Online Storage"
    },
    {
      "id": "8e281c4b-8e73-485a-8751-ad350098c30c",
      "name": "Social"
    }
  ],
  "items": [
    {
      "id": "4030542b-a4db-40d5-bc06-ae690081fa8e",
      "organizationId": null,
      "folderId": null,
      "type": 1,
      "name": "Example",
      "notes": null,
      "favorite": false,
      "login": {
        "uris": [
          {
            "match": null,
            "uri": "https://example.com/"
          },
          {
            "match": null,
            "uri": "androidapp://com.example.app"
          }
        ],
        "username": "[email protected]",
        "password": "a-long-boring-password!",
        "totp": null
      },
      "collectionIds": null
    }
  ]
}
@rahaaatul rahaaatul changed the title Import/Export password from csv/json file Import from and Export to password csv/json file Aug 9, 2023
@rahaaatul rahaaatul changed the title Import from and Export to password csv/json file Import from and Export to csv/json file Aug 9, 2023
@yogeshpaliyal
Copy link
Owner

Can you please send a sample csv too

@rahaaatul
Copy link
Author

Can you please send a sample csv too

Sorry, did not check the inbox in days!
Sure here is the csv and JSON format with a screenshot of Bitwarden:

Screenshot

Screenshot_2023_0815_015035

CSV Format

,,login,Example,note-example,"custom-field-text: custom-text
custom-field-hidden: custom-field
custome-field-boolean: true
custom-field-linked: ","uri-example,uri-example-2",username,password,totp-example

JSON Format

    {
      "id": "6b87d50b-3ca9-44bc-bbd4-b05e0146937e",
      "organizationId": null,
      "folderId": null,
      "type": 1,
      "name": "Example",
      "notes": "note-example",
      "favorite": false,
      "fields": [
        {
          "name": "custom-field-text",
          "value": "custom-text",
          "type": 0
        },
        {
          "name": "custom-field-hidden",
          "value": "custom-field",
          "type": 1
        },
        {
          "name": "custome-field-boolean",
          "value": "true",
          "type": 2
        },
        {
          "name": "custom-field-linked",
          "value": null,
          "type": 3
        }
      ],
      "login": {
        "uris": [
          {
            "match": null,
            "uri": "uri-example"
          },
          {
            "match": null,
            "uri": "uri-example-2"
          }
        ],
        "username": "username",
        "password": "password",
        "totp": "totp-example"
      },
      "collectionIds": null
    },

I hope these helps. Again, sorry for the late reply @yogeshpaliyal .

@divyampahujaa
Copy link
Contributor

Hi @yogeshpaliyal, I would like to work on this issue. Can you please assign it to me?

@yogeshpaliyal
Copy link
Owner

Sure

@yogeshpaliyal
Copy link
Owner

@divyampahujaa Are you working on this?

@divyampahujaa
Copy link
Contributor

divyampahujaa commented Oct 28, 2023

@yogeshpaliyal Busy with university exams for the next couple of weeks. I will work on it afterwards :)

@yogeshpaliyal
Copy link
Owner

Cool, all the best for the exams.

@rahaaatul
Copy link
Author

@yogeshpaliyal Busy with university exams for the next couple of weeks. I will work on it afterwards :)

Are you working on this?

@yogeshpaliyal
Copy link
Owner

No, I am not working

@HimanshuC22
Copy link

Hi @yogeshpaliyal , can I work on this issue?

@yogeshpaliyal
Copy link
Owner

@HimanshuC22 sure, then I'll assign this to you.
Cc @rahaaatul

@deanaba
Copy link

deanaba commented Apr 6, 2024

I was confronted with this dilemma today when I looked for a compatible app to work on my Mac/Linux/Windows boxes. The ability to import/export to a Keepass compatible format from/to Keypass seems like it would expand KeyPass's adoption. At the very least, a CSV File. I've attached a couple of example exports (csv and xml) from KeepassXC.
examples.zip

@yogeshpaliyal
Copy link
Owner

yogeshpaliyal commented Apr 7, 2024

@deanaba Support for KeePassXC csv has been added in #828
Thanks for sharing this CSV

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

5 participants