History log of /freebsd-10.0-release/sbin/gbde/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255977 01-Oct-2013 pluknet

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


249657 19-Apr-2013 ed

Add the Clang specific -Wmissing-variable-declarations to WARNS=6.

This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.

Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.

Announced on: toolchain@


228610 17-Dec-2011 dim

Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the
alignment warnings than using WARNS=3, and it also works for clang.

MFC after: 1 week


211725 23-Aug-2010 imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.


209052 11-Jun-2010 uqs

Remove dead variable assignments

Found by: clang static analyzer
Verified by: md5(1)


203916 15-Feb-2010 uqs

Bump WARNS where possible.

Checked by: make universe
Approved by: ed (co-mentor)


168420 06-Apr-2007 pjd

Remove temporary files when there are no longer needed.


162395 18-Sep-2006 ru

Markup fixes.


155453 08-Feb-2006 cperciva

Teach gbde(8) to use a key file in addition to a passphrase. This
makes it practical to use GBDE for "something you have plus something
you know" security together with a USB flash drive.

Reviewed by: phk
MFC after: 7 days


143431 11-Mar-2005 ume

gbde(8) is also rejndael user.

Reported by: phk


141769 12-Feb-2005 ru

- Fixed description of the "destroy" command options.
- Document the "nuke" command.
- Mention which commands correspond to which functions.


141216 03-Feb-2005 pjd

- Sort options.
- Put 'break' into separate line.


141214 03-Feb-2005 pjd

Fix whitespace.


141198 03-Feb-2005 pjd

- Remove bogus O_CREAT flag. We really don't want to create a file here.

PR: bin/67793
Submitted by: Amir Shalem <amir@boom.org.il>

- Sync usage with manual page.

Approved by: phk
MFC after: 1 week


135035 10-Sep-2004 phk

Fix a type bug which sometimes wrote unusable lock sectors on the disk.


134841 06-Sep-2004 pjd

Allow to setup GBDE on providers which contain '/' in their names,
e.g. mirror/<name>, stripe/<name>.

Approved by: phk


131101 25-Jun-2004 sobomax

o Fix semantics of comparison function for qsort(3). According to qsort(3)
manpage:

The comparison function must return an integer less than, equal to, or
greater than zero if the first argument is considered to be respectively
less than, equal to, or greater than the second.

Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works
but for the number of items to be sorted less than 7 due to special case
handling in qsort(3);

o add missing '\n' to one of usage() calls.

Approved by: phk


129603 23-May-2004 brueffer

Fix typo

Submitted by: edwin


129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


125578 07-Feb-2004 phk

Fix the last and most important bit of the test case to test the same
binary as the rest of it.

Add MD5 check that the md(4) device gets set up correctly.


125477 05-Feb-2004 des

Don't create a template file if we're not going to let the user edit it.


125473 05-Feb-2004 pjd

Fixed some non-critical memory leaks and one temporary file leak
(theoretical).

Approved by: phk, scottl (mentor)


125387 03-Feb-2004 des

Mechanical whitespace cleanup. Also, note that previous commit was

Sponsored by: Teleplan AS


125386 03-Feb-2004 des

Remove newline characters from error strings.


123017 27-Nov-2003 phk

Clarify that the encrypted device is called foo.bde and mention that
unmounting it before detaching GBDE is a good idea.

Insisted on by: Flemming Jacobsen <fj@batmule.dk>
Approveed by: re@


121169 17-Oct-2003 phk

Make the regression test run also with obj directories.


121073 13-Oct-2003 phk

Insert an overview of the plans here, in case I get run over by a bus.


120969 10-Oct-2003 phk

I think it is more correct to use modfind() than kldfind() here.


120878 07-Oct-2003 phk

Improve regression test with an image file which must work.


120877 07-Oct-2003 phk

Autoload kernel module if necessary.

Submitted by: mr


120876 07-Oct-2003 phk

