GBDE not protecting the user
Michael W. Lucas
mwlucas at michaelwlucas.com
Sat Jan 24 20:05:39 UTC 2015
PHK fixed this, it should work just fine now.
On Sat, Jan 24, 2015 at 09:58:08PM +0200, Andrii Stesin wrote:
> Hi,
>
> any news on the topic?
>
> Thanks!
> WBR,
> Andrii
>
>
> On Tue, Oct 14, 2014 at 7:35 PM, Michael W. Lucas
> <mwlucas at michaelwlucas.com> 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 at michaelwlucas.com, Twitter @mwlauthor
> > http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
> > _______________________________________________
> > freebsd-hackers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
--
Michael W. Lucas - mwlucas at michaelwlucas.com, Twitter @mwlauthor
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
More information about the freebsd-hackers
mailing list