* Skip FirefoxAccounts during Firefox CSV Import
Firefox exports 'chrome://FirefoxAccounts' if Firefox Accouts are used
in browser. It's quite hacky - password field in CSV is actually a JSON
encoded data, not a password.
Because it's not a useful record, it should be skipped during import.
* Fix indentation
* Move test Firefox test data to files, fix linter errors
* Change cipher type based on csv type header
* Test identity and credit card import
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
* WIP: mac and windows 1password importer split
Need to improve windows field identification to limit secret data
exposure and improve user experience
* Hide fields with likely secret values
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fix import of 1password csv
* 1password is using '\' as a quote escape character.
* 1password's csv headers are sometimes capitalized. We want to identify
them case insensitively
* Change cipher type based on csv type header
* Translate 1password data to correct fields
* Test identity and credit card import
* linter fixes
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fix import of expiration date from LastPass
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
* handle empty cc exp from lastpass, add test
* check for month/year null/whitespace
* check for empty expiration from lp import
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
* allow base importer to receive custom field type
* 1password importer uses hidden field type
for custom fields marked as 'concealed'
* 1password 1pif importer specs
* remove 'focus' from specs
* change field type logic into simple one liner