From owner-freebsd-current@FreeBSD.ORG Fri Nov 14 17:35:10 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 438DB333; Fri, 14 Nov 2014 17:35:10 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (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 EFABF7E9; Fri, 14 Nov 2014 17:35:09 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id n8so11769372qaq.26 for ; Fri, 14 Nov 2014 09:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ITjce8AayyeAsMuX+iWNq9BcRCpauyOsCuEXdN/yyVI=; b=HK6k24/6btosza6oAhKu9VRnNqYEy+E+kVuDLwX641OPeKmAbVN/Xogg6AfyAdI0O5 v3bwy0Ae3Rv5YL6ccWKe/hSKnsYYMwjqJ7TK5JdQXoYbuzZCx6pwBqnkuf7vR+7tWPoJ AmI9xfJBG4B9F+I3aabHCPBIpb5x3LiKeeJK0bCcKFA7F4TWFnRpwSh2cSnT7yjNQIgZ qazHYz/Ph/kYVwvfWs0Fz8R9BpHdv1B341eIbiQgU5RHRUINN6ZtOOQ9jXtyZFN9W2XE CGcl4Nt/qFtgnsupuF1H7sNsb6RTBN82gp5ThmMJSmu5UPvK9lv7rVdLcxnstQgMCZez /yFw== MIME-Version: 1.0 X-Received: by 10.224.122.80 with SMTP id k16mr7357676qar.40.1415986509164; Fri, 14 Nov 2014 09:35:09 -0800 (PST) Received: by 10.96.169.229 with HTTP; Fri, 14 Nov 2014 09:35:09 -0800 (PST) In-Reply-To: <39ecf88b.74b1cd08@fabiankeil.de> References: <39ecf88b.74b1cd08@fabiankeil.de> Date: Fri, 14 Nov 2014 18:35:09 +0100 Message-ID: Subject: Re: "geli: Wrong key" with a simple passphrase. Doesn't handle the keyboard input From: Aurelien Martin <01aurelien@gmail.com> To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org, freebsd-geom@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 17:35:10 -0000 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 <01aurelien@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@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 >