Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209091 - app-crypt/truecrypt-5.0 version bump
Summary: app-crypt/truecrypt-5.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 06:30 UTC by __acid__
Modified: 2015-11-25 18:44 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description __acid__ 2008-02-06 06:30:37 UTC
New Version with Gui got released yesterday

Reproducible: Always
Comment 1 Mark Wagner 2008-02-07 03:11:25 UTC
5.0 is not a clear upgrade to 4.3a.  It adds a GUI, but at the same time, it removes the ability to create hidden volumes.  The ability to use already-created hidden volumes is not affected.

That said, here are my notes on installing and configuring it for amd64:

1) It has compile-time dependancies on sys-fs/fuse and the *source code* for x11-libs/wxGTK-2.8.
2) In Platform/StringConverter.h and Platform/StringConverter.cpp, it is assumed that "int64" is not a typedef for "int", and that "uint64" is not a typedef for "unsigned long".  This is not the case on amd64
3) Main/StringFormatter.h makes the same assumptions.
4) In Platform/PlatformTest.cpp, it is assumed that the "ULL" suffix for literal integers produces a uint64.
5) Main/Forms/VolumeSizeWizardPage.cpp casts a "void *" to an "int", and then assigns this to a "uint64", which gcc-4.1 doesn't like.
5) The compile process does something after the link step that requires X to be running and the "DISPLAY" environment variable to be set.  Whatever it is, it doesn't appear to be neccessary for producing a working executable.
6) Mounting volumes as non-superuser requires an appropriate entry in /etc/sudoers, and creates a runtime dependancy on app-admin/sudo.
Comment 2 Robin Bankhead 2008-02-07 03:28:26 UTC
FWIW, I just built and ran 5.0 simultaneously with 4.3.  I wonder if something like a slot would be feasible in order to simultaneously provide new hidden volume creation and the gui?

Doesn't sound like a good idea I must admit, but the appeal of this upgrade will be heavily overshadowed for many(?) by the loss of this feature.
Comment 3 Ed Wiget 2008-02-08 04:36:53 UTC
(In reply to comment #1)
> 5.0 is not a clear upgrade to 4.3a.  It adds a GUI, but at the same time, it
> removes the ability to create hidden volumes.  The ability to use
> already-created hidden volumes is not affected.
> 

Are you sure the ability to create hidden volumes is missing from the entire application, or is it maybe just not part of the gui?  Reason I ask, the documentation on the web site is still there for hidden volumes and also the change logs don't mention this at all.  
Comment 4 Robin Bankhead 2008-02-08 11:16:09 UTC
Volume creation can no longer be done at all on the commandline. Here's the usage output for 5.0:

Usage: truecrypt [--auto-mount <str>] [--background-task] [-d] [--cache] [-C] [--explore] [-f] [-h] [-k <str>] [--filesystem <str>] [--fs-options <str>] [-l] [-m <str>] [--new-keyfiles <str>] [--new-password <str>] [--non-interactive] [-p <str>] [--load-preferences] [--protect-hidden] [--protection-keyfiles <str>] [--protection-password <str>] [-v] [--slot <str>] [--test] [-t] [--version] [Volume path] [Mount point]
  --auto-mount=<str>            Auto mount device-hosted/favorite volumes
  --background-task             Start Background Task
  -d, --dismount                Dismount volume
  --cache                       Cache passwords and keyfiles
  -C, --change                  Change password or keyfiles
  --explore                     Open explorer window for mounted volume
  -f, --force                   Force mount/dismount/overwrite
  -h, --help                    Display help
  -k, --keyfiles=<str>          Keyfiles
  --filesystem=<str>            Filesystem type
  --fs-options=<str>            Filesystem options
  -l, --list                    List mounted volumes
  -m, --mount-options=<str>     Mount options
  --new-keyfiles=<str>          New keyfiles
  --new-password=<str>          New password
  --non-interactive             Do not interact with user
  -p, --password=<str>          Password
  --load-preferences            Load user preferences
  --protect-hidden              Protect hidden volume
  --protection-keyfiles=<str>   Keyfiles for protected hidden volume
  --protection-password=<str>   Password for protected hidden volume
  -v, --verbose                 Enable verbose output
  --slot=<str>                  Volume slot number
  --test                        Test internal algorithms
  -t, --text                    Use text user interface
  --version                     Display version information

I note that when --help or an invalid commandline option is given, the program does not exit and ^C is required.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-08 18:42:05 UTC
Added.
Comment 6 7v5w7go9ub0o 2008-02-11 20:20:52 UTC
Ditto all of the above on 2.6.23-gentoo-r3 using version gcc 3.4.6 (Gentoo Hardened 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10). (two kernels; initial fuse/truecrypt install on gentoo source).

Additionally, upon entering "truecrypt" I got an X11 error and no GUI. A little gui did appear when I (successfully) mounted existing (non-fuse) volumes.

(FWIW, I do not understand why they mandate that #@!! gui/widgets stuff)
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-15 08:44:35 UTC
Hello,
Patches are starting to be large...
I get no response from upstream.
Maybe you can help pushing these.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/truecrypt/files/
Comment 8 Robin Bankhead 2008-02-15 11:23:16 UTC
I assume you've filed on their bugtracker already? If not, I'll be happy to do so and/or make some noise on their forums.

Quite annoying the "fire and forget" nature of bug submission over there. Neither bugs nor forum posts are open to public scrutiny, what are they playing at?

Anyway, I'll help how I can. Thanks for your work so far, especially getting the -X option folded-in :)
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-15 14:36:46 UTC
No I did not opened a ticket, this is useless with this upstream.
I also don't use this software...
In the past I sent email directly to developers, and got a negative response to all requests (documented in truecrypt-4.3a.ebuild).

At least for this version they added VERBOSE=1 and EXTRA*FLAGS!!! And as it is not linux module anymore, I hope they will support future fuse versions.

But it looks like they don't provide a proper 64bit suppport and don't allow external wxGTK usage.
Also introducing the wx dependency is somewhat strange for such software.

It would be nice if you are using this software, and can take care of future release compatibility.