Free LUKS, a free (non-GPL) implementation of Linux Unified Key Setup (it's disk crypto)
C++ C CMake Shell
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
scrypt Add basic tests for scrypt (just pbkdf2+hmac+sha256 now) Apr 27, 2015
test Use c++11 for as much as I can. Apr 16, 2012
tools Use c++11 for as much as I can. Apr 16, 2012
.gitignore Use a build/ directory with build.sh, port tests to CMake. Mar 25, 2012
CMakeLists.txt Use c++11 for as much as I can. Apr 16, 2012
README Use c++11 for as much as I can. Apr 16, 2012
STYLE Use c++11 for as much as I can. Apr 16, 2012
af.cpp Use c++11 for as much as I can. Apr 16, 2012
af.hpp Use c++11 for as much as I can. Apr 16, 2012
backup.cpp Whitespace improvements. Mar 3, 2012
backup.hpp Whitespace improvements. Mar 3, 2012
build.sh remove foolish == Mar 31, 2012
cast6.c clarifiy the cast6 test a bit Mar 25, 2012
cast6.h Use c++11 for as much as I can. Apr 16, 2012
cipher.cpp Use c++11 for as much as I can. Apr 16, 2012
cipher.hpp Use c++11 for as much as I can. Apr 16, 2012
cipher_spec.cpp Use c++11 for as much as I can. Apr 16, 2012
cipher_spec.hpp Refactored crypt.[ch]pp, partiall added cbc-cts, but it is at this po… Apr 2, 2012
crypt.cpp Use c++11 for as much as I can. Apr 16, 2012
crypt.hpp Use c++11 for as much as I can. Apr 16, 2012
crypto_ops.h Use c++11 for as much as I can. Apr 16, 2012
detect.cpp Use c++11 for as much as I can. Apr 16, 2012
detect.hpp Whitespace improvements. Mar 3, 2012
dm.cpp Update README, drop libuuid dependency. Mar 18, 2012
dm.hpp Use c++11 for as much as I can. Apr 16, 2012
endian.h Use c++11 for as much as I can. Apr 16, 2012
errors.cpp Update copyright comments. Mar 3, 2012
errors.hpp Update copyright comments. Mar 3, 2012
fluks.cpp Use c++11 for as much as I can. Apr 16, 2012
gen_docs.sh Preliminary CMake builds. Mar 4, 2012
gutmann.hpp Whitespace improvements. Mar 3, 2012
gutmann_private.hpp Update copyright comments. Mar 3, 2012
hash.cpp Use c++11 for as much as I can. Apr 16, 2012
hash.hpp Use c++11 for as much as I can. Apr 16, 2012
hmac.cpp Use c++11 for as much as I can. Apr 16, 2012
hmac.hpp Use c++11 for as much as I can. Apr 16, 2012
libdevmapper.h Use c++11 for as much as I can. Apr 16, 2012
luks.cpp Use c++11 for as much as I can. Apr 16, 2012
luks.hpp Use c++11 for as much as I can. Apr 16, 2012
luks_private.hpp Whitespace improvements. Mar 3, 2012
os.cpp Whitespace improvements. Mar 3, 2012
os.hpp Whitespace improvements. Mar 3, 2012
pbkdf2.cpp Use c++11 for as much as I can. Apr 16, 2012
pbkdf2.hpp Use c++11 for as much as I can. Apr 16, 2012
run_test.cpp Use c++11 for as much as I can. Apr 16, 2012
serpent.cpp Switch to BOOST_FOREACH ... five fewer lines overall :) Mar 26, 2012
serpent.h Use c++11 for as much as I can. Apr 16, 2012
serpent_sboxes.hpp Use c++11 for as much as I can. Apr 16, 2012
support.cpp Use c++11 for as much as I can. Apr 16, 2012
support.hpp Whitespace improvements. Mar 3, 2012
sys_fstream.hpp Update copyright comments. Mar 3, 2012
tiger.c Whitespace improvements. Mar 3, 2012
tiger.h Use c++11 for as much as I can. Apr 16, 2012
twofish.c Whitespace improvements. Mar 3, 2012
twofish.h Use c++11 for as much as I can. Apr 16, 2012
twofish_tables.h Simpler in some cases, key_sched() allows wider range of keys. May 10, 2009
util.hpp Use c++11 for as much as I can. Apr 16, 2012
version.hpp Use c++11 for as much as I can. Apr 16, 2012
whirlpool.c Whitespace improvements. Mar 3, 2012
whirlpool.h Use c++11 for as much as I can. Apr 16, 2012

README

fluks, 'free LUKS', is my unencumbered and nicer (than cryptsetup)
implementation of the LUKS (Linux Unified Key Setup) standard for disk
cryptography. Basically, a header is written to disk that includes the private
key in encrypted form, which is used to read/write from the disk. The private
key can be encrypted by multiple passphrases, allowing for (1) easy to
remember passphrases and (2) the ability to add, revoke, or change the allowed
passphrases.

A better place to find build/usage information:
http://wiki.github.com/markuspeloquin/fluks

Markus Peloquin <markus@cs.wisc.edu>

========================================

BUILDING

    Dependencies:
	gcc-4.5 (it's stable in Gentoo now, so I will now depend on it for
	    some C++11 features)
	CMake
	libdevmapper from Device-mapper (sourceware.org/dm)
	boost (boost.org), at least version 1.35.0
	OpenSSL (openssl.org)
	Linux headers (/usr/include/linux)

    In Ubuntu (ugh), it's at least:
	- libboost-dev libboost-filesystem-dev libboost-program-options-dev
	  libboost-regex-dev libboost-system-dev libdevmapper-dev libssl-dev
	  libudev-dev'

    If you would like a dynamically-linked binary, edit the 'static_linking'
    variable in CMakeLists.txt. By default, an entirely statically-linked
    binary is produced to ensure you can't break it by updating boost or
    something.

    Now build:
	$ ./build.sh -j4  (or whatever arguments you like to send to make)

INSTALLING

	# ./build.sh install