Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 21:51:29 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        John Baldwin <jhb@freebsd.org>
Cc:        current@freebsd.org, "Michael W. Lucas" <mwlucas@michaelwlucas.com>
Subject:   Re: gbde destroy doesn't match man page?
Message-ID:  <78350.1409089889@critter.freebsd.dk>
In-Reply-To: <201408261723.53428.jhb@freebsd.org>
References:  <20140820215522.GA92455@bewilderbeast.blackhelicopters.org> <2945485.ZemF81RAkB@ralph.baldwin.cx> <98222.1409034192@critter.freebsd.dk> <201408261723.53428.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <201408261723.53428.jhb@freebsd.org>, John Baldwin writes:

>> 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?

(Sorry about previous empty reply)

Yes, the -n isn't needed because it doesn't operate on any specific key
but all of them. 

This differs from for instance "setkey" where you may use key number
1 to set a new key number 2.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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