Use luksSuspend/luksResume in hibernation scripts

Bug #423372 reported by pberndt
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The latest trunk version of cryptsetup introduces support for luksSuspend/luksResume:
http://code.google.com/p/cryptsetup/source/detail?r=104

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.

Tags: spam-comment
affects: ubuntu → cryptsetup (Ubuntu)
papukaija (papukaija)
Changed in cryptsetup (Ubuntu):
status: New → Confirmed
Revision history for this message
pberndt (phillip-berndt) wrote :

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

Revision history for this message
Steve Langasek (vorlon) wrote :

Ah, great - closing the report then. :)

Changed in cryptsetup (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
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.

Revision history for this message
pberndt (phillip-berndt) wrote :

Indeed.

Changed in cryptsetup (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Ahmad Amr (aamr) wrote : Shaking mac assembly

Get the great di oet scou au nts on popular so wtz ft rb wa vc re today at www.greatriveruk.com.ua
All s iz of vhe wa chp re is instantly available to do ht wnl qer oad - No Need Wait!
ALL OUR SO bfn FTW ii ARE wat S ON ALL EUROPEAN LANGUAGES -
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 www.greatriveruk.com.ua

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.