Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GBDE(8)			FreeBSD	System Manager's Manual		       GBDE(8)

NAME
     gbde -- operation and management utility for Geom Based Disk Encryption

SYNOPSIS
     gbde attach destination [-l lockfile] [-p pass-phrase]
     gbde detach destination
     gbde init destination [-i]	[-f filename] [-L lockfile] [-P	pass-phrase]
     gbde setkey destination [-n key] [-l lockfile] [-p	pass-phrase]
	  [-L new-lockfile] [-P	new-pass-phrase]
     gbde destroy destination [-n key] [-l lockfile] [-p pass-phrase]
	  [-L lockfile]

DESCRIPTION
     NOTICE: Please be aware that this code has	not yet	received much review
     and analysis by qualified cryptographers and therefore should be consid-
     ered a slightly suspect experimental facility.

     We	cannot at this point guarantee that the	on-disk	format will not	change
     in	response to reviews or bug-fixes, so potential users are advised to be
     prepared that dump(8)/restore(8) based migrations may be called for in
     the future.

     The gbde utility is the only official operation and management interface
     for the gbde(4) GEOM based	disk encryption	kernel facility.  The interac-
     tion between the gbde utility and the kernel part is not a	published
     interface.

     The operational aspect consists of	two subcommands: one to	open and
     attach a device to	the in-kernel cryptographic gbde module, and one to
     close and detach a	device.

     The management part allows	initialization of the master key and lock sec-
     tors on a device, initialization and replacement of pass-phrases and key
     invalidation and blackening functions.

     The -l lockfile argument is used to supply	the lock selector data.	 If no
     -l	option is specified, the first sector is used for this purpose.

     The -L new-lockfile argument specifies the	lock selector file for the key
     modified with the setkey subcommand.

     The -n key	argument can be	used to	specify	to which of the	four keys the
     operation applies.	 A value of 1 to 4 selects the specified key, a	value
     of	0 (the default)	means ``this key'' (i.e., the key used to gain access
     to	the device) and	a value	of -1 means ``all keys''.

     The -f filename specifies an optional parameter file for use under	ini-
     tialization.

     Alternatively, the	-i option toggles an interactive mode where a template
     file with descriptions of the parameters can be interactively edited.

     The -p pass-phrase	argument specifies the pass-phrase used	for opening
     the device.  If not specified, the	controlling terminal will be used to
     prompt the	user for the pass-phrase.  Be aware that using this option may
     expose the	pass-phrase to other users who happen to run ps(1) or similar
     while the command is running.

     The -P new-pass-phrase argument can be used to specify the	new pass-
     phrase to the init	and setkey subcommands.	 If not	specified, the user is
     prompted for the new pass-phrase on the controlling terminal.  Be aware
     that using	this option may	expose the pass-phrase to other	users who hap-
     pen to run	ps(1) or similar while the command is running.

EXAMPLES
     To	initialize a device, using default parameters:

	   gbde	init /dev/ad0s1f -L /etc/ad0s1f.lock

     To	attach an encrypted device:

	   gbde	attach ad0s1f -l /etc/ad0s1f.lock

     To	detach an encrypted device:

	   gbde	detach ad0s1f

     To	initialize the second key using	a detached lockfile and	a trivial
     pass-phrase:

	   gbde	setkey ad0s1f -n 2 -P foo -L key2.lockfile

     To	destroy	all copies of the masterkey:

	   gbde	destroy	ad0s1f -n -1

SEE ALSO
     gbde(4), geom(4)

     Poul-Henning Kamp,	Making sure data is lost: Spook-strength encryption of
     on-disk data, Refereed paper, NORDU2003 conference.

HISTORY
     This software was developed for the FreeBSD Project by Poul-Henning Kamp
     and NAI Labs, the Security	Research Division of Network Associates, Inc.
     under DARPA/SPAWAR	contract N66001-01-C-8035 (``CBOSS''), as part of the
     DARPA CHATS research program.

AUTHORS
     Poul-Henning Kamp <phk@FreeBSD.org>

BUGS
     The cryptographic algorithms and the overall design have not been
     attacked mercilessly for over 10 years by a gang or cryptoanalysts.

FreeBSD	11.1		       October 19, 2002			  FreeBSD 11.1

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | SEE ALSO | HISTORY | AUTHORS | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gbde&sektion=8&manpath=FreeBSD+5.0-RELEASE>

home | help