GithubHelp home page GithubHelp logo

codekoala / pass-qr Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 4.0 18 KB

A pass extension that lets you quickly generate a QR code for passwords using fzf or rofi

Home Page: https://www.passwordstore.org

License: GNU General Public License v3.0

Makefile 17.01% Shell 82.99%
pass password password-manager pass-extension password-store qr qrcode

pass-qr's Introduction

pass qr

A pass extension that quickly generates a QR code for passwords using fzf or rofi.

Description

pass qr extends the pass utility with a short command to generate and display a QR code for an existing password. This is useful when, for example, you don't have your password store on your cell phone but want to quickly use a password.

Usage

Usage:
    pass qr [options] [output]
        Provide an interactive solution to generate QR codes for existing
        passwords. It will show all pass-names in either fzf or rofi, waits for
        the user to select one, then displays a QR code for the password. If an
        output path is specified, the QR code will be saved as a PNG to the
        specified location.

        The user can select fzf or rofi by giving either --fzf or --rofi.
        By default, rofi will be selected and pass-qr will fallback to
        fzf.

    Options:
        -f, --fzf        Use fzf to select pass-name.
        -r, --rofi       Use rofi to select pass-name.

Installation

Requirements

  • pass 1.7.0 or greater.
  • If you do not want to install this extension as system extension, you need to enable user extension with PASSWORD_STORE_ENABLE_EXTENSIONS=true pass. You can create an alias in .bashrc: alias pass='PASSWORD_STORE_ENABLE_EXTENSIONS=true pass'

From git

git clone https://github.com/codekoala/pass-qr/
cd pass-qr
sudo make install  # For OSX: make install PREFIX=/usr/local

ArchLinux

pass-qr is available in the Arch User Repository.

paru -S pass-qr  # or your preferred AUR install method

Contribution

Feedback, contributors, pull requests are all very welcome.

Acknowledgments

Thanks to the following projects, which I used as templates for pass-qr:

License

Copyright (C) 2018 Josh VanderLinden

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

pass-qr's People

Contributors

codekoala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pass-qr's Issues

Annoying Limitations

Thanks for the tool! I have some feedback from first experiments:

Just running pass qr exits unsuccessfully, even though I have fzf installed.

pass qr -f works, but it would be nice to be able to display the qr code in other ways rather than a popup window.

Also, runninf pass qr my/password/path should simply use the given path.

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.