| Prev |   1     2   3   4     5   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   EasyCrypt Frontend for TrueCrypt (https://talk.maemo.org/showthread.php?t=15984)

DJArty 2008-03-26 09:41

Re: EasyCrypt Frontend for TrueCrypt
 
Securix
Hi, dm_mod must be remove from memory then exit from EasyCrypt isn't it? )
Some trouble with ext2 - "Wrong password" then try to mount
, with FAT - 8 letters in the name of files.

Securix 2008-03-26 16:24

Re: EasyCrypt Frontend for TrueCrypt
 
So, your suggestion is to unload dm-mod.ko when exiting EasyCrypt? I don't know that leaving it loaded is an issue (it isn't in normal circumstances) but I could do that as a config option to let users unload it on exit.

I know there's issues is mounting ext2, but I've noticed it's usually because of mount point directory permissions. I'm trying to work on making it work smoothly.

DJArty 2008-03-26 21:14

Re: EasyCrypt Frontend for TrueCrypt
 
Quote:

Originally Posted by Securix (Post 160466)
could do that as a config option

nice - thnx! :)
What can I do now with 8 lettersinname limit (on FAT)?

Securix 2008-03-26 21:44

Re: EasyCrypt Frontend for TrueCrypt
 
Truecrypt seems to default to most common filesystem type if no option is specified.

In other words, if you create an ext3 Truecrypt volume, and then mount it without specifying the --filesystem option, Truecrypt will mount it as ext2.

Similarly, if you create a vfat Truecrypt volume, and them mount it without specifying the --filesystem option, Truecrypt will mount it as msdos.

Without going nuts looking for the actual reason, it seems likely that Truecrypt might simply pass the --filesystem option to the mount command, which seems to behave the same way.

I have already fixed the ext3 issue, so I will also add the vfat option. Using vfat will allow you to use long file names more than 8 characters.

I will try to post a new deb package very soon with these updates.

-Anthony

Securix 2008-03-30 00:10

Re: EasyCrypt Frontend for TrueCrypt
 
I have posted easycrypt-maemo-0.2.2.5b.armel.deb on my website.

It has better support for creating and mounting ext2, ext3 and vfat filesystems. The vfat fileysstem will allow you to use long file names.

It also provides the option to unload the dm-mod.ko module when exiting EasyCrypt as suggested by DJArty.

Incidentally, I also successfully formatted an entire SD card with Truecrypt. Of course it will not mount on bootup but it can be mounted with Truecrypt after booting and works reasonably well. I will try to work in support in a future release of EasyCrypt.

As usual please let me know of any bugs or suggestions.

And for now please use the Googlepages url, as the original registrar still hasn't trasferred the securix.net domain over to my usual registrar.

http://www.securix.net-a.googlepages.com

-Anthony

DJArty 2008-03-31 09:13

Re: EasyCrypt Frontend for TrueCrypt
 
Hi! Have some trouble whith exit from EasyCrypt:
Code:

sh:syntax error: "(" unexpexcted (expecting "}")
in circle, (maybe if dont unmount mounted volume, or after unsuccess mounting ext2,vfat volume).
P.S. truecrypt key "shortname=mixed" allow longnames on FAT..

Securix 2008-03-31 13:08

Re: EasyCrypt Frontend for TrueCrypt
 
Can you tell me what line of code that error occurred in? Also if you have any more info how you got that error...I'm not sure I understand what you mean.

Also, if you use vfat, make sure you add

user ALL = NOPASSWD: /sbin/mkfs.vfat

to /etc/sudoers.

If you execute EasyCrypt from the command line like /usr/bin/easycrypt.sh it will print out diagnostic messages as it goes.

I will also look into shortname=mixed mount options.

Thanks,
Anthony

(Also, my domain name finally transferred so www.securix.net and email should work now.)

Securix 2008-04-01 02:25

Re: EasyCrypt Frontend for TrueCrypt
 
DJArty,

I tried adding the shortname=mixed mount option to msdos, but when I do that, it just mounts as vfat anyway. Can you verify?

Also, while testing this, I noticed a bug when mounting vfat, so I fixed that and an update 0.2.2.5c has been posted on http://www.securix.net

-Anthony

DJArty 2008-04-02 21:47

Re: EasyCrypt Frontend for TrueCrypt
 
Code:

sudo mkdir /mnt/tc 2>/dev/null
sudo chmod a+rwx /mnt/tc
truecrypt -u -M noatime,nosuid,nodev,shortname=mixed /media/mmc2/tc.tc /mnt/tc

It's give to me longnames with standard volume maked by truecrypt -c

Securix 2008-04-04 21:19

Re: EasyCrypt Frontend for TrueCrypt
 
Exactly what I'm saying. Do a mount command and see if yours mounted as a vfat filesystem:

Code:


/mnt $ sudo truecrypt -u -M noatime,nosuid,nodev,shortname=mixed /media/mmc2/tc.
tc /mnt/tc
Enter password for '/media/mmc2/tc.tc':

/mnt $ mount | grep tc
/dev/mapper/truecrypt0 on /mnt/tc type vfat (rw,nosuid,nodev,noatime,uid=29999,gid=29999,fmask=0077,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed)



| Prev |   1     2   3   4     5   | Next | Last
All times are GMT. The time now is 21:38.

vBulletin® Version 3.8.8