Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2007 22:56:17 +0600
From:      yarodin <yarodin@gmail.com>
To:        freebsd-geom@freebsd.org
Subject:   Pipes password from kdialog to geli attach
Message-ID:  <200709222256.17692.yarodin@gmail.com>

next in thread | raw e-mail | index | archive | help
init:
password=`kdialog --password "Enter the password"`
echo $password|sha256|geli init -s 4096 -P -K - /dev/ad0s1e

atach:
password=`kdialog --password "Enter the password"`
echo $password|sha256|geli attach -p -k - /dev/ad0s1e

Is it very unsecure? May be a better method exists?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709222256.17692.yarodin>