pwmc: new key file support.
commit4c767b489d0d2ebfad7c9506c187402e25c9cb73
authorBen Kibbey <bjk@luxsci.net>
Sun, 2 Oct 2011 21:38:35 +0000 (2 17:38 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 2 Oct 2011 21:46:37 +0000 (2 17:46 -0400)
tree588634872985134f3ef6f43d30eafa380d440d3b
parent5bcf50ad515f6d0971098847b685dc84b0634210
pwmc: new key file support.

This adds command line option --new-key-file and dot command
'.set new-keyfile'. When either --key-file or --new-key-file is
specified, libpwmd will use a server inquire to retrieve the passphrase
from the local pinentry for the other option of these two not passed.
The same is true for the dot command.

The user must do '.set new-keyfile' after each '.open' to prevent misuse.
src/pwmc.c