[GUIDE] Truecrypt

Moderators: meveric, mdrjr, odroid

[GUIDE] Truecrypt

Unread postby spicypixel » Thu Mar 21, 2013 4:55 am

1) Install necessary packages
Code: Select all
apt-get install build-essential libfuse-dev libgtk2.0-dev libwxgtk2.8-dev

2) move to /tmp or anywhere else you don't mind compiling from
3) download http://www.wxwidgets.org/downloads/ wxAll tarball package.
4) untar wxwidgets
Code: Select all
tar -zxvf wxWidgets.tar.gz

5) download http://www.truecrypt.org/downloads2 linux tar.gz
6) untar truecrypt
Code: Select all
tar -zxvf TrueCrypt\ 7.1a\ Source.tar.gz.tar.gz

7) change directory to truecrypt
Code: Select all
cd truecrypt-7.1a-source/

8) run (change the root to wherever you untar the wxwidgets tarball)
Code: Select all
make WX_ROOT=/tmp/wxWidgets-2.8.12 wxbuild

9) run
Code: Select all
make

10) test binary works
Code: Select all
Main/truecrypt

11) if it works
Code: Select all
cp Main/truecrypt /usr/bin


To mount a container:
Code: Select all
truecrypt CONTAINER FILER MOUNTLOCATION -m=nokernelcrypto

example
Code: Select all
truecrypt test.tc /media/sdcard/truecrypt/ -m=nokernelcrypto
spicypixel
 
Posts: 79
Joined: Fri Mar 01, 2013 12:53 am
languages_spoken: english
ODROIDs: U2

Re: [GUIDE] Truecrypt

Unread postby MattiA » Sun Apr 27, 2014 1:47 am

I had to add `make PKCS_INC=/.../PKCS-11[location of the PKCS#11 headers]`.

Finally `make` did not work:

linking truecrypt
/usr/bin/ld: /home/odroid/Downloads/truecrypt-7.1a-source/Volume/Volume.a(SecurityToken.o): undefined link to symbol ’dlsym@@GLIBC_2.4’
/lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [truecrypt] Error 1
make: *** [all] Error 2

What is going on?
MattiA
 
Posts: 11
Joined: Wed Apr 02, 2014 11:12 pm
languages_spoken: english
ODROIDs: Odroid-XU
Odroid-XU-Lite
Odroid - xu3
Parallella-16 Z-7020

Re: [GUIDE] Truecrypt

Unread postby stephensworld » Fri Oct 21, 2016 3:09 am

Maybe someone could help me.

Hardware is Odroid-C2 with Ubuntu

Code: Select all
root@odroid64:/tmp/truecrypt-7.1a-source# make WX_ROOT=/tmp/wxWidgets-2.8.12 wxbuild
Configuring wxWidgets library...
/tmp/wxWidgets-2.8.12/config.guess: unable to guess system type

This script, last modified 2004-08-13, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (/tmp/wxWidgets-2.8.12/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2004-08-13

uname -m = aarch64
uname -r = 3.14.65-73
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Aug 2 08:21:02 BRT 2016

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.14.65-73
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP PREEMPT Tue Aug 2 08:21:02 BRT 2016
configure: error: cannot guess build type; you must specify one
Makefile:292: recipe for target 'wxbuild' failed
make: *** [wxbuild] Error 1
root@odroid64:/tmp/truecrypt-7.1a-source#


Thanks

Stephan
stephensworld
 
Posts: 2
Joined: Fri Oct 21, 2016 3:07 am
languages_spoken: english
ODROIDs: C2

Re: [GUIDE] Truecrypt

Unread postby meveric » Fri Oct 21, 2016 5:16 am

the /tmp/wxWidgets-2.8.12/config.guess script doesn't know aarch64 as an architecture.. you will have to add this in the file manually or else it won't work.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9191
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [GUIDE] Truecrypt

Unread postby stephensworld » Sun Oct 23, 2016 8:31 pm

I updated the config.guess files and compiling worked.

I can create truecrypt volumes but mounting is not possible.
I got the error:
Code: Select all
Error: Invalid characters encountered.


Thanks
stephensworld
 
Posts: 2
Joined: Fri Oct 21, 2016 3:07 am
languages_spoken: english
ODROIDs: C2

Re: [GUIDE] Truecrypt

Unread postby MindyStuckey » Mon Nov 14, 2016 4:23 am

Hi

Where do i download Truecrypt for Windows? :?:
MindyStuckey
 
Posts: 14
Joined: Fri Nov 04, 2016 5:40 pm
languages_spoken: english


Return to Ubuntu (All Linux'es)

Who is online

Users browsing this forum: No registered users and 1 guest