aboutsummaryrefslogtreecommitdiff
path: root/sbin/gbde
Commit message (Collapse)AuthorAgeFilesLines
* 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