From 3c20630527f7a8102088bacf4071a18669e86b84 Mon Sep 17 00:00:00 2001 From: Oleiade Date: Sun, 24 Nov 2013 17:36:35 +0100 Subject: [PATCH] Update README instructions for password option [fix #13] --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1916015..708970c 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,16 @@ sudo cp ./bin/trousseau /usr/local/bin/trousseau
### Gpg password -Every decryption operations will require your *gpg* primary key password. As of today, **trousseau** will handle your password through the environment. -Export your primary key password as `TROUSSEAU_PASSWORD` environment variable. +Every decryption operations will require your *gpg* primary key password. +As of today, **trousseau** is able to handle your passphrase through the global ``--password`` option, or the environment. -*Example*: +You can whether export pass you gpg password through the command line option: + +```bash +$ trousseau --password mysupperdupperpassword get abc +``` + +Or you can pass your primary key password as `TROUSSEAU_PASSWORD` environment variable: ```bash $ export TROUSSEAU_PASSWORD=mysupperdupperpassword