tpm - tiny password manager
tpmCOMMANDENTRY
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 eitherinsert orshow and supplying one entry as a target. Ifinsert is specified as a command tpm will create a new entry and prompt for the corresponding password. If you specifyshow as a command tpm will write the password for the given entry to standard output.
- PASSWORD_STORE_DIR
The storage directory (default: ~/.password-store).
- PASSWORD_STORE_KEY
GPG key to encrypt files with (default: self).
- ~/.password-store
The default storage directory.
- ~/.password-store/.gpg-id
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':
Write your 'system/root' password to standard output:
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)