Commit Graph

5 Commits

Author SHA1 Message Date
Derek McGowan 71aaf5c84d Add passphrase function with file input
Updates the prompt receiver to take in the in and out files from arguments.
The default function uses stdin and stdout.
Fixed a typo in comment from "directiory" to "directory".

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-23 13:43:02 -07:00
Nathan McCauley 8fe2f4193e Abridge key ids on print, warn about key generation
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-22 18:39:46 -07:00
Nathan McCauley a8b61c2f2b Root key generation warning, incorrect passphrase notification
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-20 20:06:11 -07:00
Nathan McCauley 079f565f5b use consts for tuf alias comparisons
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-20 18:23:02 -07:00
Derek McGowan c35c1ea254 Move passphrase logic to its own package
The logic to retrieve passphrase is generic and may be used by directly by clients.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-20 13:02:05 -07:00