Giter VIP home page Giter VIP logo

auth-source-pass's Introduction

Build Status

auth-source-pass (aka. auth-password-store)

The auth-source-pass package, formerly known as auth-password-store, integrates Emacs' auth-source library with password-store. The auth-source library is a way for Emacs to answer the old burning question β€œWhat are my user name and password?”. Password-store (or just pass) is a standard unix password manager following the Unix philosophy.

The auth-source-pass project is a password-store backend for auth-source.

Installing

This package has been included in Emacs 26. If that suits you, you can just start using it. Otherwise, install it from melpa.

Regardless of the version you choose, please report issues to auth-source-pass's issue tracker. Please make sure to specify which version you use.

Usage

Add the following to your init.el file:

(require 'auth-source-pass)
(auth-source-pass-enable)

Organization

auth-source-pass follows the first approach suggested by the Password-store project itself for data organization to find data. This means that the filename of the file containing the password for a user on a particular host must contain the hostname. The file itself must contain the password on the first line. Additional fields can be on subsequent lines. For example:

passwdstring
host: host.domain.com
user: [email protected]
port: 993

If you have several accounts for the same host, you can name your files in 2 different ways:

If you use several ports (sometimes called services) in the same host (e.g., web and mail), you can add a colon and the port number (or service name) at the end of the filename: e.g., host:443.gpg or host:imap.gpg.

The separator string (default: colon) between host and port number can be customized by auth-source-pass-port-separator variable.

Be aware that the .gpg extension is added automatically by the pass utility. You should not include that in the name when you create the entry. For example to create a multi-line entry with pass:

pass insert -m user1@host 

Pass in Emacs

Users of this package may also be interested in functionality provided by other Emacs packages dealing with pass:

Contributing

Yes, please do! See CONTRIBUTING for guidelines.

License

See COPYING. Copyright (c) 2015 Damien Cassou & Nicolas Petton.

auth-source-pass's People

Contributors

alyssais avatar calancha avatar damiencassou avatar dieggsy avatar eggert avatar galaunay avatar iquiw avatar jabranham avatar jedrz avatar jellelicht avatar joaotavora avatar kamidon avatar legoscia avatar lektu avatar mattiase avatar mdorman avatar mineo avatar nicolaspetton avatar stsquad avatar svend avatar syohex 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.