Telecom immunity and the rule of law

Black lagoon pinball machine

A recent article in Slate discusses how legal policy in the United States should be fixed in the post-Bush era. There are many things in it with which I wholeheartedly disagree. Perhaps the most egregious case is in relation to providing immunity to telecom firms that carried out illegal wiretaps for the administration. Jack Goldsmith argues:

Private-industry cooperation with government is vital to finding and tracking terrorists. If telecoms are punished for their good-faith reliance on executive-branch representations, they will not help the government except when clearly compelled to do so by law. Only full immunity, including retroactive immunity, will guarantee full cooperation.

I think the bigger danger here is providing a precedent that firms can break the law when asked by the administration, then bailed out afterwards. Only fear of prosecution is likely to make firms obey the law in the first place. Providing immunity would invalidate the concept of the rule of law, and open the door to more illegal actions carried out by the executive branch. “Full cooperation” is precisely what we do not want to encourage.

If government wants to intercept the communication of private individuals, it must be a policy adopted through the due course of law. People need to know what it involves (though not necessarily the details of exactly how it works), who supported it, and how those supporters justified the choice. Greater security from terrorism at the cost of a more opaque and lawless state is not a good tradeoff. Company bosses should fear that they will be the ones in the dock when evidence emerges of their engaging in criminal acts, regardless of who asked them to do so. The alternative is more dangerous than the plots that warrantless wiretapping sought to foil.

Getting a gravatar

People reading comments recently will have noticed that this site now supports Gravatars. (Globally Recognized Avatars). These little pictures go beside any comments you leave, allowing you to express yourself a bit and others to identify you at a glance.

Getting one is free and easy and is done from the site linked here. Once you have one, it will appear beside all the comments left on this site using your email address, as well as on all other sites that have Gravatar support in place.

[Update: 5 May 2008] I am trying out Identicons as a default image for those without Gravatars. They are automatically generated based on IP address and may make conversations with many commenters easier to follow.

WordPress 2.5

WordPress 2.5 doesn’t look much different from the perspective of the reader, but the administrative controls are much slicker. Upgrading seems to be relatively painless, and my plugins seem to work.

One really nice thing is that you can now change the default thumbnail size from within the interface (under Settings > Miscellaneous). My thumbnail size hack can now be cheerfully thrown into the dustbin of historical code.

I remain impressed that the WordPress team continues to produce such excellent free software – the best blogging platform available.

[Update: 14 Apr 2008] WordPress 2.5 seems to have a lot of bugs. Often, it hangs when I try to post comments, then tells me the comments are duplicate. I am getting lots of Error 500 pages. Sometimes, when I make a post WordPress says that it failed. It then becomes a draft with random incorrect categories attached to it.

The new page for writing posts has an awkward layout. The scheduled posts page doesn’t show the time when posts will appear. The image uploader sometimes refuses to let you add titles or descriptions to things you just uploaded, with the option to insert them into posts similarly vanished.

Hopefully, a new version that fixes all these issues will emerge soon.

[Update: 15 Apr 2008] The Flash uploader in WordPress 2.5 is quite terrible.

Photoshop express

Adobe has released a free web-based version of their most popular image editing program, called Photoshop Express. The software allows for a number of fairly basic modifications, including cropping, exposure correction, saturation and white balance changes, and sharpening. One nice touch is that it does allow the conversion of images to black and white using any of several virtual colour filters. The free service includes two gigabytes of storage, and seems to include mechanisms for integrating with Facebook, Photobucket, and Picasa.

The web version has nothing on the full version of Photoshop – lacking tools like levels and curves, not to mention paths, masking and the thousands of other things that make Photoshop so versatile. That said, it’s a nice thing to be able to use in a pinch, when nothing more capable is readily available.

Any used computers kicking around?

I find myself with a renewed interest in setting up a VNC compatible Linux-based terminal server. I don’t want to use my existing laptop because (a) I don’t want to leave it all on the time and (b) I don’t want to expose it to possible attack from the wider internet. As such, I am looking for a fairly basic used system – PC or Mac – that someone is willing to let go cheaply. A computer that got relegated to a closet when a newer one was purchased might be perfect.

Do any readers in the Toronto/Ottawa/Montreal area have any such hardware kicking around? It only needs to be capable of running a virtual private network client, terminal server client, and web browser.

Rainbow tables

Transit archway

I have previously written about one-way hash functions and their importance for cryptography. Recapping briefly, hash functions take some data (a password, a picture, a file, etc) and pass it through a mathematical algorithm. This produces an output with two special features. First, it should be very difficult to find two pieces of data that produce the same output (collisions). Second, it should be very difficult to work backwards from the hashed version to the original. By ‘very difficult,’ I mean ‘challenging for a government with cryptoanalysts and millions of dollars worth of hardware.

Rainbow tables are a novel way of reversing hash functions. Basically, these consist of massive databases of hash and plaintext data. Rather than trying to calculate back from the hash you have to the password you want, you can use the hash in combination with the latter to get the password quite quickly. Since many applications and operating systems use hashed passwords to increase security, having access to rainbow tables could make them significantly easier to compromise.

This is just another example of how math-based security is constantly challenged by evolving technology and falling prices. Being able to afford enough storage for rainbow tables alters the security of hash functions generally. MC Frontalot definitely had it right when he argued that: “You can’t hide secrets from the future with math.”

PS. As with slugs, the best defence against rainbow tables probably consists of using salt.

Climate blogs

For those wanting more information on climate science and policy than they are getting from here, these are some blogs to consider:

  • Gristmill: Diverse, accessible, and very frequently updated
  • R-Squared Energy Blog: Written by an oil expert, mostly about petroleum and biofuels
  • RealClimate: Usually very detailed and quite technical, raw climatic science
  • ClimateEthics: Infrequent posts, but long and complex ones
  • DeSmogBlog: Fairly similar to Gristmill. Sometimes has very interesting information
  • The Oil Drum: More than you will ever want to know about hydrocarbons

No matter what your appetite for climate information in blog form, those should satisfy it.

Are there any others that people read and would recommend?

The Art of Intrusion

Ottawa war memorial

I bought Kevin Mitnick‘s book largely out of nostalgia for elementary school days involving 2600 Magazine and a phone system that still used in-band signaling. While it does demonstrate that computer hacking skills don’t translate brilliantly into writing ability, it is a quick and interesting read for security-inclined nerds.

The lesson for the general public is that decent security is very hard to achieve; there are just too many avenues of attack. When dealing with something as complex as a corporate or government network, there will virtually always be some obscure forgotten modem, some employee who can be tricked, some wireless signal that can be intercepted. Faced by opponents with sufficient time, resources, and risk aversion, pretty much any network is likely to fail.

Of course, that doesn’t mean we should throw up our hands and ignore security. It remains possible to stop many breaches, to notice the ones that happen, to limit the damage they do, and to improve our chances of catching those who pulled them off. For those whose business it is to do such things, the Mitnick book may provoke a bit of new thinking. For interested amateurs, it provides a decent glimpse into the real character of computer hacking: an activity apparently more akin to patient, precise occupations like archeology than to fast-paced daredevil stunts like those in Hackers or The Matrix. Overall, Bruce Schneier is more interesting and a better writer, but Mitnick has a lot more focus on (and perhaps more access into) the blackhat community.

Another climate resource

For those of you hunched over your keyboards, despairing at the lack of reading material on climate change available online, here is a new resource:

It is largely focused on the United States, but has at least a link or two relevant to virtually every climate change related issue or area.

Build your own traffic jam

Those interested in matters of transport and urban planning will find this Java-based traffic simulator entertaining. The model – produced by the Swiss Federal Institute of Technoloy can simulate ring roads, highway onramps, the effect of lane closures, and other things.

It definitely demonstrates the existence of tipping points in complex dynamic systems like traffic. Often, you find that a very subtle change has a huge macro-level effect. While the simulation surely isn’t perfect, it does suggest that more capable versions could be excellent planning tools.

The Swiss group has other models, as well.