Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 16:35:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194304] gbde does not announce destroyed keys
Message-ID:  <bug-194304-8-pI9lkP64zt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194304-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194304-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194304

--- Comment #1 from mwlucas@michaelwlucas.com ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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