Export logins from 1password to csv
Go to file
2019-10-24 12:16:43 +03:00
.gitignore Add gitignore 2019-10-24 10:13:15 +03:00
1export.py Pass file and password with args 2019-10-24 12:07:22 +03:00
LICENSE Initial commit 2019-10-22 14:41:43 +03:00
README.md Add readme 2019-10-24 12:16:43 +03:00

Export 1password logins to csv

1password havn't tool to export data at Linux. But is has command line client, which you can use to fetch all data.

Requirements:

  • 1password command line client (op)
  • Python 3
  • tar, gpg (for encryption) binaries

First login with op client. It exports session key to environment variables.

$ eval $(op signin my)

Next run script

$ python 1passord.py <file-name>

If you want encrypt exported data, pass --password argument

$ python 1passord.py --password <password> <file-name>