CipherShed / CipherShedBuilds

Contains the generated and built documentation, data, debug information and executables.
73 stars 16 forks source link

Linux version #1

Open pavroo opened 8 years ago

pavroo commented 8 years ago

Hi That's great that it is back to life. Are you planning a Linux package?

doekbrijder commented 8 years ago

Linux Issue

While TrueCrypt was published as open source, it was never using an open source license. In fact, it uses copyrighted code. The TrueCrypt application's liberal use of licensed code obviously made it not truly open source. To fix this the Ciphershed team is in the process of rewriting the copyrighted code of the TrueCrypt application.

Until we are ready rewriting the code we have to use "Dual-Licensing" when we publish a new version of the CipherShed application. This means that Linux distributions will not accept the CipherShed application as an open source software and they will not include it in their distribution. This does not mean the CipherShed application will not work in Linux, on the contrary. It works like a charm. All it takes, is you downloading the application and compiling it for your Linux distribution yourself.

Process

For now, users will need to compile the Linux version. An example of compiling for Ubuntu you can find in this old post https://pure-privacy.org/2015/08/ubuntu-test-version-of-ciphershed/. Note that these commands may not necessarily be valid anymore or issues may be encountered even if they are. For example, at the time of writing, this will not compile on the very latest version of Ubuntu because of an issue with GCC 5.

If on Ubuntu, try this: If you do not have Git installed use the following command: sudo apt-get update && sudo apt-get install git When Git is installed run the following 2 commands: mkdir ~/src && cd ~/src && git clone https://github.com/CipherShed/CipherShed && cd ~/src/CipherShed && git checkout v0.7.4.0 bin/prepare-ubuntu.sh && bin/build-ubuntu.sh Use this command to start the 0.7.4.0 version of CipherShed: ~/src/CipherShed/src/Main/ciphershed Okay, you should now have version 0.7.4.0 of CipherShed running on your Ubuntu machine. If you have any questions or issues please contact using the forum https://forum.truecrypt.ch/ What you can do to speed up things

The quicker we are done with rewriting the TrueCrypt code the quicker we can leave the dual-licensing situation and release the code as true open source and the quicker we will be part of the different Linux distributions out there. So… chip in and help us with writing code. If you can not write code but want to help anyway consider visiting the pure-privacy.org webpage and help financially.

zetheroo commented 8 years ago

@doekbrijder I am using Ubuntu 16.04.1 and I tried your installation instructions. I had to change the reference to libwxgtk2.8-dev in prepare-ubuntu.sh to libwxgtk3.0-dev since the former mentioned package doesn't exist. Then I ran the 'bin/prepare-ubuntu.sh && bin/build-ubuntu.sh' command which finished with 'make: *\ [all] Error 2'. I am attaching the full result here: log.txt

GigabyteProductions commented 8 years ago

As wx updated from 2.8 to 2.9, and again to 3.0, they introduced more functions to handle more data types (mostly in regards to text). Because of this, the compilers freak out when more than one data-type path can be taken to accomplish the same thing, and calls it 'ambiguity'. There are also a couple of bugs in our code that weren't exposed until a newer wx was used.

We're not compatible with wx above 2.8 because of both of these issues. I've made commits to address both, and it's my understanding that Jason plans to merge them in the next release.

Until that is done, you will either have to clone my repository, and compile from that (making the same libwxgtk-3.0 change to build-ubuntu.sh), or merge the changes from the wx3.0-update branch of my repository, into your local copy. Depending on how up-to-date your local copy is, you might also need to pull some of the new changes, or merge my gcc5-incompatibility-fix branch as well.

If you clone my repository, don't checkout v0.7.4.0, like you would the CipherShed repository. It will check out the 'development' branch by default, which is where I have all the fixes in one place.

guther commented 7 years ago

@GigabyteProductions , muito obrigado! O seu repositório funcionou perfeitamente, bastou apenas corrigir o arquivo prepare-ubuntu.sh mudando o trecho libwxgtk2.8-dev para libwxgtk3.0-dev Muito obrigado.