GithubHelp home page GithubHelp logo

divingdeer / passff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from passff/passff

0.0 2.0 0.0 353 KB

zx2c4 pass manager addon for firefox

License: GNU General Public License v2.0

Makefile 0.15% JavaScript 98.23% CSS 1.62%

passff's Introduction

passff

Join the chat at https://gitter.im/jvenant/passff

zx2c4 pass manager addon for Firefox

Overview

This plugin will allow you to access your zx2c4 pass repository directly from Firefox.

It will try to auto fill and auto submit the login form if a matching password entry is found.

Installation

  • You need zx2c4 pass installed on your computer
  • You will also need a working password repository
  • Download the last release of the plugin here.
  • You can then manually install the plugin in Firefox from the addons page (Firefox/Add-ons/Install Add-on from File...)

Alternatively, to use the git version:

  • Clone this repository
  • From the $LOCAL_CLONE/src/ directory, execute make
  • Manually install the resulting plugin from the $LOCAL_CLONE/bin/ directory

Usage

A black icon with a P should appear in your Firefox toolbar. From here, you will be able to browse your password repository or search using a case sensitive Fuzzy matching algorithm. The shortcut to open the menu is: Ctrl-y So considering this repository

  • Internet
  • MySite1
  • MySite2
  • CoolStuf
  • SuperSite1
  • SuperSite2

<Ctrl-y>M1<Enter> will send and authenticate you on MySite1 (<Shift-Enter> to open in a new tab)

Current supported features are:

  • Fill and submit
  • Goto, fill and submit
  • Copy login to clipboard
  • Copy password to clipboard

Additionally, if you added the url property in your password info, you will be able to go there by clicking directly on the password menu. (left-click same tab, middle-click new tab)

An accepted format for the password info is:

<the_password>
login: <the_login>
url: <the_url>

Additional password, username, and url tags may be defined through the preferences dialog.

PassFF will also try to find login password and url inside the direct child of a pass node. For example, if you have a structure like this:

  • www
    • supersite.com
      • login
      • user
    • mysite.com

PassFF will

  • get the login from the "login" entry for supersite.com
  • get the login form the "login" field inside the mysite.com entry for mysite.com (see format above)

Fields names can be set in the preferences.

From the plugin preferences you will be able to set:

  • Inputs (A comma separated list of input names. Input field names in a html page containing one of those values will be filled with the corresponding value.)
    • Passwords input names.
    • Login input names.
  • Fields (A comma separated list of field names. The first matching field in the password data or in the store tree will be used as the corresponding value.)
    • Login field names.
    • Password field names.
    • Url field names.
  • Pass Scrit params
    • The pass script path.
    • Pass home. If empty, use User home.
    • Location of the gpg agent info file containing environment variables (relative to the home).

See the logs

To enable debug mode, just go in the addon preferences and check the "Enable logs" check box at the bottom of the dialog box. You then have to open the Browser console (Tools/Web Developper/Browser console) You should see many lines about passff. You could Filter on "[PassFF]" if you want

Issues

If you're experiencing problems running passff on OS X, try using the "through shell" approach in the preferences (under "Pass Script").

NOTE: This method may also be applicable if GPG fails to provide a pin entry dialog, or if you experience otherwise unexplained issues with incorrect login and/or password data.

Configure the script's execution parameters appropriately:

  • Set "User home" to the absolute path to your home directory
  • Set "Pass command" to the path to the pass binary (if installed with homebrew, the default location is /usr/local/bin/pass)
  • Set "Pass shell" to your preferred shell (e.g. /bin/bash)
  • Set "Shell arguments" to --login

With those settings in place, the plugin should be able to find your passwords.

If you're still having trouble, it may be due to a bug present in version 1.6.5 and earlier of pass. From your shell, check the output of pass list. If the passwords listed end with .gpg, then your version of pass contains the bug. The bug was fixed in this commit. You must update your version of pass or manually apply this patch to the pass script on your machine. Once pass list lists passwords with the .gpg stripped off, the plugin should work!

People contributing to the project

Development and improvements

Russian translation : Grigorii Horos

Thanks

This plugin uses subprocess to launch the pass script.

This is a beta. For testing purposes only.

passff's People

Contributors

carlwgeorge avatar fishyfriend avatar gitter-badger avatar grigorii-horos avatar innir avatar jvenant avatar nwallace avatar phryneas avatar tophattom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.