4 ms·
How many people these days share their linux machine with anyone else? If you're the only user, first point doesn't matter. History file is a concern, but can b
by ams6110 12y ago
How many people these days share their linux machine with anyone else? If you're the only user, first point doesn't matter. History file is a concern, but can be mitigated e.g. setting HISTIGNORE
- metric10 12y agoDepends on the situation. A Linux machine running as a server can still be accessed by multiple people. Also, a "user" could be a compromised process that can execute commands. Using stdin or a properly created file means one less possible attack vector.
- skywhopper 12y agoDoesn't storing the secret in a file first violate half the point of this service? Once it's written to disk in plaintext it's just as recoverable as your shell history.
- ceejayoz 12y agoAll it takes is a WordPress vulnerability that lets someone run `exec` on your server.
- skywhopper 12y agoif you the sort to worry about vault's command line being a security risk, you shouldn't be managing your secrets from your wordpress host in the first place.