aboutsummaryrefslogtreecommitdiff
path: root/sbin/gbde
Commit message (Collapse)AuthorAgeFilesLines
* Fix the last and most important bit of the test case to test the samePoul-Henning Kamp2004-02-071-2/+8
| | | | | | | | | binary as the rest of it. Add MD5 check that the md(4) device gets set up correctly. Notes: svn path=/head/; revision=125578
* Don't create a template file if we're not going to let the user edit it.Dag-Erling Smørgrav2004-02-051-19/+28
| | | | Notes: svn path=/head/; revision=125477
* Fixed some non-critical memory leaks and one temporary file leakPawel Jakub Dawidek2004-02-051-1/+6
| | | | | | | | | (theoretical). Approved by: phk, scottl (mentor) Notes: svn path=/head/; revision=125473
* Mechanical whitespace cleanup. Also, note that previous commit wasDag-Erling Smørgrav2004-02-031-12/+12
| | | | | | | Sponsored by: Teleplan AS Notes: svn path=/head/; revision=125387
* Remove newline characters from error strings.Dag-Erling Smørgrav2004-02-031-2/+2
| | | | Notes: svn path=/head/; revision=125386
* Clarify that the encrypted device is called foo.bde and mention thatPoul-Henning Kamp2003-11-271-0/+9
| | | | | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@ Notes: svn path=/head/; revision=123017
* Make the regression test run also with obj directories.Poul-Henning Kamp2003-10-172-2/+6
| | | | Notes: svn path=/head/; revision=121169
* Insert an overview of the plans here, in case I get run over by a bus.Poul-Henning Kamp2003-10-131-0/+32
| | | | Notes: svn path=/head/; revision=121073
* I think it is more correct to use modfind() than kldfind() here.Poul-Henning Kamp2003-10-101-2/+2
| | | | Notes: svn path=/head/; revision=120969
* Improve regression test with an image file which must work.Poul-Henning Kamp2003-10-072-2/+3316
| | | | Notes: svn path=/head/; revision=120878
* Autoload kernel module if necessary.Poul-Henning Kamp2003-10-071-0/+9
| | | | | | | Submitted by: mr Notes: svn path=/head/; revision=120877
* Interior decoration changes.Poul-Henning Kamp2003-10-071-5/+5
| | | | Notes: svn path=/head/; revision=120876
* Simplify the GEOM OAM api: Drop the request type, and let everythingPoul-Henning Kamp2003-06-011-2/+4
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=115624
* Moved libgeom.so dependencies to where they belong.Ruslan Ermilov2003-05-171-2/+2
| | | | | | | | Reviewed by: phk Approved by: re (scottl) Notes: svn path=/head/; revision=115104
* Normalize, fix ``make checkdpadd''.Ruslan Ermilov2003-04-161-5/+6
| | | | Notes: svn path=/head/; revision=113558
* Avoid off_t -> integer overflow when sorting the locksector addresses.Poul-Henning Kamp2003-04-141-1/+1
| | | | Notes: svn path=/head/; revision=113466
* Don't pull in geom_enc.c any more.Poul-Henning Kamp2003-04-031-3/+1
| | | | Notes: svn path=/head/; revision=113014
* Use new GEOM OAM. Kernels have supported this for a number of days, soPoul-Henning Kamp2003-03-312-40/+29
| | | | | | | people should be OK. Notes: svn path=/head/; revision=112877
* Remove reference to unavailable paper.Poul-Henning Kamp2003-03-071-5/+0
| | | | Notes: svn path=/head/; revision=111961
* Fix two unsafe uses of sprintf().Tim J. Robbins2003-02-231-3/+8
| | | | Notes: svn path=/head/; revision=111298
* Correct some err() format string bugs.Tim J. Robbins2003-02-231-7/+7
| | | | Notes: svn path=/head/; revision=111296
* Solve another bug in the mapping code: correctly skip lock sectors.Poul-Henning Kamp2002-12-182-1/+7
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=108060
* Fix two blunders in the mapping functions which can lead to corrupt data,Poul-Henning Kamp2002-12-181-1/+21
| | | | | | | | | | | 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> Notes: svn path=/head/; revision=108052
* Untwist a twisty bit of logic which gcc for some reason cannot seePoul-Henning Kamp2002-12-181-4/+4
| | | | | | | through on ia64. Notes: svn path=/head/; revision=108020
* A couple of stylistic improvements.Poul-Henning Kamp2002-12-172-5/+6
| | | | Notes: svn path=/head/; revision=107982
* mdoc(7) police: markup overhaul.Ruslan Ermilov2002-12-121-23/+37
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107773
* Synchronize usage() with reality.Poul-Henning Kamp2002-12-011-8/+19
| | | | | | | | | | Semi-automatic handling of /dev prefix for device names. Sponsored by: DARPA & NAI Labs. Approved by: re (blanket) Notes: svn path=/head/; revision=107455
* De-danglify the manual page.Poul-Henning Kamp2002-12-011-6/+6
| | | | | | | | Submitted by: ceri Approved by: re (blanket) Notes: svn path=/head/; revision=107454
* o Bring the NOTICE section into the DESCRIPTION section and wrap it inChris Costello2002-11-181-11/+12
| | | | | | | | | | .Bf -emphasis ... .Ef o Grammar/spelling Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=107074
* Run a revision on the GBDE encryption facility.Poul-Henning Kamp2002-11-043-48/+106
| | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=106407
* Initialize the new salt field in the lock sector.Poul-Henning Kamp2002-10-301-2/+3
| | | | | | | Sponsored by: DARPA & NAI Labs Notes: svn path=/head/; revision=106227
* I overlooked an absolute path.Poul-Henning Kamp2002-10-211-1/+1
| | | | | | | Submitted by: Henric Jungheim <henric@attbi.com> Notes: svn path=/head/; revision=105610
* o Use .Cm for 'attach', 'detach', 'init', 'setkey', and 'destroy' commandsChris Costello2002-10-201-15/+28
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=105543
* s/dettach/detach/g etc.Poul-Henning Kamp2002-10-202-12/+12
| | | | | | | Pointed out by: chris Notes: svn path=/head/; revision=105541
* Use .PATH instead of VPATH.Poul-Henning Kamp2002-10-202-2/+3
| | | | | | | Fix typo in man-page: man-section is 8. Notes: svn path=/head/; revision=105523
* Complete the Geom Based Disk Encryption: Add the OAM utility.Poul-Henning Kamp2002-10-205-0/+1010
Sponsored by: DARPA and NAI Labs Notes: svn path=/head/; revision=105513