Reply to comment

Useful /lib/cryptsetup/cryptdisks.functions patch (One line add)

Ubuntu LinuxI don't know why the Ubuntu people didn't think of this since they even created an alternate installer that lets you use disk encryption. Well, I use full disk encryption with Xubuntu, but when it prompts for a passphrase I don't know which partition's passphrase it wants.

Adding one line to /lib/cryptsetup/cryptdisks.functions makes life so much easier. Now I know for sure which partition I'm being prompted to unlock.

--- cryptfunctions.orig 2008-08-22 08:53:21.000000000 -0500

+++ cryptdisks.functions 2008-08-22 08:41:38.000000000 -0500

@@ -266,6 +266,7 @@

tried=$(( $tried + 1 ))

done

else

+ echo "LUKS Source: $src"

if test "x$INTERACTIVE" != "xyes" ; then

PARAMS="$PARAMS --key-file=$key"

cryptsetup $PARAMS luksOpen $src $dst <&1











The line in bold is my lame little addition.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options