HOWTO: Secure File Storage on Windows (TrueCrypt vs EncFS)


You will create encrypted file container which is for example 10 GB file which itself contains encrypted file system. You will be able to mount this filesystem as hard drive (assign some letter in My Computer) providing correct password.
Pros: Most secure method.
Cons: It is not salable, and harder to transfer secure file container due to usually large size.
  1. Go to
  2. Go to Downloads->Download latest version
  3. Install it
  4. Open TrueCrypt
  5. Go to Volumes -> Create New Volume
  6. Choose Create an encrypted file container
  7. Choose Standard TrueCrypt Volume
  8. Choose place where encrypted file container will be placed
  9. Choose AES as encryption algorithm, and SHA-512 as hashing algorithm.
  10. Specify size of file container (e.g. 6 GB)
  11. Choose secure password. (IMPORTANT! choose password not less than 12 characters which will contain letters, uppercase letters, digits and special symbols). If you fail to choose strong password your encrypted file will be vulnerable to offline brute force attack.
  12. Choose FAT as a file system and move your mouse for a while for TrueCrypt to collect more entropy for generating cartographic key.
  13. Press Format, wait until it finishes
  14. Now get back to main TrueCrypt screen
  15. Press Select File button and locate file that you have recently created
  16. Press mount
  17. Provide your password
  18. Now go to My Computer and you will see new drive where you can securely store your sensitive files
  19. IMPORTANT! Don’t forget to get back to TrueCrypt screen and press Dismount All button when you don’t need your secure drive anymore, otherwise other people will be able to access it untill computer is turned on.

Repeat steps 15-19 for every day use.


It will create folder where it stores encrypted versions of your files. Unlike TrueCrypt which make whole filesystem encryption EncFS encrypts file per file basis, so it don’t have large size even if it’s still empty and it’s easier to port and more effective for syncing(for example with Dropbox).
Pros: Highly portable. Encrypted container scales as you add more files there.
Cons: Have some information leakage like number of files that is stored in there and it is possible to guess approximate size of original filenames. Not so mature software, it is in beta still, because it is port  linux software.
  1. Go to
  2. Download
  3. Go to
  4. Download latest Dokan library
  5. Install Dokan library
  6. Extract
  7. Execute encfsw.exe. Icon in notification bar will appear(near clock)
  8. Click the icon in notification bar -> Choose Open/Create
  9. Select folder where encrypted fill be located
  10. Choose drive letter, check Set paranoia mode and choose secure password. (IMPORTANT! choose password not less than 12 characters which will contain letters, uppercase letters, digits and special symbols). If you fail to choose strong password your encrypted file will be vulnerable to offline brute force attack.
  11. Click on the notification icon again, choose Mount (path of folder that you have specified):
  12. Now go to my computer and you will find new drive where you can store your files securely.
  13. IMPORTANT! Don’t forget to click icon and choose Unmount when you don’t need your secure vault anymore.

Repeat steps 11-13 for every day use.

Also you can add encfsw.exe to list startup programs for more convenience.

No Comments

Web-CVS-Tools is now under GNU GPLv3

Web-CVS-Tools is now release under GNU GPLv3. Project migrated to, so now you can participate in development.

Web-CVS-Tools is a bunch of script written in Perl to automate and make easier web development using CVS. You can read about the intended web development team work flow in my earlier article, which can be found here.

To make some changes to source code just run:

git clone git://

Web-CVS-Tools on github –

Have fun!

No Comments

VirtualBox init.d service autostart script

I’ve just installed started using VirtualBox on my Fedora 11 x86_64 and it works just perfectly. I’ve migrated from VMWare when it figured out that it is unable to work with latest kernel version. So I need to start some virtual machines in the background with system startup. I’ve made a lot of googling and found some dirty scripts that were not meeting my criterias. I’ve decided to write my own system startup service.

You need to create file named vbox in /etc/sysconfig/ to list the virtual machine names that you want to start with system. Also when shutting down this service will save state to all running VMs. Here is the script:


# chkconfig: - 91 35
# description: Starts and stops vbox autostart VMs.

# Provides: vbox
# Required-Start: $network $named $vboxdrv
# Required-Stop: $network $named
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: Autostart some Virtual Box VMs
# Description: Autostart some Virtual Box VMs that are mentioned in /etc/sysconfig/vbox file

. /etc/rc.d/init.d/functions


[ -r /etc/sysconfig/vbox ] && . /etc/sysconfig/vbox

prog=$"Virtual Box Machines"

	echo -n $"Starting $prog: "

	for vbox_name in ${VBOX_AUTOSTART}
	    echo -n "${vbox_name} "
	    daemon $MANAGE_CMD startvm "${vbox_name}" -type vrdp >/dev/null 2>&1
	    [ "$RETVAL" -eq 0 ] || break
	if [ -z "$SERVS" ]; then
	    echo -n "no virtual machines configured "
	    if [ "$RETVAL" -eq 0 ]; then
		success $"vbox startup"
		touch /var/lock/subsys/vbox
		failure $"vbox start"
	return "$RETVAL"

	echo -n $"Shutting down $prog: "
	for vbox_name in ${VBOX_AUTOSTART}
	    echo -n "${vbox_name} "
	    runuser root -c "$MANAGE_CMD -q controlvm "${vbox_name}" savestate" >/dev/null 2>&1
	[ "$RETVAL" -eq 0 ] && success $"vbox shutdown" || \
	    failure $"vbox shutdown"
	[ "$RETVAL" -eq 0 ] && rm -f /var/lock/subsys/vbox
	return "$RETVAL"

	for vbox_name in ${VBOX_AUTOSTART}
	    echo -n "${vbox_name} "
	    $MANAGE_CMD showvminfo "${vbox_name}"|grep "^State:\s*.*$"

case "$1" in
	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
	exit 3


And here is configuration file:


# Virtual box machines to autostart
# Example to start 2 machines
#	VBOX_AUTOSTART = "MachineName1 MachineName2"


Thats it. If you have any questions do not hesitate to contact me.

, , , ,


Firefox 3.5

Spread Firefox Affiliate Button

The Fastest Firefox Yet

Things move quickly online, and we’ve beefed up the engine that runs Firefox to make sure you can keep up: Firefox 3.5 is more than twice as fast as Firefox 3, and ten times as fast as Firefox 2.* As a result, Web applications like email, photo sites and your favorite social networks will feel snappier and more responsive.


SOLVED: Adobe AIR installation problem on Fedora 10 x86_64

Adobe AIR installation fails on Fedora 10 x86_64 without any explanations. It just says:

An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.

The reason is some missing i386 packages. You just have to run following command:

yum install gtk2-devel.i386 nss.i386 libxml2-devel.i386 libxslt.i386 gnome-keyring.i386 rpm-devel.i386

You may already have some these packages. Don’t worry about that, yum will skip them. After yum finishes, retry installation of AIR, it should work now.

, , , ,

No Comments

Howto delete all .svn folders from SVN working directory

To delete all .svn folders from SVN working directory for releasing folder from SVN just do this simple steps.
Create new file in /usr/local/bin with name svnrm with following content

find . -name .svn -print0 | xargs -0 rm -rf

Save it. From now on you can execute svnrm command in your working directory and it will delete all .svn folders at once.
Have fun!


No Comments

LastPass password manager review

Few days ago I have found extension for Firefox which called LastPass. LastPass is a tool for remembering all your passwords and not store them on your local computer. It is very convinient to use it when you have several computers (for example at home, at office) and you need to synchronize your passwords across them. They say that they encrypt passwords localy, by binary executable which comes with an extension, and send send them in encrypted way. They say that even LastPass employee can’t see your passwords. This extension was also recomended by Mozilla, so I decided to use it and store all my passwords there.
So what I disliked there. Sometimes LastPass messing up your passwords. It suggests to use some password that is not from there. It is happening because it uses some kind of messy URL matching. It will be great in next versions to able to write wildcard URLs.
In conclusion, I advice to use it as I think that this is a good project and it will get better in near future.



Bugfix: Howto turn off gpg-agent usage in Enigmail in Thunderbird

There is some bug in Enigmail v0.95.7 for Thunderbird. If you untick the checkbox “Use gpg-agent for passphrases” in Advanced tab of Advanced settings menu, Thunderbird in anyway will try to use gpg-agent if GPG_AGENT_INFO environment variable is set. The reason is some little bug in Enigmail source code. To fix it, first close Thunderbird, then just open .thunderbird folder in your home directory, search for enigmail.js file. It have to be in extensions folder in one of the random name folders. When you have found the enigmail.js file open it with your favorite text editor and find line number 1368. It have to be this:

useAgent= (this.gpgAgentInfo.envStr.length>0 || this.prefBranch.getBoolPref("useGpgAgent"));

Change the || sign to &&. After change this line have to look like this:

useAgent= (this.gpgAgentInfo.envStr.length>0 && this.prefBranch.getBoolPref("useGpgAgent"));

Save file. Now open Thunderbird and enjoy.

, , , , ,


Howto recursively add unversioned files into SVN repository

Because svn add command does not support recursive addition of unversioned files you can use this little script to do it.
Create new file in /usr/local/bin with name svnadd with following content

svn status | perl -ne 's/^\?\s+(\S.+)$/\1/g;chomp;system("svn add \"$_\"");'

Save it. From now on you can execute svnadd command in your working directory.



Howto run Gajim with root privileges

Gajim 0.12.1 says that he can’t run with root privileges. This is new feature that appeared in Fedora 10. In earlier versions it was normaly running under root. Anyway let’s turn off this feature in case that you need to run Gajim under root.

Open /usr/bin/gajim with your favorite text editor, find 24th line and just comment out this part of code:

if test $(id -u) -eq 0; then
echo "You must not launch Gajim as root, it is INSECURE"
exit 1

After commenting it should look like

#if test $(id -u) -eq 0; then
#	echo "You must not launch Gajim as root, it is INSECURE"
#	exit 1

Save file. Thats it.
Happy chatting :)

, ,

1 Comment