ecryptfs-setup-swap(1)

πŸ’« ecryptfs-setup-swap β€” the manual page, but make it make sense πŸ’«

okay bestie, so this is ecryptfs-setup-swap, part of the eCryptfs manual set (that's the (1) btw β€” general user commands, we're in the big leagues πŸ’…). sit down, grab a strawberry πŸ“, and let me tell you about keeping your swap space from snitching on you.


✨ NAME ✨

ecryptfs-setup-swap β€” bestie's whole job is making sure that any swap space is encrypted. no cap.


✨ SYNOPSIS ✨

ecryptfs-setup-swap [-f|--force]

✨ DESCRIPTION ✨

okay so here's the vibe. this script will detect existing swap partitions or swap files, and then encrypt them, using cryptsetup. that's it, that's the plot. πŸŽ€

and like… encrypted swap is essential to securing any system using eCryptfs, fr fr. why? because decrypted file contents are literally just vibing in the system's memory, and memory may be swapped to disk at any time 😭. so if your swap space isn't also encrypted, it's possible that decrypted files could get written to disk in clear text. that's giving data leak. that's giving not slay. we do not want.

lowkey important: most Linux distributions do not yet support resuming from an encrypted swap space, and thus hibernate/resume will not work. 🫠 suspend/resume is unaffected though β€” that one's fine, that one's chillin'.

when you run the utility, the user will be informed of the hibernate/resume break, and asked to confirm the behavior (a little "hey bestie, are you sure? πŸ‘€" moment). and if you're not in the mood for conversation, the -f|--force option can be used to bypass this interactive prompt. iconic.


✨ SEE ALSO ✨


✨ AUTHOR ✨

this manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others, we don't gatekeep πŸ’–).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. periodt. πŸ‘‘

On Debian and Ubuntu systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.


and that's the whole thing, bestie β€” go encrypt that swap, you absolute main character 🌈✨

ecryptfs-utils Β· 2009-08-17 Β· signing off πŸ«ΆπŸŽ€πŸ’œ