[dm-crypt] encrypted SWAP FAQ item

octane indice octane at alinto.com
Thu Jul 11 12:19:09 CEST 2013

En réponse à Arno Wagner <arno at wagner.name> :
> ------------------ Début du message d'origine --------------------
> Dear all,
> I just have added a mini-HOWOT on how to set up encrypted swap
> in FAQ item 2.2:
> http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions
> Proofreading and suggestions welcome. 
As said, /etc/crypttab is very distro specific.
For the record, slackware uses:

swap /dev/sdaX /dev/random swap,cipher=aes-xts-essiv:sha256

Another things really nice is done at shutdown: it mkswap the
partition. So, if you multiboot, you can use the swap the way
you want: clear for unencrypted distribution, and ciphered
for the crypted one.

> Arno
> -- 
> Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email:
> arno at wagner.name
> GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C
> 5FA1 CB5D 9718
> ----
> There are two ways of constructing a software design: One way
> is to make it
> so simple that there are obviously no deficiencies, and the
> other way is to
> make it so complicated that there are no obvious deficiencies.
> The first
> method is far more difficult.  --Tony Hoare
> _______________________________________________
> dm-crypt mailing list
> dm-crypt at saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
> ------------------- Fin du message d'origine ---------------------

Envoyé avec Inmano, ma messagerie renversante et gratuite : http://www.inmano.com

More information about the dm-crypt mailing list