1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-31 15:43:28 +00:00

Skip FirefoxAccounts during Firefox CSV Import (#323)

* 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
This commit is contained in:
Tomasz Zdybał
2021-04-12 19:08:56 +02:00
committed by GitHub
parent 62cc43fb46
commit 827674847f
4 changed files with 82 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
export const data = `"url","username","password","httpRealm","formActionOrigin","guid","timeCreated","timeLastUsed","timePasswordChanged"
"https://example.com","foo","bar",,"","{d61e37fa-2bc4-469a-bd66-41fd3b0005e0}","1612345678900","1612345678900","1612345678900"`;