From owner-freebsd-geom@FreeBSD.ORG Sat Nov 8 20:26:45 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88E18CAE for ; Sat, 8 Nov 2014 20:26:45 +0000 (UTC) Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 439CC923 for ; Sat, 8 Nov 2014 20:26:45 +0000 (UTC) Received: by mail-qg0-f43.google.com with SMTP id f51so3986022qge.30 for ; Sat, 08 Nov 2014 12:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7XVizSDazjHKqpQgSza4qRUZD7GzulSGjVe/xuTpHmQ=; b=sSO7zU7AV33aeoXe/eRMeuCwCurO7GoUKYg8cFc0Afa8t4EiL5R8BkMzdsuDamo7we 5XD03J7no+XJsbQAciG7REQ7czVdHBrHv0X3QHuRGYDWoMhPK+7EPI5SxRfGcFDHziXU S/GjMowWDpYv5Nn65wh10iIrDnpj6zLo7IBFsvxAWC4CTrOTxLOzGXEXff5i6GyGC7Wj QnSOQnYN6muPhEayndZWf8fhpo33yKLIEb9EsKAVY1b6h5L8CzsRn+nPpJDRfr39yc7b SsceqfEa/GbY9/puKylA5nSlYogDccWf7JC02csonAyTPLvVBtMncl09r9qS7BqjIOcj wrmg== MIME-Version: 1.0 X-Received: by 10.140.101.68 with SMTP id t62mr28344998qge.92.1415478404346; Sat, 08 Nov 2014 12:26:44 -0800 (PST) Received: by 10.96.169.229 with HTTP; Sat, 8 Nov 2014 12:26:44 -0800 (PST) Date: Sat, 8 Nov 2014 21:26:44 +0100 Message-ID: Subject: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input From: Aurelien Martin <01aurelien@gmail.com> To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 20:26:45 -0000 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