From owner-freebsd-geom@FreeBSD.ORG Sat Sep 22 17:21:28 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399E216A419 for ; Sat, 22 Sep 2007 17:21:28 +0000 (UTC) (envelope-from yarodin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id B895F13C4B7 for ; Sat, 22 Sep 2007 17:21:27 +0000 (UTC) (envelope-from yarodin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so930438nfb for ; Sat, 22 Sep 2007 10:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=ocGnC1K+BzTt9YT/lmD0LnCKiXai8lrkctMLme6eAgQ=; b=mhU4nxt2V+/+q9284Aw1ifqBx68C+EZaK/p9nVBSrvXan6mNbKy96UTk+7fzdC5VzC15wdF10O+BhpnZsRmw0bHX2hz512V04eaNI0ctz1yRfjx+pWITxetiot9vVwWDeHH2b513LP5y8pPm2ech6qpJ8M1H9ySm/tYbfnyBExE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=UDE3KJr9cRpIVkmlME/cCI18GBPVNdqUoN31eNldbTpK/EV4347f3GQPP35MrwKNe2T7yxXmnezSNOA9un4rbphO10059T2QbqBFtJJNqw2N4MdE8RYs1wbGuIVPm8h/+RFQGzEYvqn8tAXlEK117pRJLHh5WJejbcXe/RePi50= Received: by 10.78.138.14 with SMTP id l14mr1852297hud.1190480180431; Sat, 22 Sep 2007 09:56:20 -0700 (PDT) Received: from ?192.168.1.2? ( [88.205.252.197]) by mx.google.com with ESMTPS id 31sm1460624hub.2007.09.22.09.56.17 (version=SSLv3 cipher=OTHER); Sat, 22 Sep 2007 09:56:19 -0700 (PDT) From: yarodin To: freebsd-geom@freebsd.org Date: Sat, 22 Sep 2007 22:56:17 +0600 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709222256.17692.yarodin@gmail.com> Subject: Pipes password from kdialog to geli attach X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yarodin@gmail.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 17:21:28 -0000 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?