Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input

From: Aurelien Martin <01aurelien_at_gmail.com>
Date: Fri, 14 Nov 2014 18:35:09 +0100
Many thanks Fabian for your feedbacks !

_at_freebsd-arm users: Can someone try to "geli init" and "geli attach" an USB
external drive ?

Cheers,Aurelien




2014-11-14 18:23 GMT+01:00 Fabian Keil <freebsd-listen_at_fabiankeil.de>:

> Aurelien Martin <01aurelien_at_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
> input,
> > 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_at_grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-
> > B  arm
> >
> > #kldstat
> >  2    1 0xc2e49000 17000    geom_eli.ko
> >  3    1 0xc2e60000 2a000    crypto.ko
> >
> >
> > # sysctl kern.geom.eli.visible_passphrase=1
> > kern.geom.eli.visible_passphrase: 0 -> 1
> >
> > #### Nothing print in the prompt ####
> >
> > # 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
>
Received on Fri Nov 14 2014 - 16:35:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC