This forum has been archived. All content is frozen. Please use KDE Discuss instead.

truecrypt volumes in Dolphin

Tags: None
(comma "," separated)
enda
Registered Member
Posts
50
Karma
0

truecrypt volumes in Dolphin

Tue Sep 03, 2013 6:00 pm
I opened a truecrypt volume using tcplay:

$ sudo tcplay -m truecrypt1 -d /dev/sdb1

Then in Dolphin, I clicked the drive in the left-hand pane to mount it.

Then when unmounting in Dolphin I got the following message in the status bar of Dolphin:
The requested operation has failed.: Not a LUKS crypto device

I was then able to close the truecrypt volume:

$ sudo dmsetup remove truecrypt1


Is there a way to stop the error message?

Also, can Dolphin be able to handle opening truecrypt volumes (using tcplay, and through the Dolphin interface)?
freininghaus
Moderator
Posts
224
Karma
1
OS

Re: truecrypt volumes in Dolphin

Wed Sep 04, 2013 9:12 am
No idea, sorry. All interactions with devices (mounting, unmounting, etc.) are handled by the Solid library for us. But maybe someone else has an idea.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: truecrypt volumes in Dolphin

Wed Sep 04, 2013 10:09 am
It seems Solid or UDisks is assuming all "encrypted" volumes are LUKS volumes - which is not the case here.
Can you run "udisks --monitor" to see the activity it is generating, and perform the mount / unmount cycle and examine it to see if the message is coming from UDisks or Solid?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
enda
Registered Member
Posts
50
Karma
0

Re: truecrypt volumes in Dolphin

Mon Sep 09, 2013 3:24 pm
$ udisks --monitor
Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
added: /org/freedesktop/UDisks/devices/sdb
added: /org/freedesktop/UDisks/devices/sdb1
changed: /org/freedesktop/UDisks/devices/sdb
added: /org/freedesktop/UDisks/devices/dm_2d0
changed: /org/freedesktop/UDisks/devices/dm_2d0
...
removed: /org/freedesktop/UDisks/devices/dm_2d0
changed: /org/freedesktop/UDisks/devices/sdb1
removed: /org/freedesktop/UDisks/devices/sdb1
removed: /org/freedesktop/UDisks/devices/sdb
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: truecrypt volumes in Dolphin

Tue Sep 10, 2013 9:40 am
Okay, that looks fairly normal.
I assume the "removed: /org/freedesktop/UDisks/devices/dm_2d0" line is where you ran the dmsetup command to close the Truecrypt volume?

In regards to Truecrypt integration, i'm not sure what form this could take, but it would likely require support in Solid / UDisks2 before KDE / Dolphin could implement it.

As for suppressing the warning message - I suggest you file a bug report at bugs.kde.org, as Solid should only be attempting to use LUKS commands on devices actually using LUKS.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
enda
Registered Member
Posts
50
Karma
0

Re: truecrypt volumes in Dolphin

Wed Sep 11, 2013 9:13 pm
cryptsetup supports opening TrueCrypt containers natively

https://wiki.archlinux.org/index.php/Tr ... cryptsetup

Does Dolphin use cryptsetup to mount LUKS?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: truecrypt volumes in Dolphin

Fri Sep 13, 2013 9:23 am
I'm afraid I wouldn't know - Dolphin would definitely delegate this task to Solid, and Solid likely delegates it to the respective backend it is using, which is probably UDisks or UDisks2 depending on your system. Therefore, whatever they use will be what Dolphin ends up using to mount LUKS based media.

I'm not sure how difficult it would be to add in functionality to handle encrypted file volumes (such as TrueCrypt ones) as a result.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mhogomchungu
Registered Member
Posts
1
Karma
0

Re: truecrypt volumes in Dolphin

Fri Nov 29, 2013 8:48 pm
There is a project at [1] that will allow you to open your truecrypt volume using a Qt based GUI.

ps: i am the developer of the program

[1] http://code.google.com/p/zulucrypt/


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed