Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ibug on February 10, 2012, 06:49:14 PM

Title: do your truecrypt.tcz works
Post by: ibug on February 10, 2012, 06:49:14 PM
do your truecrypt.tcz works
not including creating loop with Fat file system
and which TC version you use for it
Title: Re: do your truecrypt.tcz works
Post by: gerald_clark on February 10, 2012, 06:56:34 PM
You should always read the info file to find the source of the package.
http://www.truecrypt.org/ (http://www.truecrypt.org/)  will have the documentation for this package.
Title: Re: do your truecrypt.tcz works
Post by: ibug on February 11, 2012, 12:19:27 AM
you know the truecrypt.tcz
 works on my PC only with Fat file system
 and with no mount capability
it always screams some errors
in the cryptsetup.tcz all ok

and in most linux (Parted Magic) truecrypt works fine on my PC
Title: Re: do your truecrypt.tcz works
Post by: Onyarian on February 11, 2012, 05:20:46 AM
Works OK!

core 4.2.1
ext3
in boot: loop.max_loop=256

mounted encrypted file and mounted encrypted device.

Title: Re: do your truecrypt.tcz works
Post by: ibug on February 11, 2012, 12:05:50 PM
seem only my place do not work
Title: Re: do your truecrypt.tcz works
Post by: Onyarian on February 11, 2012, 07:05:13 PM
I use truecrypt for a long time.
In earlier versions there was a crypto-xts.tcz in the repository (http://distro.ibiblio.org/tinycorelinux/3.x/tcz/crypto-xts-2.6.33.3-tinycore.tcz (http://distro.ibiblio.org/tinycorelinux/3.x/tcz/crypto-xts-2.6.33.3-tinycore.tcz)) witch list file has:
usr/local/lib/modules/2.6.33.3-tinycore/kernel/crypto/gf128mul.ko.gz
usr/local/lib/modules/2.6.33.3-tinycore/kernel/crypto/xts.ko.gz
with the info file:
-------------------------
Title:          crypto-xts-2.6.33.3-tinycore.tcz
Description:    Crypto XTS kernel module
Version:        2.6.33.3-tinycore
Author:      Various
Original-site:  http://kernel.org (http://kernel.org)
Copying-policy: GPL
Size:           8K
Extension_by:   gutmensch
Comments:       Kernel module for crypto XTS support (e.g. truecrypt).

Change-log:     2010/11/02 Initial version
Current:        2010/11/02 Initial version
-----------------------

read:
http://forum.tinycorelinux.net/index.php/topic,11613.msg61690.html#msg61690 (http://forum.tinycorelinux.net/index.php/topic,11613.msg61690.html#msg61690)
http://forum.tinycorelinux.net/index.php/topic,7693.msg41910.html#msg41910 (http://forum.tinycorelinux.net/index.php/topic,7693.msg41910.html#msg41910)

so, I google this two files (gf128mul.c and xts.c) for linux3.0.3 and found it in:
http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/crypto/gf128mul.c?v=linux-3.0.20-ccs-1.8.3 (http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/crypto/gf128mul.c?v=linux-3.0.20-ccs-1.8.3)
http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/crypto/xts.c?v=linux-3.0.20-ccs-1.8.3 (http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/crypto/xts.c?v=linux-3.0.20-ccs-1.8.3)

with this two files I prove to create a crypto-xts-3.0.3.tcz (the form I created it was in a dead PC) and added to the truecrypt.tcz.dep with lvm2.tcz and it works.