Use luksSuspend/luksResume in hibernation scripts

Bug #423372 reported by pberndt on 2009-09-02
This bug affects 8 people
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)

Bug Description

The latest trunk version of cryptsetup introduces support for luksSuspend/luksResume:

Excerpt from manpage:
luksSuspend <name>
suspends active device (all IO operations are frozen) and wipes encryption key from kernel. Kernel version 2.6.19 or later is required.

After that operation you have to use \fIluksResume\fR to reinstate encryption key (and resume device) or \fIluksClose\fR to remove mapped device.

WARNING: never try to suspend device where is the cryptsetup binary itself.

luksResume <name>
Resumes suspended device and reinstates encryption key. You will need provide passphrase identical to luksOpen command (using prompting or key file).

This feature provides a way to implement secure hibernation without having to use an encrypted swap partition. It should be used in ubuntu's hibernation scripts as soon as a new stable version of cryptsetup is released.

affects: ubuntu → cryptsetup (Ubuntu)
papukaija (papukaija) on 2009-11-03
Changed in cryptsetup (Ubuntu):
status: New → Confirmed
pberndt (phillip-berndt) wrote :

- As soon as - is now: I just noticed that Lucid comes with a recent enough version of cryptsetup!

Steve Langasek (vorlon) wrote :

Ah, great - closing the report then. :)

Changed in cryptsetup (Ubuntu):
status: Confirmed → Fix Released
mejo (jonas-freesources) wrote :

I don't agree that this bug is fixed. cryptsetup supports luksSuspend/luksResume in recent Ubuntu releases, but these functions are not used for suspend/hibernate yet. Please reopen. Unfortunately I didn't have time to implement this in Debian yet either.

pberndt (phillip-berndt) wrote :


Changed in cryptsetup (Ubuntu):
status: Fix Released → Confirmed

Get the great di oet scou au nts on popular so wtz ft rb wa vc re today at
All s iz of vhe wa chp re is instantly available to do ht wnl qer oad - No Need Wait!
USA, English, France, Italy, Spanish, German and more!!!

SO qvo FTW tk ARE:Windows 7 Ultimate 32 bit99.95Windows 7 Ultimate 64 bit99.95Windows XP Professional with Service Pack 369.95Office Professional Plus 2010 32-bit89.95Office Professional Plus 2010 64-bit89.95Adobe Photoshop CS5.1 Extended99.95Office Professional 200769.95Adobe Acrobat 9 Pro Extended59.95Office Home and Student 200749.95
Also we have so mu vf ch s hxc of ca t for MA otw CIN xwo TO nfm SH!!!Adobe Creative Suite 5.5 Master Collection for MAC269.95Adobe Creative Suite 5.5 Design Premium for MAC219.95Microsoft Office 2008 Standart Edition for MAC119.95Aperture 3 for MAC79.95Adobe Photoshop CS5.1 Extended for MAC89.95
To re ppr vi dk ew full list of the offers, v xt is rv it

Didier Raboud (odyx) on 2012-05-16
tags: added: spam-comment
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers