|
| Recent Articles |
Apple Offers Creative Countersuit Facing litigation from Creative Technology over the iPod interface, Apple has hit back with a countersuit that alleges patent infringement by its tormentor.
Zen May Hold Bad Karma For Apple Creative has filed a lawsuit against Apple for infringing on its interface patent, and also complained to the US International Trade Commission about iPod imports and sales.
Tree Maps of Disk Space GrandPerspective and Disk Inventory X are two free Mac OS X apps that give graphical views of where your disk space is being used.
Apple Beats The Beatles Over Trademark The third time in court was not the charm for record label Apple Corps, which had sought damages from Apple Computer over the use of the Apple logo in association with iTunes.
Apple Beats The Beatles Over Trademark
The third time in court was not the charm for record label
Apple Corps, which had sought damages from Apple Computer
over the use of the Apple logo in association with iTunes...
Is Steve Jobs building a 'DisneyPod?' Astute reader Diego Barros noticed this note in Apple's Shareholders meeting notes...
Burst Squeezing Apple Over Patents Apple sued Burst in January 2006 and sought a declaratory judgment to invalidate Burst's patents on video and audio real-time delivery technology, and now Burst has responded with a counterclaim seeking damages, royalties, and an end to Apple's infringement.
Airlines Want iTunes To Take Flight Instead of hoarding frequent flyer miles for the possibility of getting a free ticket to a holiday hot spot someday, airlines would like to see those travelers use those miles on something far more attainable.
Apple Releases Boot Camp For Dual-Booting Windows
Apple has released a free public beta of Boot
Camp, software that lets you install Windows XP on
a Mac...
Corps Calls Apple Rotten Another lawsuit over the Apple name between the Beatles' Apple Corps business and Apple Computer focuses on the iTunes Music Store and millions of dollars.
Government Backs Apple Against The French US Commerce Secretary Carlos Gutierrez made it known that the government supports Apple's contention that forcing it to open its DRM scheme, Fairplay, will promote widespread piracy.
Gmail Notifier In Universal Binary Google has released a new version of their Gmail Notifier for the Mac. It's a Universal Binary version, so it works nicely on both Power PC and Intel Macs.
The Best Mac OS Is Ubuntu Not many people expected the "replace your proprietary OS with Linux" movement to strike a blow against the engineers in Cupertino instead of Redmond, but that is just what one educator has done.
|
|
05.25.06 OS X File Encryption
By
A.P. Lawrence
I'm going to look at two methods for encrypting files on Mac OS X. The first is built in, and uses DisK Utilty to create an encrypted disk image.
Disk Utility
Disk Utility needs to work from a folder, so you first need to create a directory to put your protected files in. I used "secrets" as my directory name, and moved my important files into it. I then invoked (in Terminal):
hdiutil create -encryption -stdinpass -srcfolder secrets foo.dmg
You can also do this with the graphical Disk Utility tool. This will ask for an encryption passphrase, or you could just do:
echo "your passphrase" | hdiutil create -encryption -stdinpass -srcfolder secrets foo.dmg
This creates "foo.dmg" and the passphrase you used is required to open it. If you do that graphically through Finder, you'll be prompted for your phrase, or you can do it from the command line:
hdiutil attach -stdinpass foo.dmg
Entering the correct passphrase gives you a mounted disk image where you can access your files. By the way, don't forget to remove the "secrets" directory and its contents.. not much point in encrypting a disk image of a folder and leaving the unencrypted version on the disk.
| Enter
to Win a FREE iPod Nano or 3 Months of Channel Management
- Click Here |
|
GNU Privacy Guard
You can download this from http://macgpg.sourceforge.net/. Run the installer, and then at the Terminal command line run:
gpg --gen-key
This asks a few questions, including requesting a passphrase, and generates the files it needs. Generating these will take a fair amount of time - you need patience. You also need your machine to be doing something; I did "ls -lR /" in a terminal window while continuing with my ordinary work. Eventually gpg will finish up:
gpg: /Users/apl/.gnupg/trustdb.gpg: trustdb created
gpg: key 5D604AE8 marked as ultimately trusted
public and secret key created and signed.
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f,
1u
pub 1024D/5D604AE8 2006-05-14
Key fingerprint = F08A C9DC 53DF AF02 8E50 B683 2A0B 47EC 5D60
4AE8
uid Tony Lawrence (Key for files) <tony@aplawrence.com>
sub 4096g/100D68F5 2006-05-14 </tony@aplawrence.com>
For simple use, gpg is very easy. For example, given a file "stuff":
gpg -e stuff
is all you need. That will ask for a user id (you provided that when you created the gpg keys) and will create "stuff.gpg". This does not remove "stuff", so if you are using this to protect files on your disk, remove the original. To decrypt, "gpg stuff.gpg". For that, you'll need your passphrase.
For more on gpg in general, see GPG/PGP Basics and for more on integrating GNU Privacy Guard with Mac OS X programs, see Configuring GnuPG (Mac OS X)
*Originally published at APLawrence.com
About the Author: A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com
|