PDA

View Full Version : Easy Crypt : A GUI for Truecrypt


Pages : [1] 2

StevenHarper
October 21st, 2007, 05:17 PM
Easy Crypt is simply a Graphical GUI of the simplest nature for the Security Command Line product TrueCrypt.

Its purpose it to provide a very secure storage system for Ubuntu users, at the present version 0.1.6-1 it only creates a single crypt, and this is in your home Directory.

Future versions will allow multiple crypts stored in user defined locations (i.e. USB Pens)

This product requires that you have trucrypt installed, but will prompt and open trucrypt's download site in a browser if you don't already have it.

All crypts created are fully portable and will work on any other OS (with the trucrypt software).

you can read more about it here
http://www.squeezedonkey.com/wiki/linux/index.php?title=EasyCrypt


To download Easy Crypt you can either

Add my PPA (Personal Package Archive) to your soucres.list
Dowload it directly



Adding My PPA

What this means is that you can add the repository to your /etc/apt/sources.list and Easy Crypt will be kept up-to date by the Gnome Update Manager

to do this in a terminal

sudo gedit /etc/apt/sources.list

then add these lines to the bottom of your file

deb http://ppa.launchpad.net/stevenharperuk/ubuntu hardy main restricted universe multiverse
deb-src http://ppa.launchpad.net/stevenharperuk/ubuntu hardy main restricted universe multiverse

then to install, run the following in a terminal

sudo apt-get update
sudo apt-get install easycrypt

from now on when the gnome update manager checks for updates it will also check my PPA for Easy Crypt updates

please note that at the time in writing the 1.6-1 is currently queued, to be built, 1.6 is on there and in the next hour 1.6-1 will arrive, however you MUST get 1.6-1 if you are not running in the EN (english) locale.


Direct Download

http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/


Whats Fixed in 1.6-1

* Fix language to default to English if no current translation availiable

News

Please note that Truecrypt's website now host the Ubuntu 7.10 Gutsy DEB, the Easy Crypt will open a browser there for you.


Easy Crypt currently:

* Makes a crypt for the user at ~/easycrypt-crypt
* Allows users to select a size for the crypt
* Allows users to select & change the crypt password
* Allows users to mount and unmount the crypt
* They are mounted at /media/crypt
* Easy crypt looks for Truecrypt and prompt for download /install (deb package from trucrypts website)
* All interaction with Trucrypt is done via a Status Icon in the Tray
* The default encryption is Whirlpool
* The default file type is vfat
* The program is ready for multilingual support, however translations have not started yet.
* All crypts are portable to other Operating systems

The Expert mode will allow (future builds):

* Choice of crypt location
* Choice of crypt encryption type
* Choice of crypt type (vfat ext2)
* Multiple mounted crypts
* Choice of mount points for crypts

Jose Catre-Vandis
October 21st, 2007, 08:11 PM
Version 1.61 won't run here (EN). This is terminal output:
me@gutsy:~$ easycrypt
failed to load localised text, defaulting to English (en)
Traceback (most recent call last):
File "./EasyCrypt.py", line 50, in <module>
class EasyCrypt:
File "./EasyCrypt.py", line 70, in EasyCrypt
t = gettext.translation("easycrypt", transLoc, languages=['en'])
File "/usr/lib/python2.5/gettext.py", line 484, in translation
raise IOError(ENOENT, 'No translation file found for domain', domain)
IOError: [Errno 2] No translation file found for domain: 'easycrypt'

StevenHarper
October 22nd, 2007, 05:01 AM
Sorry, I know why. I left a DEBUG path in the code, ill just make a 1.6-2 now fast.

Steve

StevenHarper
October 22nd, 2007, 05:25 AM
I have fixed the problem.

The fix is in Version 1.6-2

As a DEB
http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/

I have submitted it to the PPA, however there seems to be a problem with the PPA server as it is not making the DEB files.

You can however add the entries to the sources.list and get the DEB manually for now, then future updates (when the PPA builder works) will auto update you.

Please report any bugs you find

Thanks

Steve

StevenHarper
October 22nd, 2007, 06:45 AM
The PPA is working now, and 1.6-2 is built and in there, so if you put my PPA in your sources.list, Easy Crypt will be kept up-to date by your Apt-Manager

Steve

gweaver
October 22nd, 2007, 12:49 PM
Good stuff.

There is something called ForceField that may be similar to EasyCrypt, is it worth combining these projects?

We also need to persuade the developers to package TrueCrypt for the repos. Lend your support at https://bugs.launchpad.net/ubuntu/+bug/155870

StevenHarper
October 22nd, 2007, 03:57 PM
Forcefield is designed to be a Complete all bells and whistles for Truecrypt, this is not the Aim of Easy Crypt.

Easy Crypt is designed to allow novice users to use it without deep down understanding of Encryption and things like mount points, keyfiles, hashing and other confusing and unhelpful things.

There will however be an Expert mode for Easy Crypt to do more advanced things;like selecting your own crypt location, picking your encryption type and you file system type. However it is never my aim to make a GUI that has every single option, I will for example Never cover the full disk encryption, this isn't because I am unable to do that, it is because I believe that a Product designed for novice users, should never be-able to wipe an entire drive or partition.

Thanks for the Suggestions

Steve

p.s. If I remember correctly upon reading the Truecrypt's site I recall that redistributing the DEB's is against their Term of Agreement, this may have changed, if it has I will be happy to do the Packaging

Choad
October 22nd, 2007, 04:21 PM
when it prompted me to download truecrypt, nothing happened. other than that, works very nicely!

how secure is this? if someone with the right knowhow wanted to look at the files, could they?

also, where is the encrypted filesystem stored?

StevenHarper
October 22nd, 2007, 05:38 PM
When it asks you to open Truecrypt it asks you if you want it to open a browser at
http://www.truecrypt.org/downloads.php

There you can download the Trucrypt installation for your Operating System

After that Truecrypt stores the singe Crypt in your home directory

If your using Ubuntu then thats at

~/.easycrypt-crypt

as the file begins with a dot it is hidden to un-hide it use the shortcut <CTRL>+h

The Crypt is generated with

encryption AES
hash WHIRLPOOL

Both these algorithms have no known vulnerabilities

A random Key is then generated as a source for Random data for the Crypt algorithm, this is deleted after the Crypt has been made.

Finally All mounting is done by using only the Truecrypt commands, files in there should be Ultimately secure, the only way they can get out is if a Program that reads the file creates it's own cache of the file outside of the crypt, the only TRUE way of being fully secure would be to only EVER open the crypt from a LIVE CD, this currently isn't possible with 0.1.6-2, but will be in future releases.

An example of a program that makes a Cache outside of the crypt is the Thumbnail Generator built into nautilus (the program that browses your drives and folders) it creates files at ~/.thumbnails/normal/ you could write a script to delete these every day.....

But your really getting into tinfoil hat territory then...


Steve [Tin-foil-hat-ON]

StevenHarper
October 23rd, 2007, 09:54 PM
Hi again,

Easy Crypt 0.2.0-0 is ready:

New Features


Preferences panel
Expert Mode
Select Crypt panel
Multi Mounts
Create New Crypts
Auto Start on Login


This is a Major rework, and now allows you to mount and create multiple crypts from multiple locations, including removable media, it also switches to use kdesud instead of gksudo when running on Kubuntu.

My next plans are to add more options (in expert mode) when you create a crypt....

Download Options


1. Adding My PPA

What this means is that you can add the repository to your /etc/apt/sources.list and Easy Crypt will be kept up-to date by the Gnome Update Manager

to do this in a terminal

sudo gedit /etc/apt/sources.list

then add these lines to the bottom of your file

deb http://ppa.launchpad.net/stevenharperuk/ubuntu hardy main restricted universe multiverse
deb-src http://ppa.launchpad.net/stevenharperuk/ubuntu hardy main restricted universe multiverse

then to install, run the following in a terminal

sudo apt-get update
sudo apt-get install easycrypt

from now on when the gnome update manager checks for updates it will also check my PPA for Easy Crypt updates


2. Direct Download

http://www.squeezedonkey.com/svn/lin...ses/easycrypt/



Please post with any feedback

Steve

Jose Catre-Vandis
October 24th, 2007, 06:20 AM
Well I am trying hard. Easycrypt and truecrypt installed "OK".

If I create a new crypt, I enter the password twice and then it comes up and tells me I have entered an incorrect password. What gives?

StevenHarper
October 24th, 2007, 06:25 AM
Well I am trying hard. Easycrypt and truecrypt installed "OK".

If I create a new crypt, I enter the password twice and then it comes up and tells me I have entered an incorrect password. What gives?

The most likely problem is that you Upgraded from Feisty and haven't got the Correct DEB for Gutsy Gibbon (7.10) if you have the wrong version on, you can make crypts and not open them.

Go get the correct version from Truecrypt's site
http://www.truecrypt.org/downloads.php

Steve

StevenHarper
October 24th, 2007, 06:31 AM
Easy Crypt 0.2.1-0 is Ready

Fixes:

Fixed Progress bar , stuck or not updating


Enjoy

Steve

StevenHarper
October 24th, 2007, 07:15 AM
Hi again,

I have just been up to some testing!

I have made a crypt (on a USB pen) in WindowsXP using Truecrypt GUI
Then opened it on Ubuntu using Easy Crypt
Files were then added and removed.

I then made a crypt (on a USB pen) in Ubuntu using Easy Crypt
Then opened it on WindowsXP using Truecrypt GUI.
Files were then added and removed.

I am rather pleased with the results.

Steve

Jose Catre-Vandis
October 24th, 2007, 07:35 AM
The most likely problem is that you Upgraded from Feisty and haven't got the Correct DEB for Gutsy Gibbon (7.10) if you have the wrong version on, you can make crypts and not open them.

Go get the correct version from Truecrypt's site
http://www.truecrypt.org/downloads.php

Steve

Actually it was round the other way! (Me being dumb, having spent all yesterday configuring a Gutsy box, I downloaded the gutsy deb instead of the Feisty one for my work PC)

Done the same testing as you and all works fine.

Is there a traveller mode for linux? I flit between the two OS (Windows & Linux) a lot, and need to secure files, but cannot guarantee installs on all linux machines?

Thanks, it all works quite nicely.

StevenHarper
October 24th, 2007, 07:36 AM
Actually it was round the other way! (Me being dumb, having spent all yesterday configuring a Gutsy box, I downloaded the gutsy deb instead of the Feisty one for my work PC)

Done the same testing as you and all works fine.

Is there a traveller mode for linux? I flit between the two OS (Windows & Linux) a lot, and need to secure files, but cannot guarantee installs on all linux machines?

Thanks, it all works quite nicely.

See my last post, you can put the CRYPT on a USB pen, it works fine

Steve

Jose Catre-Vandis
October 24th, 2007, 07:45 AM
Yes, I know that, but can I run easycrypt/truecrypt linux version from a usb stick without installing a distro on the stick? This is for a linux pc that doesn't have easycrypt/truecrypt installed.

The windows traveller mode doesn't seem to want to run under WINE

StevenHarper
October 24th, 2007, 08:18 AM
Yes, I know that, but can I run easycrypt/truecrypt linux version from a usb stick without installing a distro on the stick? This is for a linux pc that doesn't have easycrypt/truecrypt installed.

The windows traveller mode doesn't seem to want to run under WINE

Is there a Traveller mode for Ubuntu Truecrypt?

If there is I can and will Happily make you a Traveller mode of EasyCrypt

Steve

Choad
October 24th, 2007, 12:22 PM
very nice! added your repo now :)

Choad
October 24th, 2007, 12:26 PM
one thing, please store config files in ~./config/easycrypt/

it is the freedesktop standard :) plus it's ugly having files cluttering your desktop

Jose Catre-Vandis
October 24th, 2007, 12:45 PM
Is there a Traveller mode for Ubuntu Truecrypt?

If there is I can and will Happily make you a Traveller mode of EasyCrypt

Steve

Doesn't look like it. I guess we cannot install it to a usb stick? I will only be accessing ubuntu machines?

drf_av
October 24th, 2007, 01:23 PM
Hey, I'm using EasyCrypt right now, great work really. I really hope this will be pushed in Hardy.

Bou
October 24th, 2007, 06:27 PM
Hey, easy crypt is quite cool alright. But:

-could it use the system (tangerine in my case) icons?
-could it prompt for the password when launched, if only a crypt exists?
-could it be operated through left click, instead of right click?
-could files named .crypt open easy cript when double-clicked?
-could the file icon change to a drive icon when opened, instead of showing both?

StevenHarper
October 24th, 2007, 06:48 PM
Hey, I'm using EasyCrypt right now, great work really. I really hope this will be pushed in Hardy.

I am actually spending the next 2-3 days getting the packaging perfect, so it will get accepted on the REVU server to be in Hardy, this will mean a slight change to the entry in /etc/apt/sources.list for those of you using my PPA - I will post a message when I can confirm the new entries.

Thanks for your feedback/support - the main reason I made Easy Crypt is because when I tried to find software in Add and Remove for the Search term Encrypt - all I got was PGP key stuff, basically I saw a gap in there and decided to fill it.

Steve

StevenHarper
October 24th, 2007, 06:54 PM
Hey, easy crypt is quite cool alright. But:

-could it use the system (tangerine in my case) icons?
-could it prompt for the password when launched, if only a crypt exists?
-could it be operated through left click, instead of right click?
-could files named .crypt open easy cript when double-clicked?
-could the file icon change to a drive icon when opened, instead of showing both?

Some good stuff here

could it use the system icons
It does for About, and Exit, but the other are just PNG's

could it prompt for the password when launched, if only a crypt exists
Could you clarify this please

could it be operated through left click, instead of right click
Yes : Im going to do that right now...

could files named .crypt open easy crypt when double-clicked
Yes, but that would be ok If Easy Crypt was not already open, Im not sure how to make a newly spawned Easy Crypt hand the Request to the current one.....

could the file icon change to a drive icon when opened, instead of showing both
If I read this right, do you mean could it mount in the same location : no

Thanks for the suggestions / queries

Steve

Bou
October 24th, 2007, 07:12 PM
Hi Steven,

It does for About, and Exit, but the other are just PNG's"

I do feel quite strongly about this, I'm positive it would look better if it used the system icons. We gnome folks can be such a nitpicky bunch when it comes to integration.

"Could you clarify this please"

Sure. When I fire easy crypt up, I still have to right-click it → choose "open crypt". If I only have one crypt it would be good to have EC ask for the password straight away, since chances are I want to open it.

"Yes : Im going to do that right now..."

Thanks!

"Yes, but that would be ok If Easy Crypt was not already open, Im not sure how to make a newly spawned Easy Crypt hand the Request to the current one..."

Hope someone can help... beats me, personally.

"If I read this right, do you mean could it mount in the same location : no"

Is there any way that the drive icon which appears after entering the password REPLACES the crypt icon? I'll try to elaborate: if I have a crypt file called "hidden", and I open it with EC... is it possible to show a drive icon named "hidden" INSTEAD of the former? That is, where it was?

Guess not, anyway.

StevenHarper
October 25th, 2007, 05:20 AM
I do feel quite strongly about this, I'm positive it would look better if it used the system icons. We gnome folks can be such a nitpicky bunch when it comes to integration.

Right, your my first nitpicky person... so could you suggest which Icons I should use?


If I only have one crypt it would be good to have EC ask for the password straight away, since chances are I want to open it.

This sounds good if EC is only in Normal mode, as the crypt is stored in the standard place, is that ok?


. is it possible to show a drive icon named "hidden" INSTEAD of the former

I understand now, how about a check-box in Preferences that says
"mount crypts with their given filename" - default off
So if you have a Crypt named

monkey

it would mounts as

/media/monkey

is that ok?



steve

StevenHarper
October 25th, 2007, 05:23 AM
0.2.1.3 is ready

This is a packaging change to that the whole package now complies with the REVU server. http://revu.tauware.de/

This allows me start get through the process to get onto the next version of Ubuntu (Hardy Heron)

Anyone using my PPA to keep Easy Crypt up-to-date, must now update the sources.list file.

in a terminal

sudo gedit /etc/apt/sources.list

then add/edit these lines to the bottom of your file (if you had my old PPA in there replace the old ones)

deb http://ppa.launchpad.net/stevenharperuk/ubuntu feisty main restricted universe multiverse
deb-src http://ppa.launchpad.net/stevenharperuk/ubuntu feisty main restricted universe multiverse

thanks

Steve

Choad
October 25th, 2007, 11:39 AM
by the way i DONT think you should ask for the password on program start. this is a security risk.

the password should be asked for when mounting the encrypted volume, then forgotten about straight away, if the password is just floating around in memory, any hacker can get a hold of it.

StevenHarper
October 25th, 2007, 12:11 PM
by the way i DONT think you should ask for the password on program start. this is a security risk.

the password should be asked for when mounting the encrypted volume, then forgotten about straight away, if the password is just floating around in memory, any hacker can get a hold of it.

What I mean is have a check box to AUTO mount the single crypt (if in normal mode) using the normal prompt, but not cache it.

Steve

Choad
October 25th, 2007, 12:54 PM
Hi Steven,

It does for About, and Exit, but the other are just PNG's"

I do feel quite strongly about this, I'm positive it would look better if it used the system icons. We gnome folks can be such a nitpicky bunch when it comes to integration.

"Could you clarify this please"

Sure. When I fire easy crypt up, I still have to right-click it → choose "open crypt". If I only have one crypt it would be good to have EC ask for the password straight away, since chances are I want to open it.

"Yes : Im going to do that right now..."

Thanks!

"Yes, but that would be ok If Easy Crypt was not already open, Im not sure how to make a newly spawned Easy Crypt hand the Request to the current one..."

Hope someone can help... beats me, personally.

"If I read this right, do you mean could it mount in the same location : no"

Is there any way that the drive icon which appears after entering the password REPLACES the crypt icon? I'll try to elaborate: if I have a crypt file called "hidden", and I open it with EC... is it possible to show a drive icon named "hidden" INSTEAD of the former? That is, where it was?

Guess not, anyway.
http://img524.imageshack.us/img524/5981/screenshot1lj8.png

better?

StevenHarper
October 26th, 2007, 11:01 AM
Yes that does look nice, I just need to find what the reference to them in GTK is.

Gtk.STOCK_OK is the ok button

StevenHarper
October 26th, 2007, 06:58 PM
Easy Crypt 0.2.1.9 is ready

The Deb is
easycrypt_0.2.1.9+svn20071026-0ubuntu1_all.deb

This new name coincides with the changes in packaging for the REVU submissions.

I have spent 10+ hours on getting the packaging perfect, there's just so much to learn and so many finicky changes to get right, also as hardy is v new a lot of the documentation is conflicting as new standards are being implemented.


New Features

Can now change mode in Preferences without having to restart
New option to show Stock menu icons
Create crypt now allows you to pick from 1->MB left on disk


Its on the PPA but someone has decided to get the PPA server to build all of OpenOffice, so it may be some time till it gets round to building mine, if you cant wait just grab the DEB from here
http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/

Jose Catre-Vandis
October 27th, 2007, 09:56 PM
All working nicely here.

Left click would help, though I guess I can get used to right click. Also a double click on a crypt file would be a good 'un too. Recently opened crypt list on open would be handy. I noticed that when running a crypt from a flash drive, and on closing it, the file icon remained (locked) even when I reopened the same crypt, so I then had two icons. Easycrypt then offered me both to close next time around.

Still working on secret content to put into these crypt things :)

StevenHarper
October 28th, 2007, 09:44 AM
All working nicely here.

Left click would help, though I guess I can get used to right click. Also a double click on a crypt file would be a good 'un too. Recently opened crypt list on open would be handy. I noticed that when running a crypt from a flash drive, and on closing it, the file icon remained (locked) even when I reopened the same crypt, so I then had two icons. Easycrypt then offered me both to close next time around.

Still working on secret content to put into these crypt things :)


Left click: I want this working
Double Click on Crypt: Tricky, they would have to have a file extension (.crypt)
Recently opened crypts: I'm against this as it advertises where your crypts are
The Flash drive bug: how did you try to close it?


As for secret content: I keep my plans for a Cold Fusion reactor in it...

Steve

Jose Catre-Vandis
October 28th, 2007, 10:10 AM
Left click: I want this working
Great :)

Double Click on Crypt: Tricky, they would have to have a file extension (.crypt)
Then its up to us users :)

Recently opened crypts: I'm against this as it advertises where your crypts are
Could be an option?

The Flash drive bug: how did you try to close it?
Used Easycrypt>Close Crypt

But now is sick, Close Crypt brought up the dialog, i clicked on it, it asked for root password and then did nothing, crypt still open, and Easycrypt will now not close it (nor nautilus)

[edit] sorry sorted that last bit - had a file open from the crypt, somewhere i wasn't looking!

StevenHarper
October 30th, 2007, 10:45 AM
Plans,

I have just answered a forum post where someone cant Get Easy Crypt to open crypts.

This is nearly always that the wrong version of Truecrypt is installed.

There are 2 solutions to this

1. The most Elegant
Package up Truecrypt (from source) and include it as a Dependency
Thus the Package Manager (Synaptic & Apt) will grab the correct version

2. Detect and prompt users that they have the wrong version installed and need to re-go get it.


What are your thoughts?

steve

wyoming
November 2nd, 2007, 03:12 PM
I have Truecrypt in usr/bin and easycrypt has been installed with PPA, therefore with updates I would think. But nothing happens or opens when I click it...??????

StevenHarper
November 2nd, 2007, 05:37 PM
I have Truecrypt in usr/bin and easycrypt has been installed with PPA, therefore with updates I would think. But nothing happens or opens when I click it...??????

There should be a new Tray Icon, which you can RIGHT click on.

Steve

wyoming
November 2nd, 2007, 11:20 PM
Why of course. Sorry...

drf_av
November 3rd, 2007, 07:40 AM
Steven: I heard TrueCrypt has some kind of strange licence, I might be wrong. If there are no licence issues, I think you can go and package it. But, consider, that maybe TrueCrypt will be included in Hardy. So I think the best thing for you is to get in touch with a dev and ask him about the plans they have for TrueCrypt, as I would get a bit pissed off if I had to package something that has been, or will be packaged. Keep it up ;)

Darrena
November 3rd, 2007, 08:42 PM
I took a look at the latest version and I am impressed. The only two items I see issues with are:
1) The default icon doesn't fit... It isn't bad it just looks weird compared to the rest of the theme
2) The ability to use another format like ext2/3 which you indicate that you are investigating doing in an upcoming version.

Other than that it works very well!

StevenHarper
November 5th, 2007, 02:14 PM
Hi, great news Easy Crypt 0.2.1.11 is ready.

The actual great part is that after lots of iterations, it has been reviewed and passed on the REVU server.

What this means it that Easy Crypt will be on the next version of Ubuntu (Hardy Heron) out in April 2008.

You will be-able to search or browse in the APT Manager (Add/Remove Programs) and find and simply tick the box to install it.

You can as usual get the package from my SVN location
http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/

However I do urge you to add my PPA and get AUTO updates
Instructions: http://www.squeezedonkey.com/wiki/linux/index.php?title=EasyCrypt

My next job is starting commincations with TrueCrypt and working towards a TrueCrypt DEB for the Ubuntu repository, if this happens I can get the APT Manager to auto install and Update TrueCrypt when you install Easy Crypt.

Many thanks to the MOTU team for their packaging help and all there effort today (its the full review day today).

Steve

drf_av
November 6th, 2007, 05:24 AM
Congrats Steve, well done ;)

darkangel
November 6th, 2007, 08:53 AM
This is excellent news, well done!

Ux64
November 6th, 2007, 12:37 PM
Way cool! Excellent job!

I just dreamed that there would be as great GUI for 7-zip (http://www.7-zip.org/) too. Q7K (http://k7z.sourceforge.net/7Z/Q7Z/) isn't too handy unfortunately.

StevenHarper
November 6th, 2007, 06:52 PM
Way cool! Excellent job!

I just dreamed that there would be as great GUI for 7-zip (http://www.7-zip.org/) too. Q7K (http://k7z.sourceforge.net/7Z/Q7Z/) isn't too handy unfortunately.

I am looking for my next project (other than packaging TrueCrypt), is this really a gap and is needed, does ARK not have functionallity to provide this?

Steve

StevenHarper
November 10th, 2007, 02:55 PM
Easy Crypt 0.2.1.12 is ready.

Nice new features in this new version, its submitted to REVU as usual

New Features

Added toggle viewable password checkbox to create crypt
Added toggle viewable password checkbox to change crypt password
Added Encryption Algorithm option for Expert
Added Hash Algorithm option for Expert


Download options are the same as always:
http://www.squeezedonkey.com/wiki/linux/index.php?title=EasyCrypt#download

Any suggestions for 0.2.1.13 would be great

Steve

ph030
November 11th, 2007, 03:05 AM
@Ux64, regarding your 7z-Request, what about PeaZip (http://peazip.sourceforge.net/)?

drf_av
November 11th, 2007, 11:51 AM
So you need suggestions, here goes mine: I think that when I choose Open Crypt, it should give me a list of Crypts I have created. So: implement a sort of "Crypt Database", so the user is actually able to have a glance over his crypts and also see which are open and which are not. Of course it should be given the possibility to pick up another crypt via the usual mode, as I can pass a crypt from one PC to another.

StevenHarper
November 11th, 2007, 12:47 PM
How about Recently Open Crypts

You could turn it on/off in Preferences and also choose how many to show in the list...

Would that suffice?

Steve

drf_av
November 11th, 2007, 04:51 PM
Yes, that would be good too ;) It's just a matter of making life of who have to open the same crypt(s) every day faster and easier.

StevenHarper
November 12th, 2007, 10:03 AM
And as its stored in ~/.config/easycrypt-config it will be remembered by user.

wyoming
November 12th, 2007, 03:54 PM
Hi,
I stored file in a crypt. Upon restart, the file is gone (empty window) but the space allocated for it is still there (properties). Is it pending deletion? Or is it somewhere? Or do I have to move another copy of the file again to crypt to work on it?
Thanks.

drf_av
November 12th, 2007, 04:00 PM
@Steven: and maybe you should move config file into a directory. I mean, putting it in .easycrypt or .config/easycrypt/ I think would make everything cleaner. Also, do you need help with translations? ;)

StevenHarper
November 12th, 2007, 05:30 PM
Hi,
I stored file in a crypt. Upon restart, the file is gone (empty window) but the space allocated for it is still there (properties). Is it pending deletion? Or is it somewhere? Or do I have to move another copy of the file again to crypt to work on it?
Thanks.

The file must be there, maybe its hidden try hitting CTRL+H to view hidden files

Steve

StevenHarper
November 12th, 2007, 05:33 PM
@Steven: and maybe you should move config file into a directory. I mean, putting it in .easycrypt or .config/easycrypt/ I think would make everything cleaner. Also, do you need help with translations? ;)

Im still waiting for the translation import to happen

https://translations.launchpad.net/easycrypt/+imports

however if your keen you can modify and email me a version of

http://www.squeezedonkey.com/svn/linux/easycrypt/easycrypt/locale/en/LC_MESSAGES/easycrypt.po

just change the msgstr values

oh and tell me what language it is :p

thanks

Steve

wyoming
November 12th, 2007, 08:59 PM
Here's a screenie.

StevenHarper
November 13th, 2007, 06:21 AM
Here's a screenie.

can you post the output of

cd /media/crypt-0
ls -la

Also can you create another crypt (and check if that has the same behavior)

Steve

drf_av
November 13th, 2007, 11:12 AM
@Steve: did you get the PM?

mat_london
November 13th, 2007, 04:17 PM
Hi

Any news on EXT2 / 3 support, realised symlinks all get broken when using FAT32

Mat

StevenHarper
November 13th, 2007, 07:43 PM
Truecrypt only allows two options for the format

1: FAT
2: None

There is no help on the manual pages
http://www.truecrypt.org/docs/?s=linux-manpage

and when I try any other values that FAT, it fails.

If you find out how to - I can make it work

Steve

gweaver
November 15th, 2007, 04:00 PM
I understand now, how about a check-box in Preferences that says
"mount crypts with their given filename" - default off
So if you have a Crypt named

monkey

it would mounts as

/media/monkey

is that ok?

steve

That would be great. Ideally I'd like my crypts to mount like this.
So blah.tc would mount at /media/blah

BTW, I'm really impressed at how quickly easycrypt has progressed. Much appreciated.

Olav
November 17th, 2007, 10:00 AM
I like Easy Crypt and where it seems to be going. I never had much problems using TrueCrypt on the command line but Easy Crypt does make things, well, easier. So there is truth in advertising ;)

Two things though:

1. As it is, Easy Crypt creates mount points like /media/crypt-0, /media/crypt-1, and so on. It would be nice if a user could choose the name of the mount point, giving it a more descriptive name. Even nicer if the program would suggest a mount name based on the file name of the encrypted volume (minus the file name extension if one is present). For instance, my encrypted file is called /home/olav/Secrets.truecrypt. Easy Crypt could suggest to mount this as /media/Secrets. GUI-wise I guess it is just one extra edit line in the password dialog when you "open" the encrypted volume.

2. Easy Crypt creates encrypted volumes using the FAT file system. This is a stupid inferior file system that I have no use for. Again, it would be nice if this were a configurable option, where a user could choose the file system (FAT, EXT3, etc.) from a drop down box.

Please consider my suggestions, and keep up the good work. It would be great if this useful little program matured a bit more and became a standard part of Ubuntu along with TrueCrypt. Thank you.

EDIT: I must learn to read the entire thread before jumping in. It seems these options have been discussed already. Please think of my post as an encouragement, then.

meho_r
November 17th, 2007, 10:49 AM
Hi,

Steven, I understand that your goal is making an app that would be simple and easy to use and that you don't intend to cover every single feature of TC, but I think that it will be very nice and useful to include keyfiles options. Do you have plans in this regard? I know people who decided to use TC only because of keyfiles. Just a suggestion. Thanks for fantastic app :)

StevenHarper
November 17th, 2007, 02:55 PM
OK these are the so-far Features planned for 0.2.1.13


Mount crypt as file name (option in preferences)
Option in Preferences : allow edit of mount point
Option in Preferences : remember recent crypts
Bugfix : fix bug where crypts with spaces in the path break mounting
Bugfix: fix certain characters need to be escaped for passwords
Add Extra Key files options for Creation and mounting


More info on these :

Allow Edit of mount point
If this is checked then the mount point (defaulted to however you choose) will be in a TextBox on the Enter password screen, you can modify it there.

Remember recent crypts
This will be an extra menu item that has an option of how many you want to remember, this list will persist in the file in ~/.config/

Bugfixes
Because Easy Crypt passes the path and password strings onto the TrueCrypt app via process (like a terminal) some string will need to be escaped.

Extra Key file option in Preferences
I do not want the Open Crypt to be confusing, therefore I will add an extra checkbox to turn on Key File selection on the Create and Open crypt screens.

All these may not make it into 0.2.1.13, however these are all planned features, and should be implemented in the near future.

Please keep the feedback coming, thanks

Steve

StevenHarper
November 18th, 2007, 05:04 PM
Easy Crypt 0.2.1.13 is Ready

The following Features / Bugs have been addressed


Fixed spaces in file path bug for creating and mounting crypts
Fixed escaping password and change password
Unexpected Feature - will never be able to have a \ in the password
Feature - new checkbox in preferences to mount crypts as thier file name
Added close button to select crypt window
Added Open TrueCrypt website to About window
new Translation Italian


So left over for the next version are


Option in Preferences : allow edit of mount point
Option in Preferences : remember recent crypts
Add Extra Key files options for Creation and mounting


Next time I get chance I will start on them next three features

As always you can grab the DEB from http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/

Or better still follow the instructions to get Easy Crypt to auto update
http://www.squeezedonkey.com/wiki/linux/index.php?title=EasyCrypt#Auto_Update

Keep the feedback coming - especially on the new features

thanks

Steve

drf_av
November 19th, 2007, 03:43 AM
@Steve: please mail me any changes or new strings so I can translate them. .13 works good for me too :D

StevenHarper
November 20th, 2007, 09:34 PM
Easy Crypt 0.2.1.14 is ready

New Features


Added new Keyfiles option to Expert section
Added loads of bits to handle keyfiles


Bugfixes


Updated Italian Translations
Made expert and normal translateable
Added skip of closeall to not try to close if crypts never opened
Fixed bug on close window when at password leaves crypt in open crypts list
Swapped most of close buttons for Cancel Buttons - added Cancel buttons to windows that needed them
Sectionized the Preferences Window
Added message to ask you to mount a crypt first if you wish to change it


A quick chunk of info about keyfiles.


Keyfiles can be used instead or in conjunction with passwords.
Once a Crypt is created against a Keyfile, you can only open it with that Keyfile
To change an Existing Crypt to a new Keyfile, you must supply the old and new keyfile


So basically you can use a file and/or password to secure your crypt, you cam also add keyfile security (or remove it) from existing crypt. You can also have just keyfiles as you security (no password).

Please send the Usual feedback,

If you have translated previous versions, please get the PO files from here and mail me any updates
http://www.squeezedonkey.com/svn/linux/easycrypt/easycrypt/locale/

Thanks

Steve

StevenHarper
November 24th, 2007, 12:54 PM
Hi, good news, easycrypt 0.2.1.11 is now in Hardy, it needs to be built yet, but I am sure that will happen soon.
https://www.launchpad.net/ubuntu/hardy/+queue/?queue_state=0&queue_text=easycrypt

I have now gone through the new (for me) process of making an update of my package, basically you make a diff, and then raise a bug against your package. You can see mine here:

https://www.launchpad.net/ubuntu/+source/easycrypt

I have also automated as much of the process as possible, thus making future releases much easier:

Always its best to share, so for other Developers and packages I have included all my build scripts into my SVN

http://www.squeezedonkey.com/svn/linux/branches/easycrypt/0.2.1.14/easycrypt/

The most Used ones are


build.sh
build_compare.sh
upload_REVU.sh
upload_PPA.sh


Please feel free to copy and use them they are all GPLV2

Steve

u-slayer
November 24th, 2007, 05:34 PM
Truecrypt only allows two options for the format

1: FAT
2: None

There is no help on the manual pages
http://www.truecrypt.org/docs/?s=linux-manpage

and when I try any other values that FAT, it fails.

If you find out how to - I can make it work

Steve

I do this all the time. If you want alternate file-systems you have to do five steps.

1. Use truecrypt to create an unformatted partition.
2. Mount the partition, but don't specify a folder.

#truecrypt /dev/sda?

3. Format it with mkfs

#mkfs -t ext3 /dev/mapper/truecrypt0

4. Unmount it.

#truecrypt -d 0

5. Remount it normally.

#truecrypt /dev/sda? /mnt

StevenHarper
November 24th, 2007, 09:59 PM
You are correct, you can do that - the problem I had was that when I was attempting to mount the newly created crypt I was passing the -u parameter, which means to try and open the crypt in USER mode., this is only for non-linux filesystems. The nice cryptic error in /var/log/syslog lead me to this.

So with that solved I have just added and Tested EXT2 and EXT3 support into 0.2.1.15, to do this I have had to add an Option onto the Open crypt dialog, there is now a checkbox

"Unix Filesystem (e.g. ext3)"

This you MUST check to open crypts that are EXT2 or EXT3

as you cannot tell what File System is inside a crypt until you open it, this will have to be checked by the user as they should know.

Also I must note that newly made crypts in EXT3 & EXT2 have root only permissions and I at this point must presume that users understand how to make new directories and chown them in a console.

I would love feedback before I actually make 0.2.1.15 so I can get it as you- the users - want it.

Steve

Darrena
November 25th, 2007, 10:18 AM
You are correct, you can do that - the problem I had was that when I was attempting to mount the newly created crypt I was passing the -u parameter, which means to try and open the crypt in USER mode., this is only for non-linux filesystems. The nice cryptic error in /var/log/syslog lead me to this.

So with that solved I have just added and Tested EXT2 and EXT3 support into 0.2.1.15, to do this I have had to add an Option onto the Open crypt dialog, there is now a checkbox

"Unix Filesystem (e.g. ext3)"


as you cannot tell what File System is inside a crypt until you open it, this will have to be checked by the user as they should know.

Also I must note that newly made crypts in EXT3 & EXT2 have root only permissions and I at this point must presume that users understand how to make new directories and chown them in a console.

I would love feedback before I actually make 0.2.1.15 so I can get it as you- the users - want it.
This you MUST check to open crypts that are EXT2 or EXT3

as you cannot tell what File System is inside a crypt until you open it, this will have to be checked by the user as they should know.

Also I must note that newly made crypts in EXT3 & EXT2 have root only permissions and I at this point must presume that users understand how to make new directories and chown them in a console.

I would love feedback before I actually make 0.2.1.15 so I can get it as you- the users - want it.

Steve

Steve,

This is great news, as for setting the file ownership most languages have a function to permit you to determine the current uid of the logged in user and then you can chown the created folder to that user. Or you could just set the permissions to 0777 but that is unsafe for multi-user systems.

Of course I probably just told you something you already knew ;-)

I have no issue with changing the permissions manually so 2.1.15 looks like a great release to me!

StevenHarper
November 25th, 2007, 10:26 AM
More good news, 0.2.1.14 is now accepted on Hardy

https://www.launchpad.net/ubuntu/+source/easycrypt/+publishinghistory

This means that I am now familiar with the Package Update process, so I am going to now submit 0.2.1.15 and see how that goes.

Steve

StevenHarper
November 25th, 2007, 10:44 AM
Easy Crypt 0.2.1.15 is ready

It has been submitted to my PPA
It has been submitted to Hardy
It can be downloaded as a DEB from my releases

Whats new 0.2.1.15

New Filetypes supported ext2 and ext3
Made password entry screen stay open if you get password wrong


Please give me feedback about the new EXT2 and EXT3 support

Steve

Darrena
November 25th, 2007, 12:19 PM
Easy Crypt 0.2.1.15 is ready

It has been submitted to my PPA
It has been submitted to Hardy
It can be downloaded as a DEB from my releases

Whats new 0.2.1.15

New Filetypes supported ext2 and ext3
Made password entry screen stay open if you get password wrong


Please give me feedback about the new EXT2 and EXT3 support

Steve

So far it worked great, these was a brief (20 second) pause at the end of creating the crypt that seemed to hang my WM but no issues outside of that.

StevenHarper
November 25th, 2007, 12:58 PM
So far it worked great, these was a brief (20 second) pause at the end of creating the crypt that seemed to hang my WM but no issues outside of that.

Hmm that will have been the making of the new File System - I will move that to its own Thread for 0.2.1.16, then it wont freeze the window.

Steve

StevenHarper
November 26th, 2007, 11:00 AM
Hi again;

I have now successfully got the Translations POT file uploaded in Launchpad.

What this means is that Translators can go and fill in (online) the strings for Easy Crypt in their own language and I can then grab them and use them in the nev Version of EasyCrypt.

https://translations.launchpad.net/easycrypt/trunk/+pots/easycrypt

Please consider translating Easy Crypt into your Native language, thanks

To add a NEW language simply HACK this url

https://translations.edge.launchpad.net/easycrypt/trunk/+pots/easycrypt/it/+translate

you need to change this bit

easycrypt/it/+translate

to the language you want to add, so for Romanian (ro) it would be

https://translations.edge.launchpad.net/easycrypt/trunk/+pots/easycrypt/ro/+translate

Steve

StevenHarper
November 26th, 2007, 06:39 PM
Easy Crypt 0.2.1.16 is ready

Fixes / Features are:

Moved making of the new EXT2 and EXT3 File Systems to its own Thread
Made dynamic root location detection
Removed old language code


Any suggestions for new features would be great.

Steve

grashdur
November 27th, 2007, 03:28 PM
It looks like you've made just exactly what I've been wanting -- an easy GUI for Truecrypt in Linux! I just downloaded it and it works wonderfully.:guitar:

But I still have a problem that I've had before with Truecrypt: It runs only in the Administrator (or the root) account. Since I don't want to always be in the Administrator account, I end up having to log in as Administrator, mount the volume, then log in as regular user. Then to dismount (for example, to back up the encrypted file), I have to return to the Administrator account again. And even then, it often fails to dismount. (I know there's a switch-users option but that freezes my computer.) Any easy way to allow Truecrypt (and thus Easy Crypt) to be used in a regular user account? I intend to try upgrading to Gutsy Gibbon this week (hopefully the upgrade will work), so if you think that will solve the problem, feel free to say so.

StevenHarper
November 27th, 2007, 05:29 PM
The problem here is that TrueCrypt requires that you mount, list and dismount crypts as root.

This means that the use must have permissions to sudo up as root.

So standard users can't use TrueCrypt; they have to be privaliged users.

As I simply use TrueCrypt commands in the background, I cannot change this.

sorry

Steve

chinasteve2000
November 29th, 2007, 01:01 AM
So what you're saying is, upgrade to a privileged user, right?

Gladly, I'm the only user on my newest install of Ubuntu. Thanks, Steve, for all your hard work. I've been following your thread here, and I'm going to try it out. I have old Windows TC volumes I'd like to access, and this should do it for me with ease.

We newbies to Ubuntu thank you!

-Steve S.

chinasteve2000
November 29th, 2007, 01:28 AM
Works great, my friend! 5 stars! :KS:KS:KS:KS:KS

JennyCide
November 30th, 2007, 06:41 AM
Excellent, useful and intuitive tool - Thanks! Registered especially to feedback on this.

One bug I think I have;
Create a crypt works fine but if I then attempt to create another crypt inside the first crypt, it fails without warning (GUI closes). This is as expected as I believe the crypt inside crypt feature is something you are working on for a later revision BUT the failed crypt is still listed under the mount points in the 'Close Crypt' section.

One final thing, you have an assumption that people have experience with Truecrypt in order to make a crypt - I guess this is why 'Create a New Crypt' is only available in expert mode but it's not obvious to noobs that the 'Re Create Crypt' option in normal mode will also allow you to create a new crypt.

cheers.
grom/JennyCide

GroupB
December 1st, 2007, 01:31 PM
Excellent tool Steven! I recently switched from Windows to Ubuntu, and was happy to find a great GUI for Truecrypt. In Expert mode, I was able to mount an NTFS Truecrypt volume stored under my windows partition! Excellent job. We all owe you one,

volanin
December 1st, 2007, 03:22 PM
Brazillian Portuguese translation is 100% complete!
:)

If somebody could review (https://translations.launchpad.net/easycrypt/trunk/+pots/easycrypt) it, I'd be pleased.
Enjoy!

StevenHarper
December 1st, 2007, 07:08 PM
Brazillian Portuguese translation is 100% complete!
:)

If somebody could review (https://translations.launchpad.net/easycrypt/trunk/+pots/easycrypt) it, I'd be pleased.
Enjoy!

Great, thanks a lot, that's 2 languages now - These will definitely be in the next version.

Steve

Jadd
December 3rd, 2007, 04:48 PM
Great app! Far the easiest way of using truecrypt I have found so far!

Jadd
December 3rd, 2007, 04:56 PM
The problem here is that TrueCrypt requires that you mount, list and dismount crypts as root.

This means that the use must have permissions to sudo up as root.

So standard users can't use TrueCrypt; they have to be privaliged users.

As I simply use TrueCrypt commands in the background, I cannot change this.

sorry

SteveBut couldn't one just edit the /etc/sudoers file? What would adding this line do? (replacing user with the username)
user ALL=(root) NOPASSWD: /bin/mount

StevenHarper
December 3rd, 2007, 07:33 PM
I think it would be :

steven ALL=(root) NOPASSWD: /bin/truecrypt

If that works (I haven't tested it yet) I could place a checkbox in the Prefrences window named:

Allow Easy Crypt to run Truecrypt as Root (no password)

Who thinks this would be good / bad?

On another note, I am considering adding two buttons on the Create Crypt page


CD size 700MB
DVD size 4480MB


These will change the slide control to the preset sizes - allowing people who plan to burn thier crypt to Disc to select the correct size easily.

good / bad?

Steve

meho_r
December 3rd, 2007, 07:37 PM
0.2.1.16 works great. Ext2 and 3 support is great to have :) Thanks

A little suggestion for future releases: is it possible to make window for closing crypts remains when more than one crypt is opened, so that one don't need to go every time EC > Close... when wants to close a crypt? It'll be nice too that 'close' window has one more option: ''close all'' (truecrypt -d)

StevenHarper
December 3rd, 2007, 07:38 PM
One final thing, you have an assumption that people have experience with Truecrypt in order to make a crypt - I guess this is why 'Create a New Crypt' is only available in expert mode but it's not obvious to noobs that the 'Re Create Crypt' option in normal mode will also allow you to create a new crypt.


As well as reviewing the menu item names in Normal mode

I am considering a first run window

Welcome to Easy Crypt

To get started right click on the Tray Icon

Then have 2 buttons on that window

close
setup the crypt


Does this sound ok?

Steve

StevenHarper
December 3rd, 2007, 07:39 PM
0.2.1.16 works great. Ext2 and 3 support is great to have :) Thanks

A little suggestion for future releases: is it possible to make window for closing crypts remains when more than one crypt is opened, so that one don't need to go every time EC > Close... when wants to close a crypt? It'll be nice too that 'close' window has one more option: ''close all'' (truecrypt -d)

They both sound like good ideas : Ill add them to my todo list.

dalezjc
December 3rd, 2007, 10:35 PM
Okay, I'm an idiot. I installed EasyCrypt without any problems and when I ran it the first time, it asked to download TrueCrypt and I said yes, and downloaded the Ubuntu 7.10 version. How do I install TrueCrypt? I'm a newbie to Linux so I'm not sure how to do this.

Thanks,
Dale

StevenHarper
December 4th, 2007, 07:59 AM
Okay, I'm an idiot. I installed EasyCrypt without any problems and when I ran it the first time, it asked to download TrueCrypt and I said yes, and downloaded the Ubuntu 7.10 version. How do I install TrueCrypt? I'm a newbie to Linux so I'm not sure how to do this.

Thanks,
Dale

Easy Crypt opens a browser to True Crypts site.

You will see True Crypts download page.

In the Linux section, from the Drop down menu pick

Ubuntu 7.10 x86

if your running 64bit Ubuntu then pick the other

Download the truecrypt-4.3a-ubuntu-7.10-x86.tar.gz file

Now open the file, its an archive,

in the archive find

./truecrypt-4.3a/truecrypt_4.3a-0_i386.deb

Double click on this to install Truecrypt.

Once installed, right click on the Easy Crypt icon (in the system tray) and choose Open Crypt - the Create New Crypt window will then open.

Steve

Jadd
December 4th, 2007, 10:29 AM
The second idea (CD or DVD size) is good.

Michaelg14
December 4th, 2007, 03:07 PM
I just found your program and it's terrific! Just what I was looking for. I currently use Truecrypt in terminal mode and its a pain. :)

One request, (as if you didn't have enough). The main value I find in Trucrypt is hidden volumes. Any password can be forced out of you, legally or otherwise. Hidden volumes give you plausible deniability. It is better to give up the outer volume and claim it's the only one, keeping the hidden one hidden.

Keep up the good work.

StevenHarper
December 4th, 2007, 05:59 PM
I just found your program and it's terrific! Just what I was looking for. I currently use Truecrypt in terminal mode and its a pain. :)

One request, (as if you didn't have enough). The main value I find in Trucrypt is hidden volumes. Any password can be forced out of you, legally or otherwise. Hidden volumes give you plausible deniability. It is better to give up the outer volume and claim it's the only one, keeping the hidden one hidden.

Keep up the good work.

In the pipeline is a plan for a "Setup Hidden Crypt Wizard"

This will


create outer crypt
create inner crypt
mount outer (2 passwords - protect inner)
move dummy files in


Then you can open either crypt using either password.

This will probably be in 2 versions time - the next version has lots of neat little useability fixes.

steve

dalezjc
December 4th, 2007, 07:41 PM
Easy Crypt opens a browser to True Crypts site.

You will see True Crypts download page.

In the Linux section, from the Drop down menu pick

Ubuntu 7.10 x86

if your running 64bit Ubuntu then pick the other

Download the truecrypt-4.3a-ubuntu-7.10-x86.tar.gz file

Now open the file, its an archive,

in the archive find

./truecrypt-4.3a/truecrypt_4.3a-0_i386.deb

Double click on this to install Truecrypt.

Once installed, right click on the Easy Crypt icon (in the system tray) and choose Open Crypt - the Create New Crypt window will then open.

Steve

I'm using File Roller archive manager and when I double-click the .deb file, it just opens up another window with the files. Is there another archive manager I should be using? Sorry for the simple questions.

Dale

onestep
December 4th, 2007, 10:12 PM
I'm using File Roller archive manager and when I double-click the .deb file, it just opens up another window with the files.
Dale

Inside File Roller right click on the .deb file and choose "Extract".
Then choose Extract to the desktop.
On your desktop you'll find the extracted .deb file.
Now double click the .deb file and it will install.

merobson25
December 5th, 2007, 12:00 PM
Hello. This looks great- I've been mounting a TC volume from the command line for a while, but it would be nicer to have a GUI (I came to Ubuntu from Windows and still haven't gotten completely comfortable with Terminal).

Here's my problem. I'm running Feisty, and tried to follow the instructions posted here (http://ubuntuguru.wordpress.com/2007/12/01/how-to-keep-secret-with-easy-crypt/) to get myself started. Everything seems to install fine, but, when I click EasyCrypt in the Accessories menu, nothing happens. Any suggestions?

Thanks

dalezjc
December 5th, 2007, 07:57 PM
Inside File Roller right click on the .deb file and choose "Extract".
Then choose Extract to the desktop.
On your desktop you'll find the extracted .deb file.
Now double click the .deb file and it will install.

Thanks for all the help, it works great!

Dale

aldolat
December 6th, 2007, 07:23 AM
I would to thank you for creating this great GUI! ;D

I have a question. I created a new Crypt as Normal User. The Crypt works well.... but I would know where the crypt itself is located.

Can you tell me, please?

Jadd
December 6th, 2007, 08:16 AM
If you mean the truecrypt file, it is at ~/.easycrypt-crypt by default.

Ux64
December 6th, 2007, 10:47 AM
Thank you! So much!

This is really great and easy to use tool. I was just wondering how to get truecrypt working with Ubuntu when I found this.

I just would like to report minor feature.

Try creating three new containers at once. It seems that only the latest create crypt window will update status and only for latest running process. Before you start that latest process, latest window shows status of last started process.

I opened seconds create new crypt when first crypt creation process was at 127 megs. At that point newest window started to show progress bar of previous process. When I confirmed latest window, It started from 0 again.

Screen shots included.

wazzup
December 6th, 2007, 11:33 AM
I start it up but nothing happens ?

# easycrypt
Easy Crypt 0.2.1.16 (2007/12/06 16:30:30)
root is /usr/share/easycrypt
sudo command will be gksudo
checking : ps -ef | grep "pyt[h]on ./EasyCrypt.py"
looking for truecrypt
found truecrypt

wiki says: you should notice a new Tray icon, right click on it to get started.
but I don't know what tray, or what icon (I can't see it, or I don't have the "tray" (running xfce4)

StevenHarper
December 6th, 2007, 11:53 AM
Everything seems to install fine, but, when I click EasyCrypt in the Accessories menu, nothing happens. Any suggestions?

Thanks

There should be a New Tray (where the network manager icon is) icon to RIGHT Click on

-- edit --

Ah right then you can't really use it - can you not add a tray area to the panels? -- sorry I haven't really used xfce much

wazzup
December 6th, 2007, 12:18 PM
There should be a New Tray (where the network manager icon is) icon to RIGHT Click on

-- edit --

Ah right then you can't really use it - can you not add a tray area to the panels? -- sorry I haven't really used xfce much

Ah... thanks.. I needed to add a system tray thingy to my top panel.

Now all is fine. :-)
(well now I have to create a crypt, but the software keeps telling me my password is wrong ...)

aldolat
December 6th, 2007, 03:18 PM
If you mean the truecrypt file, it is at ~/.easycrypt-crypt by default.

Yes, I mean this file. Captured! :D

aldolat
December 6th, 2007, 03:28 PM
I have this problem.

I use the Italian version of EasyCrypt.
If I set up the Expert mode in the preferences, I am not able to create a crypt file. In fact, if I press the New button, nothing happens.
Otherwise, if I set up the Normal mode, EasyCrypt creates the file well.

Why this? What can I do?

StevenHarper
December 6th, 2007, 05:52 PM
Ah... thanks.. I needed to add a system tray thingy to my top panel.

Now all is fine. :-)
(well now I have to create a crypt, but the software keeps telling me my password is wrong ...)

The problem is because you have an incorrect version of TrueCrypt installed, use the About Page on Easy Crypt to find the TrueCrypt download page, then get and re-install the version of True Crypt for your Operating system.

Steve

StevenHarper
December 6th, 2007, 05:58 PM
I have this problem.

I use the Italian version of EasyCrypt.
If I set up the Expert mode in the preferences, I am not able to create a crypt file. In fact, if I press the New button, nothing happens.
Otherwise, if I set up the Normal mode, EasyCrypt creates the file well.

Why this? What can I do?

This MUST be a bug, I will fix it

--edit--

I have found the bug - if you want to patch (temp fix) the problem

Change the file (as root)

/usr/share/easycrypt/EasyCryptPopupMenu.py

line 103 FROM
if crypt_manager.easyCryptConfig.getOption("mode") == "expert":
to
if crypt_manager.isExpert:


this will fix the problem, the same fix will be in 0.2.1.17

thanks

steve

StevenHarper
December 6th, 2007, 06:36 PM
Easy Crypt 0.2.1.17 is ready

This release if just a fast response release to a BUG

changes are

fixed major bug - preventing Expert mode working in non-english versions
added Brazilian Portuguese


New features and enhancements will be appearing in 0.2.1.18

thanks

Steve

aldolat
December 7th, 2007, 03:03 AM
Ok Steven,
bug fixed whit the update of this morning!! :D

Thank you very much!
Aldo

wazzup
December 7th, 2007, 09:10 AM
The problem is because you have an incorrect version of TrueCrypt installed, use the About Page on Easy Crypt to find the TrueCrypt download page, then get and re-install the version of True Crypt for your Operating system.

Steve

Thats what I thought at first, but I've got 4.3a installed and that's the most current one... but I reinstalled it and it turned out there was some debris left from an earlier install (4.1) so I removed that, reinstalled truecrypt with apt-get and voila, now it works.

Also: the error message could have been clearer. Maybe you can check for it ?

Thank you !

StevenHarper
December 7th, 2007, 01:26 PM
Thats what I thought at first, but I've got 4.3a installed and that's the most current one... but I reinstalled it and it turned out there was some debris left from an earlier install (4.1) so I removed that, reinstalled truecrypt with apt-get and voila, now it works.

Also: the error message could have been clearer. Maybe you can check for it ?

Thank you !

It's almost impossible to test for, as the version Numbers of truecrypt are identical for all builds, regardless of OS (7.10 and 7.06), the error you get back to the shell running the commands is the wrong password error, so I can't detect it - maybe there is something in a log somewhere... However I have not replicated this problem on my machine for some time, so I can't really check

Steve

ZxEfR
December 8th, 2007, 05:39 AM
WOW....thank you thank you for your hard work....this is great! :)

DumbOx
December 8th, 2007, 02:11 PM
Steve - I have to say EasyCrypt prompted me to sign up to ubuntu forums simply to say thank you and congrats for this gem of an app. I have an enhancement suggestion. What would you think about having the tray icon reflect if a volume was mounted or not? Lock closed or open say? thanks again for your work on EasyCrypt :)

StevenHarper
December 8th, 2007, 05:23 PM
Steve - I have to say EasyCrypt prompted me to sign up to ubuntu forums simply to say thank you and congrats for this gem of an app. I have an enhancement suggestion. What would you think about having the tray icon reflect if a volume was mounted or not? Lock closed or open say? thanks again for your work on EasyCrypt :)

Its great to get all these "thank you" posts, and also constructive feedback

Right so a new Idea - make the tray icon be more useful

normal mode
No Crypt mounted

Icon : Colour penguin - grayed out lock
Tool Tip Text : Easy Crypt <new line> Crypt Not Mounted

Crypt Mounted

Icon : Colour penguin - Colour lock
Tool Tip Text : Easy Crypt <new line> Crypt Mounted


expert mode
No Crypts mounted

Icon : Colour penguin - grayed out lock
Tool Tip Text : Easy Crypt <new line> No Crypts Mounted

Crypt(s) Mounted

Icon : Colour penguin - Colour lock
Tool Tip Text : Easy Crypt <new line>/home/steven/stash : /media/stash<new line>/home/steven/stuff : /media/stuff


Is that good?

DumbOx
December 8th, 2007, 06:54 PM
Its great to get all these "thank you" posts, and also constructive feedback

Right so a new Idea - make the tray icon be more useful

normal mode
No Crypt mounted
Icon : Colour penguin - grayed out lock
Tool Tip Text : Easy Crypt <new line> Crypt Not MountedCrypt Mounted
Icon : Colour penguin - Colour lock
Tool Tip Text : Easy Crypt <new line> Crypt Mountedexpert mode
No Crypts mounted
Icon : Colour penguin - grayed out lock
Tool Tip Text : Easy Crypt <new line> No Crypts MountedCrypt(s) Mounted
Icon : Colour penguin - Colour lock
Tool Tip Text : Easy Crypt <new line>/home/steven/stash : /media/stash<new line>/home/steven/stuff : /media/stuffIs that good?

I think that would be great - thanks

StevenHarper
December 8th, 2007, 07:52 PM
Easy Crypt 0.2.1.18 is ready

New Features / Fixes

Added a Close all to bottom of Close Expert List
Now Close Selection list stays open when still a crypt left to close
Added Welcome Screen with basic instructions and setup crypt button
Changed recreate button (normal mode) to Setup Crypt
Fixed bug : making a crypt within another crypt


There is still a decent sized list of things for me to get on with

Make Tray Icon more useful
Add a Number box to create screen for more accurate crypt size
Add a few preset size options in create screen (CD DVD etc)
Add a 'make inner crypt' wizard
Option in Preferences : allow edit of mount point
Option in Preferences : remember recent crypts


I doubt all of them will make the next version, but time allowing I will get round to them all.

Steve

p.s. Some new / updated Translations have appeared, to help me keep them up-to date please visit
https://translations.launchpad.net/easycrypt/trunk/+pots/easycrypt

--edit--

If you would like to see the newly added Welcome screen, then you will have to delete the file located at /home/USER/.config/.easycrypt-config

aldolat
December 9th, 2007, 05:46 AM
Steve, ;)

After having read all the entire thread, I didn't understand why I must use an Ext3-formatted crypt only as root user. The crypt formatted in FAT, on the other hand, works well.
You wrote that you could insert an option to use truecrypt as normal user. Will you insert that option?


Aldo

StevenHarper
December 9th, 2007, 08:52 AM
I didn't understand why I must use an Ext3-formatted crypt only as root user.

When you choose to make a crypt with an inner format or EXT3, after making the crypt the following command is run

gksudo "mkfs -t ext3 /home/steven/acrypt"

Any newly formatted drive as EXT3 will be owned by root, this is standard in Linux
It is up to you to create and change the ownership of directories and files using a terminal.

EXT3 format is only really designed for people that want to run applications and installations from the crypt, some Linux applications need to make sim-links and have certain permisssions for them to work.

you could if you want change the ownership of the whole partition to be owned by the current user

gksudo "chown steven /media/acrypt"

I could add this to the next version - what are your thoughts?

You wrote that you could insert an option to use truecrypt as normal user. Will you insert that option?

Do you mean so that you don't get prompts to enter the root password (gksudo up)

If you do I did try this - I added an entry into /etc/sudoers, but after much playing about I couldn't get it to work, more investigation is required on this.

steve

aldolat
December 9th, 2007, 02:18 PM
you could if you want change the ownership of the whole partition to be owned by the current user
gksudo "chown steven /media/acrypt"
I could add this to the next version - what are your thoughts?

Yes, I think it could be very nice for beginners to use these two things as Normal User:

the possibility to use the standard Linux EXT3 File System (instead of FAT)
the possibility to use their own Crypts without inserting the root password (but only the crypt password).

Hope my English be understandable! :oops:

Aldo

StevenHarper
December 10th, 2007, 06:32 PM
Easy Crypt 0.2.1.19 is ready

New Features / Fixes

Added Modifiable mount path option in Preferences
When creating new crypts, chown all EXT2 and EXT3 filesystem's to be owned as current user
Fixed Bug : normal mode, open crypt - no crypt dialog breaks


Both these changes have their uses:

Having the EXT filesystem's chowned to the current user means that you will have full ownership and rights to the new drives - this may cause problems when you move them to other installations of Ubuntu - as your User ID may be different, but most of you will know how to re-chown the files back to your user again (sudo chown -R USER PATH) - This change was made for convenience of having the crypt as your user when you make it.

The next change is that in the Expert section of Preferences you have a new checkbox : Modifiable mount path
This allows you to change the mount path of a given crypt - big deal you think - however it has its uses

