Date: Mon, 27 Sep 2010 16:10:59 GMT From: Kris Moore <kmoore@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/151002: [patch] pc-sysinstall(8) update to support latest GELI flags for passphrases Message-ID: <201009271610.o8RGAxO3066259@www.freebsd.org> Resent-Message-ID: <201009271620.o8RGK4FZ048796@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 151002
>Category: misc
>Synopsis: [patch] pc-sysinstall(8) update to support latest GELI flags for passphrases
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 27 16:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Kris Moore
>Release: 9.0-Current
>Organization:
iXsystems
>Environment:
>Description:
This small patch updates the "geli setkey" flags pc-sysinstall uses when saving a users passphrase, to make it work in HEAD with recent geli improvements.
>How-To-Repeat:
>Fix:
Apply included patch
Patch attached with submission follows:
--- src.o/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh 2010-09-22 08:50:07.000000000 -0400
+++ src/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh 2010-09-27 07:08:17.000000000 -0400
@@ -296,7 +296,7 @@
# If we have a passphrase, set it up now
if [ -e "${PARTDIR}-enc/${PART}-encpass" ] ; then
- cat ${PARTDIR}-enc/${PART}-encpass | geli setkey -S -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
+ geli setkey -J ${PARTDIR}-enc/${PART}-encpass -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
geli configure -b ${PART}
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009271610.o8RGAxO3066259>
