"geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Fabian Keil
freebsd-listen at fabiankeil.de
Fri Nov 14 17:23:48 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20141114/419b1f24/attachment.sig>
More information about the freebsd-current
mailing list