Say for instance you choose the mountpoint /home/steven/.mozilla (do this with Firefox closed) then when you open Firefox - it behaves like you have opened it for the first time (don't worry your old files are still there, when you unmount the crypt (close Firefox first) all your old bookmarks will be back.

So what you have there is a secure way of making your bookmarks, cookies and browsing history portable between machines. It works for other apps too. Just make sure you make the Crypts big enough.

Please note that before you try anything like this I Highly recommend that you Backup any data you have that is critical. (copy .mozilla to another place)

have fun

Steve

grashdur
December 10th, 2007, 07:21 PM
Still loving your little app -- it has made me much more comfortable with my Ubuntu-using laptop overall.

FYI in case anyone else has the same problem: When I upgraded from Feisty Fawn to Gutsy Gibbon, TrueCrypt stopped working (and thus so did Easy Cypt). It would automatically reject all passwords, correct or not. I re-downloaded and reinstalled TrueCrypt, even though it was the same version already installed (4.3a), and now it works fine.

Suggestion for a new feature: A shredder. Just as PGP Desktop for Windows was made with a built-in shredder utility (deleting/overwriting the file), this would be mighty handy in Easy Crypt. I understand there is a command-line way of shredding files in Ubuntu, but it involves typing out the entire path, correctly (yuck!), and the last time I tried it, the command failed to run. A quick-and-easy easy GUI way to shred would be wonderful. :KS

StevenHarper
December 10th, 2007, 09:44 PM
Suggestion for a new feature: A shredder. Just as PGP Desktop for Windows was made with a built-in shredder utility (deleting/overwriting the file),

The file shredder is only possible because of the NTFS and FAT filesystems.

These have ordered structures, You can guarantee where a file is written to (the surface on the disk).

EXT3 is different, the files are stored on a journaled file system, these periodically defrag and restructure on the fly, leaving fragments of files on the surface.

So the only real solution is to work on your files in the crypt (on a USB pen maybe), also you have to try to be aware of temporary file locations (where programs store the file when they are open, if these are not within the stored location then you may want to open another crypt to catch the temp files (i.e. /home/steven/.mozilla catches all of Firefox)

There is no simple solution to keeping data 100% private, its just not possible - the only total solution is to go for a encrypted disk file system when you install Ubuntu, then use a product like easycryot for transportation.

This is really going to the Nth degree - I use crypts when transporting important information on easily lose-able devices (laptops and USB pens)

Steve

aldolat
December 11th, 2007, 04:15 AM
Hi Steven,
well done with the last update!

Only a little issue. After upgrading to 0.2.1.19 the Italian language results corrupted and you see another language other than Italian (I do not know what language it be!).
I downloaded the .mo from Launchpad and copied to the proper directory and all is OK now. Can you check for this issue?

Thank you for giving us the possibility of using Ext3 as normal user, not root.
You're great!

StevenHarper
December 11th, 2007, 07:46 AM
Hi Steven,
well done with the last update!

Only a little issue. After upgrading to 0.2.1.19 the Italian language results corrupted and you see another language other than Italian (I do not know what language it be!).
I downloaded the .mo from Launchpad and copied to the proper directory and all is OK now. Can you check for this issue?

Thank you for giving us the possibility of using Ext3 as normal user, not root.
You're great!

Yes this is because the PPA package is wrong - I will upload an interim version- something like 0.2.1.19.1 - expect it soon

Steve

StevenHarper
December 11th, 2007, 11:01 AM
I uploaded a 0.2.1.19,but that's old news now :)

Easy Crypt 0.2.2.0 is ready

add selected Crypt sizes (drop down and text) from Michael Anckaert's patch
Bugfix: two goes to change from expert to normal vice versa


Many thanks to Michael Anckaert, who provided me with my first ever patch file, the changes he made represented 90% of the changes in this version - the new manually selectable crypts sizes and the preset drop down sizes. He also did a translation for me (dutch)

It great to get help in making Easy Crypt; any kind of assistance is great, from reporting bugs, suggesting features, making patches and translating.

Steve

Civean
December 12th, 2007, 09:21 AM
Thanks for this wonderful gui! Inch by inch linux gets more ready for mainstream use. (For example, no matter how much I try my family refuses to touch the terminal =)

Anyway, I added a complete swedish translation just now, hopefully it will make it to the next release =)

gweaver
December 12th, 2007, 10:03 AM
There is certainly a whole lot of loving going on in this thread!

<gratuitous brown-nosing>

I think this is the best example I have seen of a developer identifying a need and making the software happen in a timely fashion. Easy Crypt has come from nowhere in a very short space of time.

Its great to see people contributing ideas, translations and bug fixes.
Its now a community effort, but it wouldn't have happened at all without Steves efforts.

If there was a Ubuntu "project of the month", this would get my vote!

</gratuitous brown-nosing>

Apologies for the gushing praise, but I wish there were more open source projects like this one...

StevenHarper
December 12th, 2007, 04:24 PM
Thanks for this wonderful gui! Inch by inch linux gets more ready for mainstream use. (For example, no matter how much I try my family refuses to touch the terminal =)

Anyway, I added a complete swedish translation just now, hopefully it will make it to the next release =)

Swedish will indeed be in the next release - thanks for you efforts.

0.2.2.1 will have a few bugfixes and land language updates.

I have just identified a possible new feature - restricting the crypt size to a maximum of 2gig when your attempting to make it on a FAT32 file system.

as always - thank you everyone for all the forum/other support.

steve

StevenHarper
December 12th, 2007, 08:10 PM
Easy Crypt 0.2.2.1 is ready

Fixes

Fixes to crypt size slider can be dragged (virtually) greater than the max range : this is now capped
detect crypt in crypt didnt have a slash on the end of detection paths


new Features

Now preset, text and slider are fully linked
Typed or slide action will update prefix size if matches
Prevented picking a preset greater than your max space on filesystem
Restricts crypt size to 2000MB if on FAT32 or FAT16


new Languages

Added Dutch Language
Added Norwegian Bokmal Language
Added Swedish Language


Thanks for all the language translations, more would be great, some are half done and need updating
https://translations.launchpad.net/easycrypt/trunk/+pots/easycrypt

for any new people to this Thread: you can (easily) get Easy Crypt by:

From the Ubuntu Menu
System | Administration | Software Sources
Click on the Third Party Software tab
Click on the +Add button
Enter the value
deb http://ppa.launchpad.net/stevenharperuk/ubuntu hardy main restricted universe multiverse
Click the Reload button when prompted
from a Terminal Type
sudo apt-get install easycrypt

Easy Crypt will appear in your Ubuntu Menu under Accessories

Easy Crypt will make sure you have TrueCrypt installed and will open a browser at the correct location if you do not.

Please note - as PPA archives are NOT signed, the normal apt-manager will warn you that easycrypt is not trusted, you will need to click the ok button at this prompt
This will not happen when the Hardy archives are up and we can switch to their location.

Steve

mp4215
December 13th, 2007, 10:49 AM
Steven,

Thanks for making a great program. I have grown tired of forcefield and its bugs. It made using my encrypted files a hassle.

onestep
December 13th, 2007, 06:54 PM
I'm running Gutsy 7.10, installed Easy Crypt 0.2.2.1 and Truecrypt 4.3a. In "expert mode" I can not open up .TC file that I created back when I was running Windows XP. I get the error message "Incorrect Password, please try again".

I copied the file to a thumb drive and can open it using Truecrypt in Windows. I've switched over completely to Ubuntu and no longer dual boot. I'm a Linux n00b who has no idea how to run Truecrypt from the command line. I'm really looking forward to using Easy Crypt!

Any suggestions??

StevenHarper
December 13th, 2007, 10:18 PM
Can you try making a crypt (new) in Easy Crypt then opening it

ta

Steve

Civean
December 14th, 2007, 10:56 AM
I'm also running Gutsy, same version of truecrypt and easycrypt, and I'm accessing a .tc file I created under windows. Works for me, maybe you are just having a problem with the keyboard setup, if your password contains special characters? Happens to me when ubuntu decides to switch from swedish to english =)

onestep
December 14th, 2007, 07:48 PM
Can you try making a crypt (new) in Easy Crypt then opening it

ta

Steve

Hi Steve, thanks for taking time to help me out. Yes, in normal mode I can create a new crypt and open it. Works great!

StevenHarper
December 15th, 2007, 09:20 AM
Hi Steve, thanks for taking time to help me out. Yes, in normal mode I can create a new crypt and open it. Works great!

Ok so we know that the Truecrypt itsself is working now lets try to manually mount your old crypt just using Truecrypt - if this doesnt work then either the crypt is broken or you are using teh wrong credentials.

First close Easy Crypt

in a terminal create a directory to mount the crypt at

sudo mkdir /media/crypt

This may tell you its already there


Next mount the crypt

in a terminal
sudo truecrypt truecrypt -p ***** -u /home/steven/a /media/a

where **** is the password
/home/steven/a is the location of your crypt file

Please post any errors you get

Steve

meho_r
December 15th, 2007, 01:45 PM
Steven,

I'd like to use EasyCrypt with openSUSE too, so how to make it work since openSUSE isn't one of the sudoers ditros? I get the message "gksudo" command not found. So, what to do? Thanks

meho_r
December 15th, 2007, 01:58 PM
And, BTW, looking forward to history option :)

dimeotane
December 15th, 2007, 03:13 PM
Does anyone know how to configure truecrypt so that I don't need to enter the system admin password each time before mounting the truecrypt ?

I would like to have to only enter the crypt password to mount the crypt.

Or is this an issue to be addressed in an upcoming version of easycrypt?

Anyone else find this happening?

bpny
December 15th, 2007, 04:36 PM
I see that truecrypt 5.0 will be out next month with a built in linux GUI. http://www.truecrypt.org/future.php

onestep
December 15th, 2007, 07:39 PM
Please post any errors you get

Steve

Steve, I'm beginning to think that the problem lies with my password. It contains both "&" and "!". Might that be the problem? Here is the error message I got (***** is a portion of my password):

[1] 9824
Cannot open volume: No such file or directory
bash: ********: command not found
[1]+ Exit 1 sudo truecrypt truecrypt -p **

StevenHarper
December 15th, 2007, 09:31 PM
Steven,

I'd like to use EasyCrypt with openSUSE too, so how to make it work since openSUSE isn't one of the sudoers ditros? I get the message "gksudo" command not found. So, what to do? Thanks

I honestly have 0% experience of openSUSE

So the only way I can help is to ask you Questions:

Is there any mechanism that gets a password prompt from a user to get the root password (in openSUSE).

Is there an alike command to gksudo?

Is there a simple command to run to detect the OS running is openSUSE

From the code located at http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/src/

The file EasyCrypt.py contains (line 157)
some code to detect which command to use to sudo up

self.sudo_command = "gksudo"
sudo = commands.getoutput("which gksudo")
if len(sudo) > 0:
self.sudo_command = "gksudo"
else :
sudo = commands.getoutput("which kdesud")
if len(sudo) > 0:
self.sudo_command = "kdesud"

print "sudo command will be", self.sudo_command

You will need to extend this with something like


else :
sudo = commands.getoutput("which anothersudo")
if len(sudo) > 0:
self.sudo_command = "anothersudo"

If there isn't a similar command then more complicated commands would need to be run.

I do have a question thou - how does Truecrypt work in OpenSUSE from command line: do you have to su to root?

StevenHarper
December 15th, 2007, 09:36 PM
I see that truecrypt 5.0 will be out next month with a built in linux GUI. http://www.truecrypt.org/future.php

Yes I have seen this also: I was interested in the API's available, on first glance I don't think a python one will be in it, however I am not sure.

I am also interested to know if the API and core package is separate from the GUI package.

