![]() For this tutorial I will use Downloads in your home directory. Start seahorse, under the main menu New -> Create a new GPG keyįill in the subsequent information and passwordĢ) Download the PGP key from Truecrypt You can do this with any browser, save the file where you wish. NOTE: Before installing the new version, you should uninstall truecrypt if it is already installed with the provided uninstall script that was installed with the binary: sudo /usr/bin/truecrypt-uninstall.I do not think you can do all of the steps with Seahorse and the seahorse plugins do not seem to be maintained beyond 11.04. Now your newly compiled truecrypt will be ready to use and you can be confident it has no backdoors. Occasionally you might have to add to the make command-line LIBS=-ldl as in this question. Sudo cp Truecrypt_source/Main/truecrypt /usr/local/bin (The Truecrypt binary will be found in the Main folder of the source folder.) cd Truecrypt_source Of course, replace Truecrypt_source with your own real path in the cd command and in the cp command below. You need to supply the name of that pkcs-11 folder containing the header files when running make, so give the correct path if it is different to below. Now download the source code from the truecrypt site and verify it with gpg after getting the public key, if necessary. You can get them all at once with wget, which can use * with ftp downloads: mkdir -p $HOME/src/pkcs-11 You also need some particular PKCS-11 header files from the official RSA site. Here's how I successfully compiled it on 12.04, but it should work for later versions of Ubuntu: sudo apt-get install build-essential nasm libfuse-dev wx-common wx2.8-headers libwxbase2.8-dev libwxsvg-dev libwxgtk2.8-0 libwxgtk2.8-dev There is a plan to audit truecrypt regarding the security of the software and a review of the wording of its license, which you may find interesting. start building: $ LIBS=-ldl make -j 2 PKCS11_INC=/home/USERNAME/src/pkcs-11/.put truecrypt sources to /home/USERNAME/truecrypt-7.1a-source.$ sudo apt-get install build-essential nasm libfuse-dev wx-common wx2.8-headers libwxbase2.8-dev libwxsvg-dev libwxgtk2.8-0 libwxgtk2.8-dev.WizardFrame.cpp:(.text._ZN9TrueCrypt11WizardFrame7SetStepEib+0xe6): undefined reference to `TrueCrypt::Event::Connect(TrueCrypt::EventConnectorBase const&)' ![]() ![]() VolumeSizeWizardPage.cpp:(.text._ZN9TrueCrypt20VolumeSizeWizardSetVolumeSizeEy+0x8f): undefined reference to `TrueCrypt::StringConverter::FromNumber(unsigned long long)'įorms/WizardFrame.o: In function `TrueCrypt::WizardFrame::SetStep(int, bool)': VolumeSizeWizardPage.cpp:(.text._ZNK9TrueCrypt20VolumeSizeWizardGetVolumeSizeEv+0x80): undefined reference to `TrueCrypt::StringConverter::ToUInt64(std::basic_string, std::allocator > const&)'įorms/VolumeSizeWizardPage.o: In function `TrueCrypt::VolumeSizeWizardPage::SetVolumeSize(unsigned long long)': Make: *** Error using $ make -j 2 PKCS11_INC=$HOME/src/pkcs-11 LIBS=-ldl:įorms/VolumeSizeWizardPage.o: In function `TrueCrypt::VolumeSizeWizardPage::GetVolumeSize() const': usr/bin/ld: /home/user/src/truecrypt-7.1a-source/Volume/Volume.a(SecurityToken.o): undefined reference to symbol error adding symbols: DSO missing from command lineĬollect2: error: ld returned 1 exit status WX_DEFINE_EXPORTED_ARRAY_PTR(wxWindow *, wxArrayPages) usr/include/wx-2.8/wx/bookctrl.h:26:1: note: in expansion of macro ‘WX_DEFINE_EXPORTED_ARRAY_PTR’ WX_DEFINE_EXPORTED_TYPEARRAY_PTR(T, name, wxBaseArrayPtrVoid) usr/include/wx-2.8/wx/dynarray.h:829:5: note: in expansion of macro ‘WX_DEFINE_EXPORTED_TYPEARRAY_PTR’ WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class WXDLLEXPORT) usr/include/wx-2.8/wx/dynarray.h:655:5: note: in expansion of macro ‘WX_DEFINE_TYPEARRAY_WITH_DECL_PTR’ _WX_DEFINE_TYPEARRAY_PTR(_wxArray#name, name, base, classdecl) usr/include/wx-2.8/wx/dynarray.h:669:5: note: in expansion of macro ‘_WX_DEFINE_TYPEARRAY_PTR’ When using $ make -j 2 PKCS11_INC=$HOME/src/pkcs-11 I get: ![]() binary identically to the reference-binary Now you might think "ok, we don't need to build", but: To build he used closed-source software and there are proof-of-concepts where a compromised compiler still put backdoors into the binary:Ģ. > So how compile on the latest Ubuntu version (I'm using UbuntuGNOME but that shouldn't matter)? I tried some tutorials for previous Ubuntu versions but they seem not to work any-more? So some think they might be compiled with back-doors which are not in the source code. With the whole NSA thing people tried to re-build identically looking binaries to the ones which provides, but didn't succeed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |