maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Truecrypt mounter tool (https://talk.maemo.org/showthread.php?t=62793)

jo123 2010-09-23 14:00

Truecrypt mounter tool
 
Hello there!

I was planing to create little tool for mounting and dismounting volumes with truecrypt. I'm using Nokia Qt SDK and actually I got dismounting working already. Thats my first actual app with Qt, so I'm doing it most likely in training purpose.

By the way, the problem is that I don't get reading and writing part working in the app.

When I run command "truecrypt -m" with xterminal in device it asks few questions and mounts decided volume after that. With QProcess I can run that command too, but when it comes to answering quoestions I have no idea. I wasn't able to read those questions either (with QProcess). I tried someting with "QProcess->read()" and "QProcess->write()", but not with big sucess.

Thanks and hope you can help =)

lemmyslender 2010-09-23 15:18

Re: Truecrypt mounter tool
 
Don't know if this will help, but here is the command I use in a script:

Code:

truecrypt filelocation mountpoint --non-interactive --password=mypassword

ToJa92 2010-09-23 15:22

Re: Truecrypt mounter tool
 
I think you can do something like this to run everything:

Quote:

truecrypt -m << END
<text to enter first time>
<text to enter second time>
<text to enter third time>
<and so on...>

END

jo123 2010-09-23 15:26

Re: Truecrypt mounter tool
 
Thanks from answers! I'm not able to test those right a way, but I'm pretty sure I'll get the program working. So thanks again =). I'll ask again if I face further problems.

jo123 2010-09-27 13:02

Re: Truecrypt mounter tool
 
Here is package if somebody might wanna use it: http://www.2shared.com/file/qFlroPKt..._01_armel.html

Picture:

http://img155.imageshack.us/img155/8...reenshot00.png

mail_e36 2010-10-22 14:10

Re: Truecrypt mounter tool
 
jo123,

Thank you for your effort on this. Does your tool work now, can it mount and unmount TrueCrypt containers properly?

Please let us know, thank you.

Quote:

Originally Posted by jo123 (Post 827406)


jo123 2010-10-22 22:35

Re: Truecrypt mounter tool
 
Well, works fine for me. I can update newer version here tomorrow (some optimizing and stuff), if you want so.

mail_e36 2010-10-23 05:21

Re: Truecrypt mounter tool
 
jo123,

If you could please update this thread with the newest version we would be very appreciative.

Thank you in advance.

Quote:

Originally Posted by jo123 (Post 848316)
Well, works fine for me. I can update newer version here tomorrow (some optimizing and stuff), if you want so.


jo123 2010-10-23 07:58

Re: Truecrypt mounter tool
 
Here: http://www.2shared.com/file/jtvGreie/truemount_v01.html

cincibluer6 2010-10-24 18:00

Re: Truecrypt mounter tool
 
I look forward to trying this out.

mail_e36 2010-10-29 19:24

Re: Truecrypt mounter tool
 
