|
NAMEgbde —
operation and management utility for Geom Based Disk
Encryption
SYNOPSIS
DESCRIPTIONNOTICE: Please be aware that this code has not yet received
much review and analysis by qualified cryptographers and therefore should be
considered 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 The operational aspect consists of two subcommands: one to open
and attach a device to the in-kernel cryptographic
The management part allows initialization of the master key and
lock sectors on a device ( The The The The Alternatively, the The The The The EXAMPLESTo initialize a device, using default parameters:gbde init /dev/ada0s1f -L
/etc/ada0s1f.lock To attach an encrypted device: gbde attach ada0s1f -l
/etc/ada0s1f.lock The encrypted device has the suffix .bde so a typical command to create and mount a file system would be: newfs /dev/ada0s1f.bde mount /dev/ada0s1f.bde
/secret To detach an encrypted device: gbde detach ada0s1f Please notice that detaching an encrypted device corresponds to physically removing it, do not forget to unmount the file system first. To initialize the second key using a detached lockfile and a trivial pass-phrase: gbde setkey ada0s1f -n 2 -P foo -L
key2.lockfile To invalidate your own masterkey: gbde nuke ada0s1f This will overwrite your masterkey sector with zeros, and results in a diagnostic if you try to use the key again. You can also destroy the other three copies of the masterkey with the -n argument. You can also invalidate your masterkey without leaving a tell-tale sector full of zeros: gbde destroy ada0s1f This will overwrite the information fields in your masterkey sector, encrypt it and write it back. You get a (different) diagnostic if you try to use it. SEE ALSOgbde(4), geom(4)HISTORYThis 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.gbde first appeared in
FreeBSD 5.0.
AUTHORSPoul-Henning Kamp <phk@FreeBSD.org>BUGSThe cryptographic algorithms and the overall design have not been attacked mercilessly for over 10 years by a gang of cryptoanalysts.
Visit the GSP FreeBSD Man Page Interface. |