Coder Social home page Coder Social logo

tpm's Introduction

NAME

tpm - tiny password manager

SYNOPSIS

tpm COMMAND ENTRY

DESCRIPTION

tpm is a tiny shell script which is heavily inspired and largely compatible with pass(1). Just like pass it uses gpg2(1) to securely store your passwords, the major difference between pass and tpm is that the latter is a lot more minimal. Furthermore, tpm is written entirely in POSIX shell.

Invoking tpm consists of specifying a command either insert or show and supplying one entry as a target. If insert is specified as a command tpm will create a new entry and prompt for the corresponding password. If you specify show as a command tpm will write the password for the given entry to standard output.

ENVIRONMENT

PASSWORD_STORE_DIR

The storage directory (default: ~/.password-store).

PASSWORD_STORE_KEY

GPG key to encrypt files with (default: self).

FILES

~/.password-store

The default storage directory.

~/.password-store/.gpg-id

Provided for compatibility with pass(1).

EXAMPLES

Create a new entry with a random password using pwgen(1):

$ pwgen -1 | tpm insert system/new-user

Create a new entry called 'system/root':

$ tpm insert system/root

Write your 'system/root' password to standard output:

$ tpm show system/root

Copy your 'system/root' password to the clipboard using xclip(1):

$ tpm show system/root | tr -d '\n' | xclip

SEE ALSO

gpg2(1), pass(1), pwgen(1), xclip(1)

tpm's People

Contributors

bjarnirunar avatar nmeum avatar otommod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tpm's Issues

TPM_STORE_DIR vs PASSWORD_STORE_DIR

The README references PASSWORD_STORE_DIR, however, the bash/zsh completion scripts reference TPM_STORE_DIR.

The completions scripts should be changed to use PASSWORD_STORE_DIR.

pinentry warning

OS: Slackware64-current
pinentry-1.0.0-x86_64-1
tpm-1.3.2-noarch-1_SBo

Hi, after what I suspect was the recent upgrade to pinentry 1.0.0 in slackware current tpm started spitting out variations of this error. The number of tries is not always the same and sometimes it does not occur, do you have any idea what is causing it? I looked at the script, but I did not really spot anything. Tpm seems to work otherwise, thanks!

** (pinentry:31018): WARNING **: it took 19 tries to grab the keyboard

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.