jo123, thanks for your hard work on this project. I have tested the tool and it seems to work quite well. The only feature request I would ask for is the ability to set the Volume Path (under Setting) by scrolling through the file system and selecting a TrueCrypt file, as opposed to having to type it in manually. This would also be useful if you were to disable the ability for the application to remember the volume path (remembering the volume path is a bit of a vulnerability in the logic flow as well, since we don't want to easily point the hacker towards our truecrypt volume, they should have to work to find it).

Please consider uploading this to the repositories if you have some time.

Thank you again, wonderful job!

Quote:

Originally Posted by jo123 (Post 848506)


fareed_xtreme 2010-10-30 18:38

Re: Truecrypt mounter tool
 
Well, I tried this software but was in no luck... I have put the container file, that is developed in Windows, in the MMC folder and is named TrueCrypt. So under settings do I Type /dev/media/mmc1/TrueCrypt or /media/mmc1/TrueCrypt. I tried both but there is nothin bein said and so I am unclear on whats going on. Can you help as I am a noob to Linux CLI based TrueCrypt

mail_e36 2010-10-31 18:58

Re: Truecrypt mounter tool
 
try creating the file on the device it should work

jo123 2010-11-01 10:27

Re: Truecrypt mounter tool
 
Quote:

Originally Posted by mail_e36 (Post 856997)
jo123, thanks for your hard work on this project. I have tested the tool and it seems to work quite well. The only feature request I would ask for is the ability to set the Volume Path (under Setting) by scrolling through the file system and selecting a TrueCrypt file, as opposed to having to type it in manually. This would also be useful if you were to disable the ability for the application to remember the volume path (remembering the volume path is a bit of a vulnerability in the logic flow as well, since we don't want to easily point the hacker towards our truecrypt volume, they should have to work to find it).

Please consider uploading this to the repositories if you have some time.

Thank you again, wonderful job!

Thanks for tips, I'll check what I can do.

jo123 2010-11-01 14:21

Re: Truecrypt mounter tool
 
Well, that didn't took long...

Here: http://www.2shared.com/file/mEXGphOZ...100_armel.html

By the way, I actually tried to upload file to the repository earlier, but it didn't go so well. I tried both, scratchbox and madde. I even sucefully created *.deb package but from some reason packages were empty and/or they didn't go throught autobuilder (extras-assistant). So those downloadable packages have actually been created using QT Creator =).

mail_e36 2010-11-02 19:00

Re: Truecrypt mounter tool
 
hanks for making the update so quick, this new version is nice.

Quote:

Originally Posted by jo123 (Post 859678)
Well, that didn't took long...

Here: http://www.2shared.com/file/mEXGphOZ...100_armel.html

By the way, I actually tried to upload file to the repository earlier, but it didn't go so well. I tried both, scratchbox and madde. I even sucefully created *.deb package but from some reason packages were empty and/or they didn't go throught autobuilder (extras-assistant). So those downloadable packages have actually been created using QT Creator =).


fareed_xtreme 2010-11-05 11:03

Re: Truecrypt mounter tool
 
Quote:

Originally Posted by mail_e36 (Post 858777)
try creating the file on the device it should work

Created a container in the device and, hell yeah, it works. But one small situation. I have created a location under /media as Crypt on which I would like to mount this container. Does this mounter have any chance of havin this feature? Its mounting on mmc1 where already my Memory card is mounted due to which mounting makes it read only. It would be great if we could select the mounting folder as well.

The Truecrypt mount command that i am using in xterm is:

Code:

truecrypt -k "" -p MY_PASSWORD --protect-hidden=no /media/mmc1/TrueCrypt /media/Crypt
Also after this command is executed, I expect the tracker process to take command immediately. So i type in:

Code:

tracker-processes -r
Also I have to run tracker on dismounting it. Is there anyway that we can add a tick box to run tracker processes (Enabled/Disabled)

Finally, if it has another feature like auto unmounting after 10 minutes etc, would be awesome. It will help forgetful guys like me from leaving my Crypt open makin it pointless for me to even use TrueCrypt :P. Hopefully, the "Sleep" must be able to do the trick i spose.

So Briefly, possible new features suggested (I am just brainstorming from a normal user point of view)

1. Possibility to Mount on any location in the /media folder as specified in the settings. If nothing is specified, should use defaults.

2. Tracker Process Enable/Disable Option which will run tracker-processes -r on mounting and unmounting of the Container or Partition.

3. Auto unmounting in case the Crypt is mounted for a more than X minutes. where X can be specified by the user and corresponds to the timeframe for Sleep.

4. Lastly, the possibility to store a Crypts address using a checkbox button. If unchecked, then it must forget on new session.

I know I have put in loads of stuff in here but all I am tryin is to make this awesome utility awesomer. Thanks a lot.

jo123 2010-11-07 11:20

Re: Truecrypt mounter tool
 
Thanks from ideas. I'll try to make a new version in few weeks if I have some extra time (not any guarantee though).

fareed_xtreme 2010-11-07 11:28

Re: Truecrypt mounter tool
 
Quote:

Originally Posted by jo123 (Post 865873)
Thanks from ideas. I'll try to make a new version in few weeks if I have some extra time (not any guarantee though).

No Issues Joe, you have all the time you need. However, Thanks for taking the initiative to create such a tool that is user friendly.

mail_e36 2010-11-08 15:05

Re: Truecrypt mounter tool
 
Thank you again!

Quote:

Originally Posted by jo123 (Post 865873)
Thanks from ideas. I'll try to make a new version in few weeks if I have some extra time (not any guarantee though).



All times are GMT. The time now is 22:13.

vBulletin® Version 3.8.8