NOTE: As of version 7.8.8, 1Password can export 2FA secrets in CSV files in a format suitable for iCloud Keychain. This renders this project obsolete.
1pif-to-csv
is a tool to convert passwords exported from 1Password into a format suitable for macOS Monterey's
built-in password manager. Although 1Password can export CSV files directly, they do not contain the 2FA secrets.
With Homebrew (recommended):
brew install ingmarstein/repo/1pif-to-csv
With Go 1.17 and later:
go install github.com/ingmarstein/1pif-to-csv@latest
If you are using Go 1.16 or earlier, use this command instead:
go get github.com/ingmarstein/1pif-to-csv
1pif-to-csv -input export.1pif/data.1pif -output password.csv