Bug 17783 - package request: veracrypt - a free disk encryption software based on TrueCrypt 7.1a
Summary: package request: veracrypt - a free disk encryption software based on TrueCry...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL: https://www.idrix.fr/Root/content/cat...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-16 11:37 CET by A S
Modified: 2018-02-07 17:53 CET (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
.spec (1.46 KB, text/x-rpm-spec)
2017-04-22 13:55 CEST, Sébastien B.
Details

Description A S 2016-02-16 11:37:53 CET
New version of VeraCrypt 1.17, (TrueCrypt fork).

It's not easy to install without CCM (Centre de Contrôle Mageia) ! (impossible for me, and many people...).

Thank you !

Hodos






Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2016-02-23 12:53:18 CET
Assigning this package request to packagers collectively. On the voluntary basis, one of them might want to package and maintain this piece of software.

Version: 1 => Cauldron
Assignee: bugsquad => pkg-bugs

Comment 2 Florian Hubold 2016-02-24 01:23:38 CET
I've got a package lying around locally which I'm testing, called zulucrypt, which offers TrueCrypt, LUKS and VeraCrypt support, among others:
https://mhogomchungu.github.io/zuluCrypt/

For TrueCrypt support it brings along a bundled copy of tcplay:
https://wiki.archlinux.org/index.php/Tcplay
which is basically a TrueCrypt reimplemantation.

zulucrypt also supports opening VeraCrypt volumes.
Would that also suffice, or do you explicitly need VeraCrypt ?

Status: NEW => ASSIGNED
CC: (none) => doktor5000
Assignee: pkg-bugs => doktor5000

Comment 3 A S 2016-02-24 09:31:04 CET
Florian, I need explicitly and only VeraCrypt. I think that if you or somebody else packs VeraCrypt for "CCM" Mageia, a lot of people will be happy. VeraCrypt seems a solution safe to replace TrueCrypt.Thank you.
Florian Hubold 2016-03-06 16:30:55 CET

Summary: High Security Disk Encryption VeraCrypt is a free disk encryption software brought to you by IDRIX and that is based on TrueCrypt 7.1a. => package request: veracrypt - a free disk encryption software based on TrueCrypt 7.1a

Comment 4 Florian Hubold 2016-03-06 16:38:23 CET
Well, on linux both veracrypt and zulucrypt are just frontends to dm-crypt, and basically both provide the same support for veracrypt volumes. So adding both doesn't make much sense to me, when one project offers more functionality and seems maintained better. See e.g. https://bbs.archlinux.org/viewtopic.php?pid=1566011#p1566011

I've got a package for veracrypt, but it seems to be problematic. Upstream seems to recommend building with a static/bundled versions of wxgtk (same for the official veracrypt packages) which is disregarded for maintenance and security reasons. If we update wxgtk, it's not ensured that veracrypt will also offer a timely update for the bundled version. Also veracrypt in general seems to focus more on windows systems, from what I read.

And when using the veracrypt package on current cauldron, there are quite a few issues with the GUI, seems it's not made to be used with gtk3.
Comment 5 Xavier Matz 2016-03-12 16:51:19 CET
just found this thread while looking for bug reports with wxgtk+gtk3 problems similar to this one: 
https://bugs.mageia.org/show_bug.cgi?id=17956
which is the same as this:
https://bugs.launchpad.net/kicad/+bug/1461698

I didn't try the veracrypt gui mentioned by Florian, but it may very well be that there too, the problems are not in the program gui but one of the many bugs in wxgtk that only occurs when wxgtk is built against gtk3 (as is the case in Mageia), as opposed to GTK2 which is the default in the wxgtk built settings.
The strong message of the second link above is: only build wxgtk against gtk2, not gtk3, or you get that kind of display/refresh/gui problems

CC: (none) => c934w-xavm493b

Comment 6 Florian Hubold 2016-05-09 11:32:16 CEST
As mentioned in bug 17956 veracrypt also seems to require wxgtk3.0, see:

Compiling Application.cpp
In file included from GraphicUserInterface.h:20:0,
                 from Application.cpp:19:
Forms/WaitDialog.h:15:32: fatal error: wx-3.0/wx/msgqueue.h: No such file or directory
compilation terminated.
Comment 7 Rémi Verschelde 2016-05-10 14:04:13 CEST
(In reply to Florian Hubold from comment #6)
> As mentioned in bug 17956 veracrypt also seems to require wxgtk3.0, see:
> 
> Compiling Application.cpp
> In file included from GraphicUserInterface.h:20:0,
>                  from Application.cpp:19:
> Forms/WaitDialog.h:15:32: fatal error: wx-3.0/wx/msgqueue.h: No such file or
> directory
> compilation terminated.

I think that means that it requires wxGtk 3.0, but not necessarily the GTK+3 flavour, wxGtk 3.0 can still be built against GTK+2 (this collision between version numbers of wxGtk and GTK+ itself lead to very weird package names by Fedora :P).
Comment 8 Florian Hubold 2016-05-11 19:49:21 CEST
(In reply to Rémi Verschelde from comment #7)
> I think that means that it requires wxGtk 3.0, but not necessarily the GTK+3
> flavour, wxGtk 3.0 can still be built against GTK+2

Yeah was a little lazy hinting at bug 17956, especially at the last comment, where that was discussed. And even if it can be built against gtk2, seems we won't do that AFAIU due to horrible security issues with old webkit it would also link against.
Comment 9 Sébastien B. 2017-04-22 13:54:48 CEST
Hello,

I have created a functional package for Mageia 6.

Here is the contents of the .spec.

%define debug_package %{nil}

Summary:	Disk encryption software 
Name:		veracrypt
Version:	1.19
Release:	1
License:	Apache License 2.0
Group:		File tools
Url:		https://veracrypt.codeplex.com
Source0:	https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt-VeraCrypt_%{version}.tar.gz
Patch1:		veracrypt-1.0f-2-no-makeself.patch
Patch2:		veracrypt-1.0f-2-desktop.patch 
BuildRequires:	wxgtku3.0-devel
BuildRequires:	nasm
BuildRequires:	fuse-devel
BuildRequires:	imagemagick

%description
Free disk encryption software based on TrueCrypt.

%files
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_iconsdir}/hicolor/*/apps/*

#----------------------------------------------------------------------------

%prep
%setup -qn VeraCrypt-VeraCrypt_%{version}
%patch1 -p1
%patch2 -p1
%build
pushd src
%make
popd

pushd src/Resources/Icons
convert VeraCrypt-16x16.xpm VeraCrypt-16x16.png
convert VeraCrypt-48x48.xpm VeraCrypt-48x48.png
popd

rm -f src/Setup/Linux/usr/bin/veracrypt-uninstall.sh

%install
cp -r src/Setup/Linux/usr %{buildroot}
mkdir -p %{buildroot}%{_iconsdir}/hicolor/16x16/apps/
mkdir -p %{buildroot}%{_iconsdir}/hicolor/48x48/apps/
install -m 0644 src/Resources/Icons/VeraCrypt-16x16.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png
install -m 0644 src/Resources/Icons/VeraCrypt-48x48.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png

%changelog

* Fri Mar 31 2017 Sébastien B <vigenmailbox@gmail.com> 1.19-1
- For Mageia 6



Regards,

Vigen.

CC: (none) => vigenmailbox

Comment 10 Sébastien B. 2017-04-22 13:55:41 CEST
Created attachment 9226 [details]
.spec
Comment 11 Stéphane Couturier 2018-01-30 16:15:36 CET
Hi, 

We currently have 1.19 in the repos. 
Could it be updated to the latest 1.21 ?

https://www.veracrypt.fr/code/VeraCrypt/

Thanks!

CC: (none) => mageia

Comment 12 Florian Hubold 2018-02-07 17:53:17 CET
I'm closing the initial package request as veracrypt has already been added to our repos.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.