Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Many thanks Fabian for your feedbacks ! @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 : > Aurelien Martin <01aurel...@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 r...@grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI- > > B arm > > > > #kldstat > > 21 0xc2e49000 17000geom_eli.ko > > 31 0xc2e6 2a000crypto.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 > ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Aurelien Martin <01aurel...@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 r...@grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI- > B arm > > #kldstat > 21 0xc2e49000 17000geom_eli.ko > 31 0xc2e6 2a000crypto.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 pgpdEp6VcT5Qo.pgp Description: OpenPGP digital signature
Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Hi all, 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 ? Cheers,Aurelien # uname -a FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r271779: Fri Sep 19 01:18:53 UTC 2014 r...@grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI- B arm #kldstat 21 0xc2e49000 17000geom_eli.ko 31 0xc2e6 2a000crypto.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: Impossible to attach the device with a simple passphrase. Tried 20x geli attach da0 Enter passphrase: geli: Wrong key for da0 2014-11-08 21:26 GMT+01:00 Aurelien Martin <01aurel...@gmail.com>: > Dear all, > > I tried to geli my external USB drive da0 with a simple passphrase > But I'm getting "Wrong key for da0" when I want to attach it. > geli seems not to handle my keyboard input when I type my password. > > Let me know if I have forgot a step. > > Cheers,Aurelien > > Log > -- > > # uname -a > FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r271779: Fri Sep 19 01:18:53 > UTC 2014 r...@grind.freebsd.org:/usr/ > obj/arm.armv6/usr/src/sys/RPI-B arm > > # sysctl kern.geom.eli.visible_passphrase=1 > kern.geom.eli.visible_passphrase: 0 -> 1 > > > What I have done : > The prompt doesn't handle my keyboard input, nothing printed > > # geli init da0 > Enter new passphrase: > Reenter new passphrase: > Metadata backup can be found in /var/backups/da0.eli and > ... > > # geli attach da0 > Enter passphrase: > geli: Wrong key for da0. > > > # cat /var/backups/da0.eli | hexdump -c | head -1 > 000 G E O M : : E L I \0 \0 \0 \0 \0 \0 \0 > ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"