stymie
will use the default GPG key.username: 'derp',
password: '1234',
SSN: '123-45-6789',
securityAnswer: '1st Avenue'
.stymie.d/
, it’s easy to port between systems.stymie
to be safely versioned.--hidden-recipient
flag so as to not include the recipient’s key ID in the encrypted file.$HISTIGNORE
so stymie
commands aren’t stored in history [1].[1] As an alternative to setting $HISTIGNORE
, most shells by default allow for any command preceded by a [[SPACE]]
to be ignored by history. Check the value of $HISTCONTROL
for support.
go get github.com/btoll/stymie
gpg-agent
to save typing.Install stymie
:
stymie init
To install in multiple locations, specify different directories when installing and use the STYMIE
environment variable to switch between installations:
STYMIE=/tmp/foo stymie get chomsky
Create the example.com
key:
stymie add example.com
Edit the example.com
key:
stymie edit example.com
Get just the username
field value from the example.com
key:
stymie get example.com --field username
Get just the password
field value from the example.com
key and copy it to the system clipboard:
stymie get example.com --field password | xsel -b
Command | Description
------- | --------
add | Adds a new entry
edit | Edits an entry
generate | Generates a diceware passphrase
get | Retrieves an entry
has | Checks if the entry exists
init | Installs the password file directory and config file
list | List all entries
rm | Deletes an entry
Option | Description
------- | --------
--field, -f | Gets the specified key value from an entry (only with `get` command)
--shadow | Obfuscates a password entry
-h, --help | Display help
Add libstymie
locally:
$ sed -i 's_\(github.com/btoll\)/libstymie_\1/stymie/libstymie_' cmd/*.go
Revert:
$ sed -i 's_\(github.com/btoll\)/stymie/libstymie_\1/libstymie_' cmd/*.go
Benjamin Toll