Archives par mot-clé : Free Stuff

Easy, free removable storage encryption that works with Ubuntu Hardy and Intrepid

I’ve been playing with encryption for some time now and I am always curious about removable storage encryption.

There are tons of guides to do this but it always seems to require either too many steps or some non-free software. I’ve been using this method succesfully adapted from this post for some time now so I wanted to share it here, if anyone has better ideas I’d love to hear it. Removable storage encrypted using this method can also be read directly from Intrepid Live CD sessions as Intrepid now includes cryptsetup by default.

You will need to install the cryptsetup package in Hardy, and also gparted as a helper graphical application to setup partitions and format your media. Gparted is already available on LiveCD sessions. Yes I know this can be done in command line, but I try to limit that as I show this to other CLI-agnostic friends.

Notice I’ve added a step (formatting with a regular partition first), and I used partitions instead of device names.

Find out which device your stick is by issuing from command line:
sudo lshw -C disk -short

This may also help detect other types of storage:
Find out which device your stick is by issuing from command line:
sudo lshw -C storage -short

Example output:
H/W path Device Class Description
=======================================================
/0/100/1f.1/0 /dev/sda disk 251GB Maxtor 6L250R0
/0/100/1f.1/1 /dev/sdb disk 251GB Maxtor 6L250R0
/0/100/1f.1/2 /dev/cdrom disk DVD-RW DVR-110D
/0/100/1f.1/3 /dev/cdrom1 disk RW/DVD GCC-4521B
/0/100/1f.1/3/0 /dev/cdrom1 disk
/0/1/0.0.0 /dev/sdc disk 256MB Cruzer Micro
/0/1/0.0.0/0 /dev/sdc disk 256MB

In this case the device is /dev/sdc.

Next make sure the device is unmounted:
sudo umount /dev/sdc1

Format your removable storage device using gparted, create one single ext3 partition on it. This will end up being partition /dev/sdc1 (assuming your device is /dev/sdc like in my example).

If you do not want to encrypt the whole removable storage, repartition it using gparted.

Overwrite the created partition with an encrypted partition on the target media:
sudo luksformat /dev/sdc1

This will ask you for a passphrase. The default file system is “vfat”, but you can specify a different one with the “-t” option. An example of the same, using an ext3 partition:
sudo luksformat -t ext3 /dev/sdc1

Make sure you type YES in all capitals when prompted, read the prompts carefully.

After this procedure, remove the stick and plug it in again. This should trigger a dialog which asks you for the passphrase and mounts the encrypted partition (along with any unencrypted one, of course).

I was able to read a stick encrypted this way in other computers, just by installing cryptsetup on them. You will need to install cryptsetup and reboot every computer where you want to access this.

Intrepid already comes with cryptsetup installed BTW.

I hear this kind of encrypted removable media can also be read from Windows using FreeOTFE but I haven’t tried it. If anyone can share how to do that, I’d also like to hear about it.

Just a little warning at the end: Please be aware that if you lose the passphrase, I CAN’T HELP RECOVERING THE DATA! This may sound obvious but in a previous posting about this I got private requests about such problems. No comments!

 

Welcome our new Dell Mini 9 friends

If the amount of people that called for support for their Dell Mini 9 over the holidays is any indication, we’re bound to see quite a few new users of Ubuntu that own this nice system!

If you know someone that uses a Mini 9, remember there is official documentation for the Ubuntu version (8.04) that ships in it at http://help.ubuntu.com . That may sound obvious but many experienced Ubuntu users don’t refer much to those docs and as a result don’t know it even exists 🙂

I also wanted to share a lot of tips, tricks and known issues as well as useful links (such as where to ask a question in Launchpad Answers) that have been put together at:
https://help.ubuntu.com/community/DellMini9

If you have a Mini 9 and know your way around Ubuntu, you may also want to make yourself available as a contact for Launchpad Answers:
https://answers.launchpad.net/dell-mini

That’s particularly useful if you know about things that are specific to your geographic location (like ISP-specific settings, broadband access with USB keys, etc.).

 

My Thunderbird extensions

