Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux version #1

Open
pavroo opened this issue Jan 1, 2016 · 4 comments
Open

Linux version #1

pavroo opened this issue Jan 1, 2016 · 4 comments

Comments

@pavroo
Copy link

pavroo commented Jan 1, 2016

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

@doekbrijder
Copy link

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
Copy link

@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
Copy link

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
Copy link

guther commented Dec 23, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants