From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 24 19:58:10 2015 Return-Path: Delivered-To: freebsd-hackers@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 841787B0 for ; Sat, 24 Jan 2015 19:58:10 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (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 162FF9B5 for ; Sat, 24 Jan 2015 19:58:10 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id l61so2983033wev.8 for ; Sat, 24 Jan 2015 11:58:08 -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=pU23RnI7e5AvHE8hWMGixn/Ya1VMUHd30WUqz2IPtZM=; b=cIditZ3imAQtieszXcNtsUkUKnxQUQqooSoG1mued/RxsLIcGLWYBX7iwvzdjxFHEE rvptqBtctVuOG2xZagHtn6CSmUXiDoHdqFQP/pEcX6vHnvS2YXJJPuLp9FeCY7ej4ier Oh4ar+Laq20cDVGOmDGKAcnLZEASDjkvtwAiiFQIU//CbCJbHSf584uaKmzdReAEmitT HRTSK1re4RvuN9ZPM2Z+SI2kuWjNUl9Nou3FPbVYarjiNfZv1xXQluRI/6fbRfUs8siJ aXqgXe3pHiFQ1PZCWmRAKmtyY38QcW1aj9uN/mbqZ5ck9EBVkrBuxZQQSQeJRywMEdTS osSw== MIME-Version: 1.0 X-Received: by 10.180.83.98 with SMTP id p2mr16675838wiy.76.1422129488530; Sat, 24 Jan 2015 11:58:08 -0800 (PST) Received: by 10.27.160.212 with HTTP; Sat, 24 Jan 2015 11:58:08 -0800 (PST) In-Reply-To: <20141014163531.GB26488@mail.michaelwlucas.com> References: <20141010215842.GA6717@mail.michaelwlucas.com> <20141011113008.705ba16d@X220.alogt.com> <20141011074412.GA9432@mail.michaelwlucas.com> <54394A03.6060403@freebsd.org> <20141011175944.GA11131@mail.michaelwlucas.com> <20141014163531.GB26488@mail.michaelwlucas.com> Date: Sat, 24 Jan 2015 21:58:08 +0200 Message-ID: Subject: Re: GBDE not protecting the user From: Andrii Stesin To: "Michael W. Lucas" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2015 19:58:10 -0000 Hi, any news on the topic? Thanks! WBR, Andrii On Tue, Oct 14, 2014 at 7:35 PM, Michael W. Lucas wrote: > On Sat, Oct 11, 2014 at 01:59:44PM -0400, Michael W. Lucas wrote: >> On Sat, Oct 11, 2014 at 11:17:23AM -0400, Allan Jude wrote: >> > Michael: please file a PR on this now that it is confirmed, and together >> > we can nag someone to fix it. >> >> Fair enough. >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194304 > > Following up on my own bug report: > > This seems to be a generic GBDE error message breakage. Here I change > key 0's passphrase and key file. > > # gbde setkey da0p1 -n 0 -l da0p1.lock -k rat.jpg -L da0p1.lock-new > Enter passphrase: > Opened with key 0 > Enter new passphrase: > Reenter new passphrase: > > I now have a new lock file with a new passphrase. Let's try the old > key file and see what happens. It appears to work, except it doesn't. > > # gbde attach da0p1 -l da0p1.lock -k rat.jpg > Enter passphrase: > # ls /dev/da0p1* > /dev/da0p1 > # gbde detach da0p1 > gbde: Detach of da0p1 failed: Geom not found: "da0p1.bde" > > The new lock file and passphrase do work. > > I would have expected the attach command to call me an idiot rather > than fail silently. An ignorant, uneducated, non-programmer look at > the code encourages my belief. > > Bug report updated. > > ==ml > > -- > Michael W. Lucas - mwlucas@michaelwlucas.com, Twitter @mwlauthor > http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"