In no particular order…

  • Bugmail

    Thunderbird 2.0 – 3.0b2pre

    A bugtracker bugmail companion – provides a nice header with bug status, upstream links, etc. work nicely with Launchpad bug mail

  • Buttons!

    Thunderbird 2.0b1 – 3.0

    Adds buttons! Not sure how to explain them all…

  • Compact Menu 2

    Thunderbird 2.0 – 2.0.0.*

    Duplicates the menubar on the toolbar as a menu of menus.

  • Delete Junk Context Menu

    Thunderbird 0.5 – 3.0

    Adds ‘Delete Mail Marked as Junk’ to folders’ right click menu

  • Diccionario de Español/España

    Thunderbird 2.0 – 3.0a2pre

    Diccionario de Español/España

  • Dictionary Switcher

    Thunderbird 2.0b2 – 3.0a1

    Displays the currently selected dictionary in the status bar and allows to change it.

  • Dictionnaire MySpell en Français – part of Ubuntu

    Thunderbird 1.5 – 2.0.0.*

  • Display Mail User Agent

    Thunderbird 2.0 – 3.0a2pre

    Displays the mail program with which the selected mail was written – always useful to give some context to email – is the author using Windows, Linux, a Mac ?

  • Duplicate Contact Manager

    Thunderbird 1.5 – 2.0.0.*

    Facilitates handling of duplicate contacts in your address books. You know you have some.

  • Enigmail – provided by Ubuntu, but I install it manually

    Thunderbird 2.0 – 2.0.0.*

    OpenPGP message encryption and authentication

  • Extension List Dumper – produces this list in nice HTML

    Thunderbird 1.5 – 2.0.0.*

    Dumps a list of the installed extensions.

  • Lightning – I install this one manually too.

    Thunderbird 2.0 – 2.0.0.*

    An integrated calendar for Thunderbird (build 2008091718)

  • Mail Redirect – a must to save some « here’s this email I got but it should go to you  » intros.

    Thunderbird 0.7 – 2.0.0.*

    Allow to redirect (a.k.a. « bounce ») mail messages to other recipients

  • Provider for Google Calendar

    Thunderbird 2.0a1 – 2.0.0.*

    Allows bidirectional access to Google Calendar

  • Quicktext – great for multiple signatures and templates

    Thunderbird 1.5 – 3.0a1

    Adds a toolbar with unlimited number of text to quickly insert. It’s also possible to use varibles like [[TO=firstname]]. With settings for everything.

  • QuoteCollapse – you know, some people just looooove to quote.

    Thunderbird 0.7 – 2.0.0.*

    Collapse quotes.

  • Remember Mismatched Domains – yes I use Dreamhost and SSL.

    Thunderbird 1.5 – 2.0.0.*

    Adds a ‘don’t ask me again’ option to the Domain Name Mismatch Security Error window.

  • Remove Duplicate Messages (Alternate) – no comment!

    Thunderbird 1.5 – 3.0a1

    Locates duplicate messages in mail folders and removes them.

  • Sender Verification Extension

    Thunderbird 0.6 – 2.0.0.*

    Protects you from phishing with SPF and DomainKeys.

  • Tag Toolbar

    Thunderbird 2.0b1 – 2.0.0.*

    Add toolbar for toggling tags.

  • Xpunge

    Thunderbird 1.0 – 2.0.0.*

    Empties the Trash folder and compacts folders in multiple Thunderbird accounts.

If you have any that make your Ubuntu life easier, let me know!

 

Ubucon Colombia this Saturday Nov. 29

Ubucon ColombiaFollowing a long tradition, an Ubucon will be rocking Bogotá, Colombia no less! The date is this coming Saturday Nov. 29th. Save the date!

The Colombian LoCo Team has been very actively preparing for this event, they even lined up some sponsors. There will be 2 separate conference tracks and one workshop track, and the event will be streamed live. This looks to be a lot more than an informal gathering! All details are available on the website.

It’s exciting to see local business and enthusiasts getting together around Ubuntu. Make sure you file the registration form if you’re attending.