gdecrypt crashes when used with truecrypt >= 5

Bug #231303 reported by Klaus Arnhold
10
Affects Status Importance Assigned to Milestone
GDecrypt
Fix Committed
Low
Kjell Braden
gdecrypt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gdecrypt

Crash report was created after typing in the password. Container was successfully opened and mounted

Program was started from terminal:
klaus@main:~$ sudo gdecrypt

(main.py:6656): libglade-WARNING **: unknown attribute `comment' for <property>.

(main.py:6656): libglade-WARNING **: unknown attribute `comment' for <property>.
sn_launcher_context_complete called for an SnLauncherContext that hasn't been initiated
Traceback (most recent call last):
  File "./main.py", line 243, in mount_block
    self.mount()
  File "./main.py", line 458, in mount
    mapped_dev = self.tc_decrypt(part,password, kf_path)
  File "./main.py", line 522, in tc_decrypt
    return os.popen("truecrypt -l | grep -- ' "+part+"$'").readline().split()[0]
IndexError: list index out of range

klaus@main:~$ dpkg -S /usr/bin/gdecrypt
gdecrypt: /usr/bin/gdecrypt

Installed versions:
gdecyrpt: 0.7.2.1-0ubuntu2
truecrypt: 5.1a-0

ProblemType: Crash
Architecture: i386
Date: Sat May 17 09:26:07 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/gdecrypt/main.py
InterpreterPath: /usr/bin/python2.5
Package: gdecrypt 0.7.2.1-0ubuntu2
PackageArchitecture: all
ProcCmdline: python2.5 ./hostname.py
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
PythonArgs: ['./hostname.py']
SourcePackage: gdecrypt
Title: main.py crashed with IndexError in tc_decrypt()
Uname: Linux 2.6.24-16-generic i686
UserGroups:

Tags: apport-crash

Related branches

Revision history for this message
Klaus Arnhold (mail-ks-arnhold) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

This is because gdecrypt can't work with truecrypt >= version 5. However, it should not crash but rather provide a human-friendly error message. Will create a fix in a minute.

Changed in gdecrypt:
status: New → Triaged
assignee: nobody → afflux
importance: Undecided → Low
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Kjell Braden (afflux) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

fixed in revision 119.

Changed in gdecrypt:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdecrypt - 0.7.2.2-0ubuntu1

---------------
gdecrypt (0.7.2.2-0ubuntu1) intrepid; urgency=low

  * New upstream release (LP: #237125)
  * Applied patch to truecrypt >= 5 using dpatch (LP: #231303)
  * Changed homepage URL in copyright and control

 -- Nicolas Van Wambeke <email address hidden> Tue, 03 Jun 2008 17:33:56 +0200

Changed in gdecrypt:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.