From owner-freebsd-geom@FreeBSD.ORG Thu Feb 3 23:04:33 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9011016A4CE for ; Thu, 3 Feb 2005 23:04:33 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id E831643D41 for ; Thu, 3 Feb 2005 23:04:32 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 7386CACBCF; Fri, 4 Feb 2005 00:04:30 +0100 (CET) Date: Fri, 4 Feb 2005 00:04:30 +0100 From: Pawel Jakub Dawidek To: freebsd-geom@freebsd.org Message-ID: <20050203230430.GD27596@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Subject: -k/-K options for gbde(8). X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 23:04:33 -0000 --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. Patch below implement -k/-K/-N options from the gbde(8)-TODO list: http://people.freebsd.org/~pjd/patches/gbde.3.patch Those options allow to give a part of the pass-phrase from the file: gbde attach da0 -k /mnt/usb/da0.key If '-N' option is not given user will still be prompted for the pass-phrase and the two parts will be used as a one key. -k/-K option can be used multiple times: gbde attach da0 -k /mnt/usb/da0.key -k /somewhereelse/da0.key which is equivalent to: cat /mnt/usb/da0.key /somewhereelse/da0.key | gbde attach da0 -k /dev/stdin --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCAq3+ForvXbEpPzQRAvmXAKCwkBTrhmMsUXzKRo2CC+pyn8AzKwCgz/bP eGXJluZArM0ZfPFpnVYwRPw= =vNEU -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--