cryptosquash

Programming issues and discussion
Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

cryptosquash

Postby Scooby » 01 May 2014, 21:28

I wrote a script that enables you to enclose a bundle in a LUKS container
for encryption.

cryptosquash.sb

The script is based on cryptobox from AUR.

To create a LUKS container:

Code: Select all

cryptosquash c XXXX.sb

the output will be a file called XXXX.img that is encrypted.
This file can be activated in alphaOS by

Code: Select all

cryptosquash a XXXX.img


and dectivated with

Code: Select all

cryptosquash d XXXX.img


cryptosquash uses a modified /usr/bin/bundle to work
(included in cryptosquash.sb)

Only thing i changed is bundle-->check_if_exists() line: 49
from

Code: Select all

if [ ! -f "$BUNDLE" ]; then

to

Code: Select all

  if [ ! -e "$BUNDLE" ]; then

Return to “Scripting and Programming”

Who is online

Users browsing this forum: No registered users and 16 guests

cron