Skip to content
Tiny password manager
Branch: master
Clone or download
orbea and nmeum Makefile: change title to all-uppercase
The pod2man(1) man page states the following:

> Although one does not have to follow this convention, be aware that
> the convention for UNIX man pages for commands is for the man page
> title to be in all-uppercase, even if the command isn't.

Following the convention seems to be a good idea.
Latest commit 8baf6c0 Apr 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib Fix syntax error Jun 11, 2015
.gitignore Initialize Nov 14, 2013
LICENSE.txt Initialize Nov 14, 2013
Makefile Makefile: change title to all-uppercase Apr 10, 2018
README.pod stdout -> standard output Sep 25, 2015
tpm Silence shellcheck warning. Oct 16, 2017



tpm - tiny password manager




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.



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


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



The default storage directory.


Provided for compatibility with pass(1).


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


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

You can’t perform that action at this time.