Git Product home page Git Product logo

rofi-pass's Introduction

rofi-pass

bash script to handle pass storages in a convenient way

rofi-pass

Features:

  • Open URLs of entries with hotkey
  • Add new Entries to Password Storage
  • Edit existing Entries
  • Generate new passwords for entries
  • Inline view, which can copy/type individual entries
  • Move/Delete existing entries
  • Support for multiple roots for password-store (e.g. separate work from private passwords)
  • Type any field from entry
  • Auto Type User and Password. Format of password files are expected to be like:
  • Bookmarks mode (default: Alt+x)
foobarmysecurepassword
user: MyUser
url: http://my.url.foo
  • Auto Typing of more than one field. This expects a autotype field in password file.
foobarmysecurepassword
---
user: MyUser
SomeField: foobar
AnotherField: barfoo
url: http://my.url.foo
autotype: SomeField :tab UserName :tab AnotherField :tab pass

The :tab field has a special meaning. this will hit the tab key, obviously.
Same for :space, which will hit the space key, can be used to activate checkboxes. In addition to those :enter and :delay are available.

  • All Hotkeys are configurable in config file
  • user, url and autotype field names are also configurable

Requirements

BSD

  • gnugrep
  • gawk

Configuration

rofi-pass may read its configuration values from /etc/rofi-pass and/or $HOME/.config/rofi-pass/config. For an example configuration please take a look at the included config.example file.

Extras

rofi-pass comes with a tiny helper script, which makes it easier to create new pass entries. Just run it with

addpass --name "My new Site" +user "zeltak" +branch "branch" +custom "foobar" +autotype "branch :tab user :tab pass"
  • First argument --name is mandatory. This will be the filename of the new password entry.

  • Second argument can be --root followed by absolute path to your password-store. addpass also uses root config setting from rofi-pass config file. If both are not found, PASSWORD_STORE_DIR variable is checked. If none of the above are found, the default location $HOME/.password-store is used.

  • Fieldnames are defined with + and the actual value is defined inside the quotations. You can add as many fields as you like

Also included is an import script for keepass2 databases. It's the same script that can be downloaded from the pass homepage, with some minor modifications to match rofi-pass structure.

Alternative

jreinert has written the roughly compatible tool autopass. It has less features, but definately saner code. Also he provided a nice little script called passed to change your fieldnames. link

rofi-pass's People

Contributors

carnager avatar azmodude avatar narrat avatar maffmeier avatar qbit avatar x4121 avatar bascht avatar gubiq avatar rychipman avatar emptyaitch avatar

Watchers

Daniel Krebs 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.