Reply
Thread Tools
Posts: 9 | Thanked: 6 times | Joined on Sep 2010 @ Finland
#1
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 =)
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#2
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
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following User Says Thank You to lemmyslender For This Useful Post:
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#3
I think you can do something like this to run everything:

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

END
 

The Following User Says Thank You to ToJa92 For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Sep 2010 @ Finland
#4
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.
 
Posts: 9 | Thanked: 6 times | Joined on Sep 2010 @ Finland
#5
Here is package if somebody might wanna use it: http://www.2shared.com/file/qFlroPKt..._01_armel.html

Picture:

 

The Following User Says Thank You to jo123 For This Useful Post:
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#6
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.

Originally Posted by jo123 View Post
Here is package if somebody might wanna use it: http://www.2shared.com/file/qFlroPKt..._01_armel.html

Picture:

 
Posts: 9 | Thanked: 6 times | Joined on Sep 2010 @ Finland
#7
Well, works fine for me. I can update newer version here tomorrow (some optimizing and stuff), if you want so.
 

The Following 2 Users Say Thank You to jo123 For This Useful Post:
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#8
jo123,

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

Thank you in advance.

Originally Posted by jo123 View Post
Well, works fine for me. I can update newer version here tomorrow (some optimizing and stuff), if you want so.
 
Posts: 9 | Thanked: 6 times | Joined on Sep 2010 @ Finland
#9
 

The Following User Says Thank You to jo123 For This Useful Post:
Posts: 345 | Thanked: 127 times | Joined on Sep 2010
#10
I look forward to trying this out.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:50.