diff --git a/pass_import/managers/chrome.py b/pass_import/managers/chrome.py index dd68272..816a1ec 100644 --- a/pass_import/managers/chrome.py +++ b/pass_import/managers/chrome.py @@ -11,15 +11,16 @@ class ChromeCSV(CSV): """Importer for Chrome in CSV format.""" name = 'chrome' url = 'https://support.google.com/chrome' - hexport = ('See this guide: https://support.google.com/chrome/' - 'answer/95606#see') + hexport = ('In chrome://password-manager/settings under 2Export passwords' + 'Download File') himport = 'pass import chrome file.csv' only = True keys = { 'title': 'name', 'password': 'password', 'login': 'username', - 'url': 'url' + 'url': 'url', + 'comments': 'note', } diff --git a/tests/assets/db/chrome.csv b/tests/assets/db/chrome.csv index 0e4486e..9e2824c 100644 --- a/tests/assets/db/chrome.csv +++ b/tests/assets/db/chrome.csv @@ -1,4 +1,4 @@ -name,url,username,password +name,url,username,password,note "mastodon.social","https://mastodon.social/","ostqxi","DIVZf)Ye>3C8ZN,r" +"dpbx@klivak.xb","","dpbx","2cUqe}e9}>IVZf)Ye>3C8ZN,r",This is a garbage address "dpbx@mnyfymt.ws","https://mail.mnyfymt.ws","dpbx","rPCkmNkhIa>{izt3C3F823!Go" -"dpbx@fner.ws","","dpbx","mt}h'hSUCY;SU;;A!l[8y3O:8" +"dpbx@fner.ws","","dpbx","mt}h'hSUCY;SU;;A!l[8y3O:8","For financial purpose only!" "space title","https://nhysdo.wg","vkeelpbu","]stDKo{%pk" "empty entry","","","" "empty password","https://nhysdo.wg","vkeelpbu","" -"note","","","" +"note","","","This is a multiline note entry. Cube shank petroleum guacamole dart mower +acutely slashing upper cringing lunchbox tapioca wrongful unbeaten sift." diff --git a/tests/tests.yml b/tests/tests.yml index 2a039cb..7e26e22 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -60,7 +60,6 @@ ChromeCSV: path: chrome.csv without: - group - - comments ChromeCSVSQLite: path: chromesqlite.csv