From owner-freebsd-geom@FreeBSD.ORG Fri Nov 14 17:23:48 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 971FAC85; Fri, 14 Nov 2014 17:23:48 +0000 (UTC) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54325667; Fri, 14 Nov 2014 17:23:47 +0000 (UTC) Received: from [78.35.185.39] (helo=fabiankeil.de) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1XpKaw-0002zB-EC; Fri, 14 Nov 2014 18:23:38 +0100 Date: Fri, 14 Nov 2014 18:23:39 +0100 From: Fabian Keil To: Aurelien Martin <01aurelien@gmail.com> Subject: Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input Message-ID: <39ecf88b.74b1cd08@fabiankeil.de> In-Reply-To: References: Reply-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/iygbGWC1EkNxlCl_vFnSMJH"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 17:23:48 -0000 --Sig_/iygbGWC1EkNxlCl_vFnSMJH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aurelien Martin <01aurelien@gmail.com> wrote: > Is there people that can try to geli an external USB disk with a simple > passphrase on CURRENT and tell me if the passphrase prompt shown the inpu= t, > and if it's possible to attach it ? > -------- > # uname -a > FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r271779: Fri Sep 19 01:18:53 > UTC 2014 root@grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI- > B arm >=20 > #kldstat > 2 1 0xc2e49000 17000 geom_eli.ko > 3 1 0xc2e60000 2a000 crypto.ko >=20 >=20 > # sysctl kern.geom.eli.visible_passphrase=3D1 > kern.geom.eli.visible_passphrase: 0 -> 1 >=20 > #### Nothing print in the prompt #### >=20 > # geli init da0 > Enter new passphrase: > Reenter new passphrase: The sysctl only applies to the kernel, geli(8) doesn't use it. > #### Impossible to attach the device with a simple passphrase. Tried 20x > #### > geli attach da0 > Enter passphrase: > geli: Wrong key for da0 "geli attach" works for me on 11-CURRENT amd64, maybe it's an arm issue. Fabian --Sig_/iygbGWC1EkNxlCl_vFnSMJH Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRmOpsACgkQBYqIVf93VJ19ewCePNLVr7l7qauKS4cSN8eb9Lio paIAnRzzAIZ+3WM/Hb26QWaxW4+PTPWe =Bu3B -----END PGP SIGNATURE----- --Sig_/iygbGWC1EkNxlCl_vFnSMJH--