Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 18:23:39 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Aurelien Martin <01aurelien@gmail.com>
Cc:        freebsd-current@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Message-ID:  <39ecf88b.74b1cd08@fabiankeil.de>
In-Reply-To: <CAFGQ1gpxoD=BMzgRoPWDrmcqM%2BV44m43L8DVyh6CyeYm%2B7%2BC5A@mail.gmail.com>
References:  <CAFGQ1goGqJOAC6gPsq1MgsW_k51VHAFGujkE9KUnud963su1Kw@mail.gmail.com> <CAFGQ1gpxoD=BMzgRoPWDrmcqM%2BV44m43L8DVyh6CyeYm%2B7%2BC5A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39ecf88b.74b1cd08>