Encrypted swap does not work in Ubuntu Trusty, or apparently, any of the Ubuntu flavors. I had an encrypted swap partition under Xubuntu 13.10, and when I upgraded to 14.04, it was no longer recognized or utilized (luckily I made backups with deja-dup, Timeshift and Aptik, so I just rolled back to 13.10). I thought maybe I should revert to using an unencrypted swap partition, so I carefully followed the instructions to 'decrypt' one's swap partition here; http://www.logilab.org/blogentry/29155 and then proceeded to upgrade again. All went well, but when I tried to manually encrypt my swap partition after the upgrade (using "sudo ecryptfs-setup-swap"), it was no longer recognized or utilized just like before, so I rolled back to 13.10 again, and re-encrypted my swap partition (which works perfectly under 13.10). Then I got to thinking that maybe I should start fresh. I de-encrypted my swap partition again, and did a fresh install of Xubuntu 14.04, choosing to erase my previous installation and start from scratch. Everything went well, until I attempted to encrypt my swap partition and reboot. Again, it was not recognized or utilized by Xubuntu. I thought maybe it was a Xubuntu-specific issue, so I de-encrypted my non-working swap partition, made sure it was working as regular swap space, and did a fresh install of plain Ubuntu 14.04, ending up back where I started. Even plain ol' Ubuntu could not recognize or utilize encrypted swap space, only normal swap space. I tried with Kubuntu 14.04 and experienced the same. One of the aforementioned installs was done with 'Encrypt My Home Folder' selected, which also encrypts your swap partition. Even this didn't work (well, my home folder was encrypted, but again, my encrypted swap partition was unusable).
So, now I'm back on Xubuntu 13.10 again, with a working encrypted swap partition, but I know I'll eventually have to upgrade If I want to continue getting updates. Can anyone tell me if this bug will be fixed? Has anyone else realized that Ubuntu Trusty is incapable of utilizing an encrypted swap partition? This is a serious security issue and I can't believe it has not beed fixed yet.
TLDR: Encrypted swap partitions are not recognized/utilized by Ubuntu 14.04 and its derivatives, but they work perfectly under 13.10. Whether one chooses to manually encrypt their swap partition after install with ecryptfs, or during install by way of opting to have their home folder encrypted, makes no difference.