Hi as truecrypt is discontinued.
Does anyone know how to compile Veracrypt for Raspbian?
Re: Veracrypt for Raspbian
Hi,
I wrote a how to article about VeraCrypt on the Raspberry Pi : http://howto.wared.fr/raspberry-pi-arch ... veracrypt/.
You need ArchLinux ARM but i'm sure that it would be adaptable to other distributions.
I hope that it can help
Wared
I wrote a how to article about VeraCrypt on the Raspberry Pi : http://howto.wared.fr/raspberry-pi-arch ... veracrypt/.
You need ArchLinux ARM but i'm sure that it would be adaptable to other distributions.
I hope that it can help
Wared
Re: Veracrypt for Raspbian
I just successfully compiled Veracrypt 1.23 on Raspbian Stretch. Wanted to share this in case it might be helpful to someone else.
Download the UNIX tar bzip2 source from https://www.veracrypt.fr/en/Downloads.html
The dependencies to install:
sudo apt install make gcc pkg-config libwxgtk3.0 libfuse-dev
Extract the source files and go into the VeraCrypt_1.23/src directory
Run:
sudo make
Near the end of the make process there should be some "linking veracrypt" message. Following that I got some GTK related failure message, but when I checked inside the VeraCrypt_1.23/src/Main directory the veracrypt binary was there and I was able to run it from the command line. It seems that there is always some GTK failure message that shows up when running from command line, but I was able to successfully mount my encrypted files.
The "make install" does not work, so I manually copied the veracrypt binary to the /usr/local/bin directory.
The GUI is working, too. But, I found that having the GUI do the administrative elevation would fail. So, I start it with "sudo veracrypt" and I was able to mount successfully through the GUI.
Download the UNIX tar bzip2 source from https://www.veracrypt.fr/en/Downloads.html
The dependencies to install:
sudo apt install make gcc pkg-config libwxgtk3.0 libfuse-dev
Extract the source files and go into the VeraCrypt_1.23/src directory
Run:
sudo make
Near the end of the make process there should be some "linking veracrypt" message. Following that I got some GTK related failure message, but when I checked inside the VeraCrypt_1.23/src/Main directory the veracrypt binary was there and I was able to run it from the command line. It seems that there is always some GTK failure message that shows up when running from command line, but I was able to successfully mount my encrypted files.
The "make install" does not work, so I manually copied the veracrypt binary to the /usr/local/bin directory.
The GUI is working, too. But, I found that having the GUI do the administrative elevation would fail. So, I start it with "sudo veracrypt" and I was able to mount successfully through the GUI.
Re: Veracrypt for Raspbian
The normal procedure is to run
Code: Select all
make
To move it to the end location you use
Code: Select all
sudo make install
Re: Veracrypt for Raspbian
thank you for all those previous posts. I have been able to follow your hint and to compile a working version of veracrypt on a Raspberry pi 3 B+ today!
Re: Veracrypt for Raspbian
According to an old post mounting [ a Veracrypt volume ] takes forever (!):
https://randomgooby.wordpress.com/2015/ ... erry-pi-2/
I wonder if any of you who have compiled possibly more recent versions of Veracrypt can advise how long does it take to mount a container on a Raspberry Pi 3 B or B+ ?
Thanks
https://randomgooby.wordpress.com/2015/ ... erry-pi-2/
I wonder if any of you who have compiled possibly more recent versions of Veracrypt can advise how long does it take to mount a container on a Raspberry Pi 3 B or B+ ?
Thanks
Re: Veracrypt for Raspbian
If I recall...
Veracrypt is based off Truecrypt. And Truecrypt did not store the encryption algorithm used when creating the container.
Because of that, when you attempt to open a container it must try each one of its algorithms until the correct one is found.
FWIW, even on my Core i7 there’s a noticeable delay when opening a Veracrypt container.
Veracrypt is based off Truecrypt. And Truecrypt did not store the encryption algorithm used when creating the container.
Because of that, when you attempt to open a container it must try each one of its algorithms until the correct one is found.
FWIW, even on my Core i7 there’s a noticeable delay when opening a Veracrypt container.
Re: Veracrypt for Raspbian
Thanks for thoughts
I compiled Veracrypt 1.23 and tried it
Veracrypt is easier to compile than Truecrypt 7.1a which I have been using on Pi B2 B3 and B3+ for last 3.5 years on a daily basis.
Truecrypt containers open very quickly
The first Veracrypt container that I created took more than 2 minutes to open !
After a bit of investigation I found that Veracrypt has a 'new' PIM parameter (Personal Iterations Multiplier ) whose value can be set to trade-off level of security against speed of opening, I created a new container with a setting of PIM=1 and this opened in about 5 seconds which I think is just about acceptable.
I think the recommendation is that a low PIM value is safe provided that a long password eg 20 characters is used.
I compiled Veracrypt 1.23 and tried it
Veracrypt is easier to compile than Truecrypt 7.1a which I have been using on Pi B2 B3 and B3+ for last 3.5 years on a daily basis.
Truecrypt containers open very quickly
The first Veracrypt container that I created took more than 2 minutes to open !
After a bit of investigation I found that Veracrypt has a 'new' PIM parameter (Personal Iterations Multiplier ) whose value can be set to trade-off level of security against speed of opening, I created a new container with a setting of PIM=1 and this opened in about 5 seconds which I think is just about acceptable.
I think the recommendation is that a low PIM value is safe provided that a long password eg 20 characters is used.
Re: Veracrypt for Raspbian
I am trying to install VeraCrypt with a GUI on my RPi4B 4GB using Raspian Buster. I downloaded VeraCrypt 1.24 Source (UNIX tar bzip2) into my Downloads directory, extracted the files to ~/Downloads/VeraCrypt_1.24 and installed dependencies with:
I then cd to ~/Downloads/VeraCrypt_1.24/src and complied VeraCrypt using:
During the compiling process I received warnings about items being deprecated but everything appeared to progress with the last message reading:
Still in ~/Downloads/VeraCrypt_1.24/src I tried:
and got the following errors:
Where do I go from here?
Code: Select all
sudo apt install make gcc pkg-config libwxgtk3.0 libfuse-dev
Code: Select all
sudo make
Code: Select all
Linking veracrypt
Code: Select all
sudo make install
Code: Select all
mkdir: missing operand
Try 'mkdir --help' for more information.
make[1]: *** [Main.make:257: install] Error 1
make: ** [Makefile:485: install] Error 2
RPi4B 4GB with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
Re: Veracrypt for Raspbian
See https://www.raspberrypi.org/forums/view ... 5#p1426321
The bit where it says "make install" does not work...
The bit where it says "make install" does not work...
Re: Veracrypt for Raspbian
Yes, I read that-B.Goode wrote: ↑Wed Oct 16, 2019 7:34 amSee https://www.raspberrypi.org/forums/view ... 5#p1426321
The bit where it says "make install" does not work...
What file(s) is/are "the veracrypt binary"?The "make install" does not work, so I manually copied the veracrypt binary to the /usr/local/bin directory.
The GUI is working, too. But, I found that having the GUI do the administrative elevation would fail. So, I start it with "sudo veracrypt" and I was able to mount successfully through the GUI.
After I copy "the veracrypt binary" to /usr/local/bin/ how do I get the GUI to work?
RPi4B 4GB with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
Re: Veracrypt for Raspbian
~/Downloads/[extracted veracrypt folder]/src/Setup/Linux/usr/binWhat file(s) is/are "the veracrypt binary"?
Just start in LXTerminal with: veracryptAfter I copy "the veracrypt binary" to /usr/local/bin/ how do I get the GUI to work?
Re: Veracrypt for Raspbian
Thank you unixlunix.
I copied my ~/Downloads/VeraCrypt_1.24/ directory with all the extracted files to /usr/local/bin/. I then used Menu>Preferences>Main Menu Editor>System Tools>New Item to make an entry in System Tools to start Veracrypt via the main menu. For this entry I used the command:
I appears to me to be a rather messy way to do it. I would have preferred to have the relevant VedraCrypt files located somewhere such that the main menu entry command only had to be:
At least what I have now is working for me.
I copied my ~/Downloads/VeraCrypt_1.24/ directory with all the extracted files to /usr/local/bin/. I then used Menu>Preferences>Main Menu Editor>System Tools>New Item to make an entry in System Tools to start Veracrypt via the main menu. For this entry I used the command:
Code: Select all
/usr/local/bin/VeraCrypt_1.24/src/Setup/Linux/usr/bin/veracrypt
Code: Select all
veracrypt
RPi4B 4GB with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
RPi3B+ with Raspian Buster
RPi0W with Raspian Buster
-
- Posts: 1
- Joined: Sat Nov 02, 2019 1:05 pm
Re: Veracrypt for Raspbian
I tried for hours to get 1.24 hotfix-1 working... without any success.
1.24 (one step older, without hotfix-1) worked flawlessly.
Seems that there is a bug in the most recent version of veracrypt.
1.24 (one step older, without hotfix-1) worked flawlessly.
Seems that there is a bug in the most recent version of veracrypt.
- DougieLawson
- Posts: 41035
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Veracrypt for Raspbian
Code: Select all
Compiling jitterentropy-base.c
In file included from ../Crypto/jitterentropy.h:47,
from ../Crypto/jitterentropy-base.c:67:
../Crypto/jitterentropy-base.c: In function ‘jent_loop_shuffle’:
../Crypto/jitterentropy-base-user.h:94:2: error: impossible constraint in ‘asm’
asm volatile("rdtsc" : EAX_EDX_RET(val, low, high));
^~~
make[1]: *** [/tmp/Vera/src/Build/Include/Makefile.inc:25: ../Crypto/jitterentropy-base.o0] Error 1
make: *** [Makefile:422: all] Error 2
You'll have to complain to the nice folks who wrote it.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
- VeraCrypt Team
- Posts: 1
- Joined: Sat Nov 02, 2019 8:57 pm
- Contact: Website Twitter
Re: Veracrypt for Raspbian
VeraCrypt Team here. We have already fixed this issue in master on October 28th after it has been reported to us by Linux Mageia maintainers.
Here is the commit with the fix: https://github.com/veracrypt/VeraCrypt/ ... 5ac7d0b94a
You can use it as patch for 1.24-Hotfix1 source code in order to make the build succeed.
Cheers,
Here is the commit with the fix: https://github.com/veracrypt/VeraCrypt/ ... 5ac7d0b94a
You can use it as patch for 1.24-Hotfix1 source code in order to make the build succeed.
Cheers,
Re: Veracrypt for Raspbian
Does anyone else have performance problems with VeraCrypt mounted containers?
I have a fraction of the write speed compared with the direct write speed.
What mount options do you use?
Is that slow down caused by lack of Hardware-AES?
I have a fraction of the write speed compared with the direct write speed.
What mount options do you use?
Is that slow down caused by lack of Hardware-AES?