Giter Site home page Giter Site logo

alfred-pass's Introduction

Alfred Client for the Pass-CLI

Download count last release

showcase

Features

  • Copy password or any other property of an entry.
  • Create a new entry.
  • Inherits settings from your .zshenv.
  • Option to trigger pass git push automatically after any change.
  • As opposed to regular usage of pass, the copied password is treated as transient, meaning it does not appear in Alfred's clipboard history.

Requirements & Installation

  1. ➡️ Download the latest release

  2. Install the requirements

    brew install pass pinentry-mac
  3. Setup pass with a GPG key. See the Pass Website for further information.

  4. Setup pinentry-mac as your pinentry-program:

    [[ -d "$HOME/.gnupg" ]] || mkdir "$HOME/.gnupg"
    echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" > $HOME/.gnupg/gpg-agent.conf
    gpgconf --kill gpg-agent # restart the agent

Configuration

This workflow is reads all your PASSWORD_STORE_* environment variables that have been added to your ~/.zshenv. This means that most configuration is done by exporting respective variables in ~/.zshenv, this workflow therefore has only few configuration options that concern Alfred in particular.

For information about the available environment variables, see the pass man page.

Note

If you are using a custom password-store directory, you must export your PASSWORD_STORE_DIR in your ~/.zshenv for this workflow to work.

Usage

  • Search your passwords via the keyword pw.
  • : Copy password to the clipboard.
  • : Edit entry in your Terminal, using the Terminal configured in your Alfred settings and your $EDITOR.
  • : Reveal .gpg file of the entry in Finder.
  • : Delete the entry.
  • : Show details of the entry. Select any one of them to copy the value to your clipboard.
  • Use pw new to create a new entry. You are then prompted for a folder to place the new entry in. The password of the new entry is auto-generated based on your pass settings, or can be inserted from your clipboard.

Notes on security

  • All contents copied by this clipboard are marked as "transient," meaning most clipboard history apps will ignore them, including Alfred's clipboard history.
  • This workflow is just a convenient UI for pass. As such, no passwords are saved by the workflow in any way. The workflow is open source, so feel free to check yourself.

Credits

About Me
In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch.

Profiles

Buy Me a Coffee at ko-fi.com

alfred-pass's People

Contributors

chrisgrieser avatar mayeu avatar vitorgalvao avatar

Watchers

 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.