duritong/trocla — pull request #3 by icy (2012-05-10 02:51:37+00:00)
Title: Fix stdin

This pull is replacement of the old one https://github.com/duritong/trocla/pull/1.

`--pwd-from-stdin` now can read from STDIN.

You can use pipe to provide multiple line password. *Side effect:* you can use trocla to store/retreive any kind of data, for example, public SSH key for your deployment tool. This is very useful :P For example:

```
cat /path/to/some/private/key | trocla set --pwd-from-stdin user1 plain
```

The former way of `--pwd-from-stdin` should be provided by the option `--password`. `STDIN` has a different mean, IMHO. To specify the password at command line, use `-p foobar`. When this option is used, `--pwd-from-file` will be ignored.