I do hope the Truecrypt 5.0 will get packaged into Ubuntu and added into the main repository (for Hardy) I have enquired (by email) to the authors of Truecrypt and they were not keen on me packaging the Existing 4.3a version for Hardy hence my downloading mechanism.

If the Truecrypt 5.0 gui does prove to be complete and far superior to Easy Crypt, then it is likely that I will not try to compete, Easy Crypt was designed to bring Truecrypt in a GUI for to Linux, as it was not by default given.

Steve

StevenHarper
December 15th, 2007, 09:39 PM
Steve, I'm beginning to think that the problem lies with my password. It contains both "&" and "!". Might that be the problem? Here is the error message I got (***** is a portion of my password):

[1] 9824
Cannot open volume: No such file or directory
bash: ********: command not found
[1]+ Exit 1 sudo truecrypt truecrypt -p Gc

Ah could you try that again but without the password bit-

you see the characters you are entering in the password are getting interpreted by the shell you are using:

Lets let Truecrypt prompt you for the password - please try a command like this

sudo truecrypt truecrypt -u /home/steven/a /media/a

Truecrypt will then interactively ask you for your password :

do you get any errors this way?

steve

StevenHarper
December 15th, 2007, 09:40 PM
Does anyone know how to configure truecrypt so that I don't need to enter the system admin password each time before mounting the truecrypt ?

I would like to have to only enter the crypt password to mount the crypt.

Or is this an issue to be addressed in an upcoming version of easycrypt?

Anyone else find this happening?

If you read previous (recent) posts on this thread someone suggested that there is a way to add entries into the /etc/sudoers file

Without much investigating I tried this and failed - however I do plan to try to find a built-in mechanism in Ubuntu to make this happed (There is one I just don't know how to use it).

steve

Medieval_Creations
December 16th, 2007, 01:05 AM
Question / Suggestion:

When EasyCrypt mounts the crypt to /media/cryptname is it possible to have EasyCrypt remove the cryptname folder when the crypt is closed?

This is a very, very minor concern. More of a personal preference. Just curious.

Keep up the good work. It's a great little program.

StevenHarper
December 16th, 2007, 07:41 AM
Question / Suggestion:

When EasyCrypt mounts the crypt to /media/cryptname is it possible to have EasyCrypt remove the cryptname folder when the crypt is closed?

This is a very, very minor concern. More of a personal preference. Just curious.

Keep up the good work. It's a great little program.

The problem with this is that it is possible to mount a crypt over an existing directory, this can be useful for mounting it in a location like /home/steven.mozilla so that you can store a firefox profile in a crypt.

Maybe we can detect if we had to make the Crypt mount point, then only then do we delete it : ill have a look, I just want to be really careful I don't want to be boshing peoples directories: imagine if someone tried to mount a crypt at / :

it would be bad

steve

onestep
December 16th, 2007, 09:39 AM
you see the characters you are entering in the password are getting interpreted by the shell you are using:

Lets let Truecrypt prompt you for the password - please try a command like this

sudo truecrypt truecrypt -u /home/steven/a /media/aTruecrypt will then interactively ask you for your password :

do you get any errors this way?

steve

Steve,
I can open the .tc file using the command line as suggested! Does that mean in order to use Easy Crypt I need to change my password to something that does not use "special characters"?

Medieval_Creations
December 16th, 2007, 10:12 AM
The problem with this is that it is possible to mount a crypt over an existing directory, this can be useful for mounting it in a location like /home/steven.mozilla so that you can store a firefox profile in a crypt.

Maybe we can detect if we had to make the Crypt mount point, then only then do we delete it : ill have a look, I just want to be really careful I don't want to be boshing peoples directories: imagine if someone tried to mount a crypt at / :

it would be bad

steve

I didn't think of that. That makes sense though.

pradin
December 16th, 2007, 11:23 AM
So far so good on Ubuntu 7.10. I'm looking to call truecrypt -d when either a hibernate/suspend call is made. Will a simple script in /etc/init.d and /etc/rc* suffice?

meho_r
December 17th, 2007, 03:00 AM
I honestly have 0% experience of openSUSE

So the only way I can help is to ask you Questions:

Is there any mechanism that gets a password prompt from a user to get the root password (in openSUSE).

Is there an alike command to gksudo?

Is there a simple command to run to detect the OS running is openSUSE

From the code located at http://www.squeezedonkey.com/svn/linux/trunk/releases/easycrypt/src/

The file EasyCrypt.py contains (line 157)
some code to detect which command to use to sudo up

self.sudo_command = "gksudo"
sudo = commands.getoutput("which gksudo")
if len(sudo) > 0:
self.sudo_command = "gksudo"
else :
sudo = commands.getoutput("which kdesud")
if len(sudo) > 0:
self.sudo_command = "kdesud"

print "sudo command will be", self.sudo_command

You will need to extend this with something like


else :
sudo = commands.getoutput("which anothersudo")
if len(sudo) > 0:
self.sudo_command = "anothersudo"

If there isn't a similar command then more complicated commands would need to be run.

I do have a question thou - how does Truecrypt work in OpenSUSE from command line: do you have to su to root?

There is a similar command to ''gksudo'' in openSUSE. I managed to activate ''sudo'' option and it behaviours just like ubuntu ''sudo'' (but there is no ''gksudo'' command in openSUSE). I replaced ''gksudo'' with ''sudo'' but it doesn't work. It says that there's no sudo: truecrypt -l command and something like that.

Truecrypt in command line normally requires root privileges when try to mount/dismount/create... crypt. No need for ''su'', the root password is sufficient (and now, when I added my user to ''sudo'', my user password is required instead of ''root'').

StevenHarper
December 17th, 2007, 11:35 AM
Steve,
I can open the .tc file using the command line as suggested! Does that mean in order to use Easy Crypt I need to change my password to something that does not use "special characters"?

Yes that will work

I have (i thought) tested all special characters and only have the \ backslash not working : could you tell me all the special charaters in your password (not the whole password)

thanks

Steve

StevenHarper
December 17th, 2007, 11:39 AM
There is a similar command to ''gksudo'' in openSUSE. I managed to activate ''sudo'' option and it behaviours just like ubuntu ''sudo'' (but there is no ''gksudo'' command in openSUSE). I replaced ''gksudo'' with ''sudo'' but it doesn't work. It says that there's no sudo: truecrypt -l command and something like that.

Truecrypt in command line normally requires root privileges when try to mount/dismount/create... crypt. No need for ''su'', the root password is sufficient (and now, when I added my user to ''sudo'', my user password is required instead of ''root'').

The problem is that a visual prompt is required as Easy Crypt runs in a Graphical environment.

If you give your user root privileges, then can you just call the truecrypt command without being prompted for a password?

onestep
December 17th, 2007, 11:47 AM
I have (i thought) tested all special characters and only have the \ backslash not working : could you tell me all the special charaters in your password (not the whole password)



Steve, I'll send them to you via PM if you don't mind.

meho_r
December 19th, 2007, 04:58 AM
The problem is that a visual prompt is required as Easy Crypt runs in a Graphical environment.

If you give your user root privileges, then can you just call the truecrypt command without being prompted for a password?

Well, there are three options:

1. Run TC as user; TC prompt for user password (since user is in ''sudo'' list; it even doesn't accept root password);

2. RunTC with ''sudo'' prefix; it prompt for user password immediately and doesn't require password later;

3. Run TC as root (''su''); TC doesn't require password since it is run as real root user

There are differences though: sudo still has some restrictions comparing to real root user (i.e. mounting)

tenshu
December 22nd, 2007, 09:37 AM
is it possible to setup a crypt on a different disk
i mean i want to store crypted stuff on sda4 for example

Is it possible to add an option to crypt an entire disk or even an existing directory that would be best option =)

edit : ok found it is possible with advanced
but crypt aren't expansible
no way to crypt a whole physical disk?

edit 2: i noticed that ntfs formating isn't allowed with easycrypt
is there any issue with this?
ntfs is good to share large file with windows

wag_
December 26th, 2007, 01:30 PM
Hello

Is there a way, to avoid writing the Crypt-Passwords in the /var/log/auth.log file?
Sadly, Truecrypts '-p' Option writes the Cleantext Password in the auth.log file and so does easycrypt.

wazzup
December 27th, 2007, 04:47 AM
Hello

Is there a way, to avoid writing the Crypt-Passwords in the /var/log/auth.log file?
Sadly, Truecrypts '-p' Option writes the Cleantext Password in the auth.log file and so does easycrypt.

holy crap !

meho_r
December 27th, 2007, 03:40 PM
Wow, this is a serious issue... I used to avoid -p parameter when run TC from command line, but, what about EasyCrypt? Steven? Maybe at least to add a line of code which will erase truecrypt line from auth.log (and other log files if there's any that records sensitive infos) after closing EasyCrypt. This will be great advantage over 'plain' TC, don't you think? ;)

StevenHarper
December 29th, 2007, 07:57 PM
Wow, this is a serious issue... I used to avoid -p parameter when run TC from command line, but, what about EasyCrypt? Steven? Maybe at least to add a line of code which will erase truecrypt line from auth.log (and other log files if there's any that records sensitive infos) after closing EasyCrypt. This will be great advantage over 'plain' TC, don't you think? ;)

This is news to me (the entry in the auth.log): I was very careful not to make ANY plain text logs of the actions that Easy Crypt performs - Now I have discovered that Truecrypt writes clear entries in the auth log I will have to do something about it.

2 Obvious option exist:


On close-down or after each write - clean up entries in the auth.log
Stop using Truecrypt -p


The first is by far the simplest, if I have to change the way I call TrueCrypt I will have to make Easy Crypt respond to the prompting that Truecrypt does in command mode. Currently Easy Crypt does a very simple running of the TrueCrypt commands, each action is usually 1 TrueCrypt command - changing this will be lots of effort.

Are there any objections to removing entries from the auth.log rather than the other method?

Steve

StevenHarper
December 29th, 2007, 08:02 PM
I take this password issue very seriously:

I have raised myself a bug:

https://bugs.launchpad.net/ubuntu/+source/easycrypt/+bug/179312

And plan for the next release to address it.

Steve

meho_r
December 29th, 2007, 08:10 PM
You mean cleaning all entries from auth.log? No way for cleaning ONLY truecrypt lines?

StevenHarper
December 29th, 2007, 08:11 PM
You mean cleaning all entries from auth.log? No way for cleaning ONLY truecrypt lines?

No I mean just clean up the truecrypt ones

meho_r
December 29th, 2007, 08:27 PM
In my opinion that will be fine. I hope that auth.log is the only one that stores that infos

StevenHarper
December 29th, 2007, 09:15 PM
OK I have a solution: it isn't pretty

Th