Native application to handle pass requests from the add-on.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Damien Cassou 7275e1030f
TMP
2 years ago
bin TMP 2 years ago
icons Add an icon 2 years ago
spec Add missing checkEntryPath 2 years ago
src Fix promise handling in decryptFile 2 years ago
.editorconfig Initial version 2 years ago
.eslintrc.js Get rid of a lint warning 2 years ago
.gitignore Add coverage/ to gitignore 2 years ago
.gitlab-ci.yml Remove generation of gitlab pages 2 years ago
CONTRIBUTING.org Add CONTRIBUTING.org file 2 years ago
Changelog.org Release v0.4.0 2 years ago
LICENSE Add license 2 years ago
Makefile Refactor Makefile 2 years ago
README.org Add code coverage through istanbul (fix #14) 2 years ago
index.js Add version number to responses (fix #12) 2 years ago
install.js Add missing chrome extension ids (fix #9) 2 years ago
package-lock.json Use new Istanbul (fix #17) 2 years ago
package.json Use new Istanbul (fix #17) 2 years ago
spawn-gpg.sh TMP 2 years ago

README.org

#+BEGIN_HTML

build status coverage report

#+END_HTML

This repository contains the native application for the passwe add-on. This native application is mandatory for the add-on to work.

Install

To use passwe in your browser, you have to install both the browser add-on (either through Firefox add-on manager or by cloning its repository) and the native application hosted here (continue reading).

This application needs a password store (i.e., a $HOME/.password-store/~ directory with ~*.gpg files in it) as defined by passwordstore.org but the pass shell script is not needed.

This repository has some dependencies which need to be installed and your web browser should be informed about the native application. Both can be done as follows:


$ make install
[...]
Enter which browser you would like to set up the host for:
[firefox chrome chromium vivaldi]
firefox
Created: /home/cassou/Documents/projects/firefox/passwe-app/config/firefox
Created: /home/cassou/Documents/projects/firefox/passwe-app/config/firefox/fr.petton.passwe.sh
Created: /home/cassou/.mozilla/native-messaging-hosts/fr.petton.passwe.json

Troubleshooting

  • If you use Firefox and the add-on lists your password-store entries
  • but can't manage to fill forms, make sure that gpg-agent has your passphrase in its cache. This is because Firefox won't let gpg-agent ask for the passphrase. This is a known bug and browserpass has the same problem. I'm working on fixing it with the help of both the Mozilla's dev-addons mailing list and gnupg-users mailing list. To add your passphrase to gpg-agent's cache, just decrypt any file with gnupg (or the pass shell script if you have it).
  • The add-on depends on the gpg2 binary. Please add it to your path.

Contributing

  • If you have a problem with the add-on, I recommend opening the
  • browser console (menu Tools > Web Developer > Browser console), clearing it (use the trash icon on the top left), and trying again.

Yes, please do! See CONTRIBUTING.org for guidelines.

Licence

Passwe is licensed under the MIT License.