Loading...

freebsd-geom@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Pipes password from kdialog to geli attach yarodin Tue Sep 25 12:02:30 2007

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?
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[EMAIL PROTECTED]"