Giter Club home page Giter Club logo

enpass-cli's Introduction

enpass-cli

A commandline utility for the Enpass password manager.

Installation

Go get yourself a compiled binary from the releases page.

CLI Usage

$ # set an alias to easily reuse
$ alias enp="enpasscli -vault=/my-vault-dir/ -sort"

$ # list anything containing 'twitter' (without password)
$ enp list twitter

$ # show passwords of 'enpass.com'
$ enp show enpass.com

$ # copy password of 'reddit.com' entry to clipboard
$ enp copy reddit.com

$ # print password of 'github.com' to stdout, useful for scripting 
$ password=$(enp pass github.com)

Commands

Name Description
list FILTER List vault entries matching FILTER without password
show FILTER List vault entries matching FILTER with password
copy FILTER Copy the password of a vault entry matching FILTER to the clipboard
pass FILTER Print the password of a vaulty entry matching FILTER to stdout
dryrun Opens the vault without reading anything from it
version Print the version
help Print the help text

Flags

Name Description
-vault=PATH Path to your Enpass vault
-keyfile=PATH Path to your Enpass vault keyfile
-type=TYPE The type of your card (password, ...)
-log=LEVEL The log level from debug (5) to error (1)
-nonInteractive Disable prompts and fail instead
-pin Enable Quick Unlock using a PIN
-and Combines filters with AND instead of default OR
-sort Sort the output by title and username of the list and show command
-trashed Show trashed items in the list and show command
-clipboardPrimary Use primary X selection instead of clipboard for the copy command

Testing Code

$ go test -v $(go list ./... | grep -v /vendor/)

Using the library

See the documentation on pkg.go.dev.

enpass-cli's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar eugenmayer avatar hazcod avatar jabofh avatar jmastr avatar k8scat avatar kwbmm avatar msladek avatar nmaupu avatar v-braun avatar

Stargazers

 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.