![]() |
How to compil Truecrypt 7.1 on the NSLU2Install compilation toolsapt-get install build-essential Download dependenciesapt-get install libfuse2 apt-get install libfuse-dev apt-get install pkg-config cd /usr/src # Make a dir for PKCS mkdir PKCS cd PKCS wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/cryptoki.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ct-kip.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/opt-pkcs11.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20a3d3.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t-consolidated-d1.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h.org cd .. # Download wxGTK-2.8.7 and untar it wget http://kent.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.8.7.tar.gz tar xvzf wxGTK-2.8.7.tar.gz # Download Truecrypt 7.1 and untar it wget "http://www.truecrypt.org/download/transient/633759d341/TrueCrypt%207.1%20Source.tar.gz" tar xvzf "TrueCrypt 7.1 Source.tar.gz" Not needed anymore with Truecrypt 7.1 :
RMD160Transform ((uint32 *) ctx->state, (const uint32 *) input);
memcpy(ctx->buffer, input, RIPEMD160_BLOCK_LENGTH); RMD160Transform ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);
Truecrypt compilationcd /usr/src/truecrypt-7.1-source make NOGUI=1 PKCS11_INC=/usr/src/PKCS WX_ROOT=/usr/src/wxGTK-2.8.7 wxbuild make NOGUI=1 PKCS11_INC=/usr/src/PKCS WX_ROOT=/usr/src/wxGTK-2.8.7 WXSTATIC=1 #Test generated executable cd Main ./truecrypt --test Self-tests of all algorithms passed #Installation chown bin:bin truecrypt chmod 755 truecrypt cp -p truecrypt /usr/bin Enjoy ! |