duritong / trocla

A password store for password creation and retrieval
Other
76 stars 18 forks source link

add option --password. Fix option --pwd-from-stdin. #3

Closed icy closed 12 years ago

icy commented 12 years ago

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.

duritong commented 12 years ago

merged in 17bf8258985b48bb0f7d45c70d57cb972d852bd9

yippie