News for hackers. Stuff that matters.
Re:Vault – A tool for managing secrets by mitchellh on Tuesday April 28, 2015 @03:38PM (#9454633)
Absolutely true! We support values coming from the command-line, stdin, and files: https://vaultproject.io/docs/commands/read-write.html So you should use what you feel is most secure given the data you're entering.
Re:Vault – A tool for managing secrets by sliverstorm on Tuesday April 28, 2015 @04:50PM (#9455078)
I think the argument is something like, why support a method that is insecure nearly all the time and leads less-experienced users to make the wrong choices.

Good security software gently herds the non-expert to make good choices. Too many options, especially specialty risky options, don't help that goal.

Re:Vault – A tool for managing secrets by zobzu on Tuesday April 28, 2015 @05:36PM (#9455301)
true most ppl will do it command line..
Re:Vault – A tool for managing secrets by mpdehaan2 on Wednesday April 29, 2015 @08:29AM (#9457770)
This is why ansible-vault (which is not trying to do the same thing) spawned a temporary editor, and immediately upon save encrypted the file - it doesn't exist in history, nor is there a chance of leaving it behind on disk.

There's probably a way to do what you have launching an editor with stdin, but I'd probably suggest documenting an example, to avoid the risk of leaving the secret around.

Also +1 to removing the insecure history option. Documenting the stdin to use 'cat' or something that's not in the history would probably take care of that one.

Re:Vault – A tool for managing secrets by kylequest on Tuesday April 28, 2015 @07:04PM (#9455635)
Why not use interactive CLI instead of command line CLI (like routers have) to avoid leaks through the shell command history and other related channels?
Re:Vault – A tool for managing secrets by nunull on Wednesday April 29, 2015 @06:20AM (#9457312)
I think what you mean by "interactive CLI" is reading from stdin, which seams to be supported.