Skip to content

Commit

Permalink
Update README instructions for password option [fix #13]
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleiade committed Nov 26, 2013
1 parent ed34b34 commit 3c20630
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,16 @@ sudo cp ./bin/trousseau /usr/local/bin/trousseau
<div class="subsection-break"></div>
### 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
Expand Down

0 comments on commit 3c20630

Please sign in to comment.