Now what exactly does vim have to do with encrypting swap files? Trying to be an OS like emacs?
/rant. Yes I know, not OS swap files but the editor's own. Still, must be hella bloated an editor to require its own swap file.
Phoronix: Vi IMproved 7.3 Released w/ Fixes + New Features
Marking the end of two years of development is the release of Vim (Vi Improved) version 7.3. While this is considered a minor release of Vim, there are a handful of new features along with many bug-fixes...
http://www.phoronix.com/vr.php?view=ODUwOQ
Now what exactly does vim have to do with encrypting swap files? Trying to be an OS like emacs?
/rant. Yes I know, not OS swap files but the editor's own. Still, must be hella bloated an editor to require its own swap file.
I assume that the swapfile they are talking about is the backup of the file being edited, named somethin like filename~ or #filename# or .filename.swp -- I can't remember which format Vim uses..
No bloat, just protection from power/network outages.. any editor which doesn't do this is broken imo.
Yay Vim!
Vim > $EDITOR
Additionally, the swap files are saved as plaintext, so people could be peeking at sensitive files while you are editing them.
Eh. YeahTired, and swap file in context of $EDITOR made no sense at the time.
I don't use vi, but after thinking about it, who is this to protect against?Additionally, the swap files are saved as plaintext, so people could be peeking at sensitive files while you are editing them.
If the temp file is in the same dir, with same permissions as the original file, there's no harm in having it in plaintext. And if it tries to protect from root, he can read your memory anyway.
I think it's more to protect users from other sneaky users.
But yeah, I'm not sure whether the swap files inherit the original file's permissions and whatnot. There are likely corner cases involved. It was probably a much requested feature that finally got implemented. You don't have to use it if you don't feel the need (I don't).