3 ms·
Is iTerm keeping my history safe? Where is it saved, and how is it kept safe?
by fit2rule 11y ago
Is iTerm keeping my history safe? Where is it saved, and how is it kept safe?
- lemevi 11y agoDo you think your regular bash history is safe? Relevant: https://xkcd.com/1200/ https://xkcd.com/1200/
- fit2rule 11y agoI don't. Which is why I'm hoping iTerm is different.
- lemevi 11y agoSo you want your bash history safer than your private ssh keys? Like at userspace, there's very little point in protecting anything. Just lock your computer when you walk away from it.
- fit2rule 11y agoI want my bash history encrypted so that it can't be read by anyone who might gain access to my machine.
- gnachman 11y agoIt's stored in ~/Library/Application Support. Whether that's safer than your shell's own history depends on your personal threat model. You can turn off "Prefs>General>Save copy/paste and command history to disk" to disable this if your mac is untrusted.