Interior decoration changes.


115624 01-Jun-2003 phk

Simplify the GEOM OAM api: Drop the request type, and let everything
hinge on the "verb" parameter which the class gets to interpret as
it sees fit.

Move the entire request into the kernel and move changed parameters
back when done.


115104 17-May-2003 ru

Moved libgeom.so dependencies to where they belong.

Reviewed by: phk
Approved by: re (scottl)


113558 16-Apr-2003 ru

Normalize, fix ``make checkdpadd''.


113466 14-Apr-2003 phk

Avoid off_t -> integer overflow when sorting the locksector addresses.


113014 03-Apr-2003 phk

Don't pull in geom_enc.c any more.


112877 31-Mar-2003 phk

Use new GEOM OAM. Kernels have supported this for a number of days, so
people should be OK.


111961 07-Mar-2003 phk

Remove reference to unavailable paper.


111298 23-Feb-2003 tjr

Fix two unsafe uses of sprintf().


111296 23-Feb-2003 tjr

Correct some err() format string bugs.


108060 18-Dec-2002 phk

Solve another bug in the mapping code: correctly skip lock sectors.
Make sure sector zero is protected if it contains metadata.

Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil
but appearntly does the right thing and passes the test-vectors.

MFC Candidate.


108052 18-Dec-2002 phk

Fix two blunders in the mapping functions which can lead to corrupt data,
for request sizes larger than the sectorsize or for multi-key setups.

See warning mailed to current@ for details of recovery.

Found by: Marcus Reid <marcus@blazingdot.com>


108020 18-Dec-2002 phk

Untwist a twisty bit of logic which gcc for some reason cannot see
through on ia64.


107982 17-Dec-2002 phk

A couple of stylistic improvements.


107773 12-Dec-2002 ru

mdoc(7) police: markup overhaul.

Approved by: re


107455 01-Dec-2002 phk

Synchronize usage() with reality.
Semi-automatic handling of /dev prefix for device names.

Sponsored by: DARPA & NAI Labs.
Approved by: re (blanket)


107454 01-Dec-2002 phk

De-danglify the manual page.

Submitted by: ceri
Approved by: re (blanket)


107074 18-Nov-2002 chris

o Bring the NOTICE section into the DESCRIPTION section and wrap it in
.Bf -emphasis ... .Ef
o Grammar/spelling

Sponsored by: DARPA, NAI Labs


106407 04-Nov-2002 phk

Run a revision on the GBDE encryption facility.

Replace ARC4 with SHA2-512.
Change lock-structure encoding to use random ordering rather for obscurity.
Encrypt lock-structure with AES/256 instead of AES/128.
Change kkey derivation to be MD5 hash based.
Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen.
Remove clause 3 of the license with NAI Labs consent.

Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David
Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and
suggestions.

This code has still not been stared at for 10 years by a gang of
hard-core cryptographers. Discretion advised.

NB: These changes result in the on-disk format changing: dump/restore needed.

Sponsored by: DARPA & NAI Labs.


106227 30-Oct-2002 phk

Initialize the new salt field in the lock sector.

Sponsored by: DARPA & NAI Labs


105610 21-Oct-2002 phk

I overlooked an absolute path.

Submitted by: Henric Jungheim <henric@attbi.com>


105543 20-Oct-2002 chris

o Use .Cm for 'attach', 'detach', 'init', 'setkey', and 'destroy' commands
o Fix some punctuation and wording
o Wording consistency in command-line option documentation
o Make use of mdoc's markup a bit more (quoting and the like)

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs


105541 20-Oct-2002 phk

s/dettach/detach/g etc.

Pointed out by: chris


105523 20-Oct-2002 phk

Use .PATH instead of VPATH.

Fix typo in man-page: man-section is 8.


105513 20-Oct-2002 phk

Complete the Geom Based Disk Encryption: Add the OAM utility.

Sponsored by: DARPA and NAI Labs