Re: gbde destroy doesn't match man page?

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 26 Aug 2014 17:23:53 -0400
On Tuesday, August 26, 2014 2:23:12 am Poul-Henning Kamp wrote:
> --------
> In message <2945485.ZemF81RAkB_at_ralph.baldwin.cx>, John Baldwin writes:
> >On Saturday, August 23, 2014 10:16:42 AM Poul-Henning Kamp wrote:
> >> --------
> >> In message <20140820215522.GA92455_at_bewilderbeast.blackhelicopters.org>,
> >> "Michae
> >> l W. Lucas" writes:
> >> >Playing with GBDE for my FreeBSD disk book, on:
> >> >
> >> ># uname -a
> >> >FreeBSD storm 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r269010: Wed Jul 23
> >> >11:13:17 EDT 2014     mwlucas_at_storm:/usr/obj/usr/src/sys/GENERIC  amd64
> >> >
> >> >According to the man page, I should be able to destroy all copies of
> >> >the key with gbde destroy <device> -n -1. It's in the examples. When I
> >> 
> >> >try it I get:
> >> I think that is an oversight in the code.
> >
> >Can you expand on this?  I.e. what should the code do if it is fixed?
> 
> Hmm, now that I think about it, -n doesn't make sense because any 
> one of the four keys can open the volume as needed to blow away the
> masterkey.
> 
> The manual page should just be fixed.

Should the '-n -1' just be removed?  I.e., is 'gbde destroy' sufficient to 
destroy all copies of the key?

-- 
John Baldwin
Received on Tue Aug 26 2014 - 19:24:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC