_abandond by upstream_!!
Program to map & mount a cryptodevice with config-files (in my program called profiles).
the program runs suid-root and should be designed to use as normal user
(eg. no more need for root/su/sudo for using a cryptoFS).
http://www.sbox.tugraz.at/home/g/gebi/projects/cryptoconf/cryptoconf_0.7.0/
http://einsteinmg.dyndns.org/projects/cryptoconf/cryptoconf_0.7.0/
current format is <key> <value> :
# should this profile be deaktivated (yes/no)
disabled yes
# /dev/mapper/$CryptoTarget
cryptoTarget crypttest
# Partition with encryption
srcPartition /dev/hdc6
# Mount crypto Partition into this directory
mntPoint /mnt/cryptodata
# Mount options
mntOptions defaults
other options for deeper configuration are added also (cipher, keysize, hash, sector(offset/skip))
TODO:
* get key from /dev/urandom and store it in an gpg encrypted file
(together with all options not necessary for working purpose)
BUGS:
- none yet
STEP-BY-STEP-GUIDE for beginners:
* su (only root should be able to edit the configfiles)
* edit /etc/cryptoconf/default.conf for your needs or make you own profile
* create the directory you gave as MntPoint? in your config (profile)
* start your profile with cryptoconf -c <profile-name> (-c == -create).
With this you'll get the errormessage, that mount couldn't find a Filesystem on
your cryptopartition (quite clear), ignore this warning.
* create an fs of your choice on your cryptopartition-mapping
(mkfs.<filesystem of your choice> /dev/mapper/<name-of-your-cryptopartition-mapping>)
* restart your profile, cryptoconf -c <profile-name>
* adjust the permissions on your cryptopartition (no other user should be able to read anything)
(chmod 0750 <MntPoint>, chown <user who want to use the cryptopartition>:<group>)
* cryptoconf -r <profile-name>
* Congratulations you cryptopartition is now useable as normal user
* change to your normal user
* start your profile: cryptoconf -c <profile-name>
HINT: this is my first perl program and my first *.deb
Help = Ajuda: