Reply
Thread Tools
Posts: 37 | Thanked: 33 times | Joined on Feb 2008 @ Ukraine, Kharkiv
#21
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's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#22
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.
 
Posts: 37 | Thanked: 33 times | Joined on Feb 2008 @ Ukraine, Kharkiv
#23
Originally Posted by Securix View Post
could do that as a config option
nice - thnx!
What can I do now with 8 lettersinname limit (on FAT)?
 
Securix's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#24
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

Last edited by Securix; 2008-03-27 at 04:48.
 
Securix's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#25
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
 
Posts: 37 | Thanked: 33 times | Joined on Feb 2008 @ Ukraine, Kharkiv
#26
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..

Last edited by DJArty; 2008-03-31 at 11:19.
 
Securix's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#27
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.)

Last edited by Securix; 2008-03-31 at 16:08.
 
Securix's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#28
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
 
Posts: 37 | Thanked: 33 times | Joined on Feb 2008 @ Ukraine, Kharkiv
#29
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

Last edited by DJArty; 2008-04-03 at 06:18.
 
Securix's Avatar
Posts: 107 | Thanked: 26 times | Joined on Jan 2008 @ New Jersey
#30
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)
 
Reply


 
Forum Jump


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