This is currently a work in progress, check back later ☺.
-
Install
chromepass
extension from the Chrome Web Store. -
Install and setup the password store.
# apt-get install pass
-
Set up native host messaging (this process will be automated with a bash script later).
a. Visit the extensions page.
b. Enable
Developer mode
.c. Click
Load unpacked extension...
and browse to the extensions folder.d. Create a manifest file to register the host application at
~/.config/chromium/NativeMessagingHosts/com.leoxiong.chromepass.json
with the following contents, whereextension id
is the Chrome extension ID.{ "name": "com.leoxiong.chromepass", "description": "hi", "path": "/home/leoxiong/workspace/chromepass/host/chromepass.sh", "type": "stdio", "allowed_origins": [ "chrome-extension://extension id/" ] }
e. Make sure
chromepass.py
has execute permissions.f. Restart Chrome. If the native messaging host has not been successfully registered, kill all instances of Chrome and start with debugging enabled
--enable-logging --v=1
.
Write this later.
- search and select which password to fill
- automatically match subdomains
- toggle option to automatically fill
- show errors from pass/gpg
- fill multi-page logins (like Google)
- detect login forms loaded after page load (eg. with ajax)
- offer to save passwords
- offer to generate passwords
- write script to install host app
- on the email page for Google's login, there is a hidden password input, presumably to still allow autofill to recognize it as a login form, chromepass currently fails because it has more than 1 input type text/email, need smarter form detection
If there are any bugs or feature requests, feel free to submit a pull request or contact me at hello@leoxiong.com.