summaryrefslogtreecommitdiffstats
path: root/sbin/gbde
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-13 20:14:02 +0000
committerphk <phk@FreeBSD.org>2003-10-13 20:14:02 +0000
commitb8ead5692b0bd0246b2cadab55cf54faf683ef45 (patch)
tree85d70554ed2a61d107337b0e3993a834f377b3db /sbin/gbde
parenta89e9b5e91fc6ad727421aa848660888ddb46ad9 (diff)
downloadFreeBSD-src-b8ead5692b0bd0246b2cadab55cf54faf683ef45.zip
FreeBSD-src-b8ead5692b0bd0246b2cadab55cf54faf683ef45.tar.gz
Insert an overview of the plans here, in case I get run over by a bus.
Diffstat (limited to 'sbin/gbde')
-rw-r--r--sbin/gbde/gbde.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/sbin/gbde/gbde.c b/sbin/gbde/gbde.c
index 7115b37..6acd0f1 100644
--- a/sbin/gbde/gbde.c
+++ b/sbin/gbde/gbde.c
@@ -30,6 +30,38 @@
* SUCH DAMAGE.
*
* $FreeBSD$
+ *
+ * XXX: Future stuff
+ *
+ * Replace the template file options (-i & -f) with command-line variables
+ * "-v property=foo"
+ *
+ * Introduce -e, extra entropy source (XOR with /dev/random)
+ *
+ * Introduce -E, alternate entropy source (instead of /dev/random)
+ *
+ * Introduce -i take IV from keyboard or
+ *
+ * Introduce -I take IV from file/cmd
+ *
+ * Introduce -m/-M store encrypted+encoded masterkey in file
+ *
+ * Introduce -k/-K get pass-phrase part from file/cmd
+ *
+ * Introduce -d add more dest-devices to worklist.
+ *
+ * Add key-option: selfdestruct bit.
+ *
+ * New/changed verbs:
+ * "onetime" attach with onetime nonstored locksector
+ * "key"/"unkey" to blast memory copy of key without orphaning
+ * "nuke" blow away everything attached, crash/halt/power-off if possible.
+ * "blast" destroy all copies of the masterkey
+ * "destroy" destroy one copy of the masterkey
+ * "backup"/"restore" of masterkey sectors.
+ *
+ * Make all verbs work on both attached/detached devices.
+ *
*/
#include <sys/types.h>
OpenPOWER on IntegriCloud