News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.