I installed Ubuntu 12.04 a few days ago but strangely I seem to have skipped the part about choosing to encrypt home folder. Now if it is encrypted I do not know what is the encryption key. How do I check if it is really encrypted? (and also the swap partition).
This is how to check if swap partition is encrypted:
sudo blkid | grep swap
and should check for an output similar to
/dev/mapper/cryptswap1: UUID="95f3d64d-6c46-411f-92f7-867e92991fd0" TYPE="swap"
If instead of
cryptswap1 there is something like a usual drive (e.g.
/dev/sda4) then swap area is not encrypted.