Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 209091
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: __acid__ <acidr4in@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209091 depends on: Show dependency tree
Bug 209091 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-06 06:30 0000
New Version with Gui got released yesterday

Reproducible: Always

------- Comment #1 From Mark Wagner 2008-02-07 03:11:25 0000 -------
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 From Robin Bankhead 2008-02-07 03:28:26 0000 -------
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 From Ed Wiget 2008-02-08 04:36:53 0000 -------
(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 From Robin Bankhead 2008-02-08 11:16:09 0000 -------
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 From Alon Bar-Lev (RETIRED) 2008-02-08 18:42:05 0000 -------
Added.

------- Comment #6 From 7v5w7go9ub0o 2008-02-11 20:20:52 0000 -------
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 From Alon Bar-Lev (RETIRED) 2008-02-15 08:44:35 0000 -------
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 From Robin Bankhead 2008-02-15 11:23:16 0000 -------
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 From Alon Bar-Lev (RETIRED) 2008-02-15 14:36:46 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug