Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 21:26:44 +0100
From:      Aurelien Martin <01aurelien@gmail.com>
To:        freebsd-geom@freebsd.org
Subject:   "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input
Message-ID:  <CAFGQ1goGqJOAC6gPsq1MgsW_k51VHAFGujkE9KUnud963su1Kw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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     root@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
0000000   G   E   O   M   :   :   E   L   I  \0  \0  \0  \0  \0  \0  \0



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