The right way to do electronic voting

On Monday, Ottawa held its municipal elections. The physical process of voting achieved the major benefit of electronic voting, while retaining the security associated with paper ballots. This is the right way to handle things.

Each voter was given a piece of paper with lists of candidates for the three positions under contest. The voter selected candidates and filled in small circles beside their names with a pen – a process that should be familiar to anyone who attended high school in recent decades. The paper was then put into a sleeve to cover up the selections before being drawn through a scanner and into a storage box.

Because the scanners allowed quick tabulation of results, the outcome of the election could be known quickly. Because all the paper ballots were retained, there was little danger of an error or manipulation of the voting machines leading to an incorrect result.

I don’t know whether any auditing was done, but it would be a good idea. A certain portion of all the scanners and ballot boxes could be selected at random, with the ballots hand-counted and the tally compared with the electronic one. If significant disparities appeared, a manual recount of the whole election could then be conducted.

The only limitation I can see in the system, compared with all-electronic voting approaches, is that it cannot easily be tailored to help people with disabilities, such as very poor vision. That being said, it seems pretty straightforward for a volunteer to assist people in such situations.

The ‘Firesheep’ attack against Facebook

Facebook uses browser cookies to identify who you are. These are transmitted unencrypted across wireless networks. As such, it is easy for someone to listen in, copy the cookies, and then use them to impersonate you. Firesheep is a Firefox plugin that automates this process.

Sharing a wireless connection with a bunch of flatmates? Any of them can easily access all your Facebook information or impersonate you. Same goes for people in coffee shops, libraries, on vehicles with WiFi, and so on.

Bruce Schneier brought the attack to my attention and also suggests a good countermeasure: forcing Facebook to use encrypted HTTPS connections using other plugins.

Of course, HTTPS is vulnerable to man-in-the-middle attacks, but that is probably beyond the scope of what some random Facebook hacker would attempt. That being said, what I said before about Facebook and privacy holds true – you are best off only putting things on the site that you are happy for everybody in the world to see. That applies as much to private messages between users and ‘private’ photo albums as it does to status updates broadcase to one and all.

Signals intelligence and historiography

In intelligence, the protection of sources and methods is vitally important to continued success. There are few pieces of evidence more convincing than an target’s own encrypted communication, but making it plain that it has been intercepted and decoded is likely to drive the target to tighten security and change up their systems. As such, there is always a balance to be struck between providing authoratative information in the present and retaining the capacity to do so in the future. For example, when Neville Chamberlain read out decrypted Russian telegrams in Parliament in 1927, it led to them switching up their cipher systems and making broader use of one time pads.

All this has consequences for the writing and understanding of history. Roughly, historiography refers to the history and methodology of history. Of particular importance is the history of the lessons drawn from historical events. For instance, the lessons drawn from the two world wars. Very frequently, politicians, historians, and members of the general public draw conclusions without the benefit of access to classified materials, such as intercepted and decrypted military and diplomatic communication.

An example is the Dieppe raid of 1942. In Richard Aldrich’s GCHQ: The Uncensored Story of Britain’s Most Secret Intelligence Agency, the author describes how poor cipher security on the part of the British meant that the Germans had five days warning before the supposed surprise attack. I don’t know when that information became publicly available, but it is a fair bet that it was not until well after many of those involved in the raid had made their private judgments about why it failed.

Arguably, all this is an important reason for continuing to study historical events that are fairly long-past. It might seem questionable what utility there is in studying the Russo-Japanese War in 2010, but one good answer might be how the decreased political sensitivity means that formerly closely-guarded documents are now accessible to scholars. We will probably be waiting many decades before some of the most important documents relating to contemporary international events become open to scrutiny.

Bedbug irradiation services

Travelers and buyers of used furniture now need to add a costly bedbug infestation to the set of problems they can bring home with them. Coming home from a trip on which you got bitten generates the fear that your clothes, bags, and personal effects have been infested with bugs or eggs. Since the bugs can live for months without food, the danger is a persistent one.

Conventional advice is to wash clothes in hot water and dry them on hot, then freeze everything else for a few weeks. That can be slow and impractical, however. The anxiety of a friend of mine made me think about better options, and I think I have one. Somebody should open a shop where your possessions can be exposed to gamma radiation from cobalt-60, at a level sufficient to kill bedbugs and their eggs. The service would be akin to a laundromat, but entirely focused on bedbug decontamination services.

Cobalt-60 is already used to irradiate food. Apparently, hundreds of animal feeding studies have been conducted on the safety of irradiated food, and the risks associated with having bags and clothing irradiated seem likely to be less than any associated with irradiating food that is then eaten.

While consumers are wary of irradiated food, the prospect of killing bedbugs using ionizing radiation might actually carry a kind of cruel appeal. They are about the most despised animals on the planet, after all.

Canada doesn’t deserve a UN Security Council seat

At the moment, Canada is competing for one of the ten non-permanent seats in the United Nations Security Council – the principal international body charged with the maintenance of international peace and security. Canada thinks of itself as an internationalist country that has committed itself to peacekeeping and other forms of international assistance. Unfortunately, Canada is also doing virtually everything in its power to worsen the most pressing medium-term threat to international security, namely climate change.

At the moment, the United Nations process designed to find a successor to the Kyoto Protocol is going nowhere. While that situation has many causes, one of the most important has been the unwillingness of developed states to make real commitments and take meaningful domestic action. For its part, Canada has adopted targets that would be better than nothing, but which are neither fair now adequate. In order for the world to avoid dangerous climate change, other countries would need to pick up the slack created by Canada’s lack of ambition. Even worse, Canada has no credible plan to meet those targets, and has taken no serious domestic action on climate change.

Right now, Canada is flirting with some of the most dangerous energy options out there. These include unconventional oil and gas, including the oil sands and shale gas, as well as fossil fuel reserves in formerly inaccessible places like the Arctic. Chasing those fossil fuels is foolishness. It commits us to perpetuating an energy system that profoundly threatens future generations, and redirects resources from the task of building a sustainable basis for our society.

As long as Canada continues to behave with such reckless disregard for those outside its borders, including those who are not yet born, it doesn’t deserve the prestige associated with a Security Council seat. To be sure, some of Canada’s international actions have been and are praiseworthy, but that doesn’t counterbalance the way in which Canada is helping to commit the world to a colossal blunder. Ultimately, it may require Canada becoming an international pariah before our government will stand up to the oil and gas sector. Hopefully, it won’t come to that. If Canada loses its bid for this seat on the basis of domestic and international disapproval of our environmental record, perhaps it will be a much-needed signal that our recent conduct has been unacceptable.

[Update: 12 October 2010] Canada’s bid was unsuccessful. Hopefully, the embarassment will encourage Canada to play a more constructive role in future climate change negotiations.

A geeky mystery from the new GG

Last week, I heard but did not see the CF18 jets that did a flyover of Ottawa to commemorate David Johnston becoming Canada’s new Governor General. While I believe that the monarchy is a dated institution that ought to be scrapped, I do appreciate one modern touch Mr. Johnston brought to his office, in the form of a geeky mystery built into his coat of arms. Along the bottom is a palindromic binary sequence: 110010111001001010100100111010011.

Converted to decinal representation, that is: 6830770643. In hexadecimal, it is: 1972549d3.

The decimal is pretty close to the current estimated world population. The number is also a Sophie Germain prime.

The CBC Inside Politics blog has been puzzling over the sequence, without success. So has Slashdot. Whatever the meaning of the string is, it seems to be better concealed than the MD5 hash in the emblem of the United States Cyber Command.

Any ideas?

Zero History

Zero History is the third novel in Vancouver author William Gibson’s latest trilogy of science fiction set in the present. It is the sequel to Spook Country, which came out in 2007.

Like all of his work, it is clever and well written. This trilogy succeeds in meshing together the trends and technologies of the past with those of the near-future. It also generates some intriguing characters – in this case, the recovering benzodiazapene addict Milgrim is the most interesting. Unfortunately – as is common in science fiction – Gibson does a better job of setting up a mystery than of resolving it. That and a few forgettable, interchangeable characters constitutes the biggest limitation of the work. Once again, Gibson hasn’t risen to the standard he set with his first novel, back in 1983. That said, while Gibson doesn’t display the same ability to tell a story that is compelling from end to end, in this case, Zero History does seem indicative of his maturation as a writer and a person. For instance, whereas the protagonist of Neuromancer was an unrepentent stimulant addict, Zero History explores the psychological processes of addiction recovery in an intriguing and authentic way.

Certainly, one of the interesting aspects of Gibson’s latest work is his exploration of what kind of societal changes may emerge from the most recent real technologies. As he famously remarked: “The future is already here – it’s just not evenly distributed.” In particular, he is concerned with the emergence of wholesale surveillance technologies in areas ranging from international communications to citywide networks of video cameras paired with facial recognition technologies. The ways in which such technologies intersect with the operating practices of governments, criminal syndicates, and special forces groups is certainly something that has cropped up in interesting ways in both reality and other recent fiction, ranging from the assassination of Hamas leader Mahmoud al-Mabhouh in Dubai to the fictional engagement of both police and drug gangs with communication technology on The Wire.

The climax of Zero History is probably the most disappointing part. Without revealing too much about the plot, it seems fair to say that it is a letdown after all the preparation the characters undertake beforehand, and the revelations that follow it do not seem to justify all the earlier intrigue. That said, Gibson’s latest work is a solid piece of fiction and an interesting exploration of some of the implications of emerging and existing technologies. It will also expose a lot of geeks who normally have nothing to do with the world of fashion to some of the elements thereof, in a way that suggests that the industry is not so very different from the high tech sector, with its secrets and large personalities.

The Stuxnet worm

There has been a recent flurry of discussion online about a piece of malware that targets the control systems of industrial facilities – specifically, one that seems designed to sabotage one particular facility. The speculation is that the target is either the Bushehr nuclear reactor in Iran or Iran’s uranium enriching centrifuge cascades at Natanz. If so, the idea would presumably be to slow down the development of Iranian nuclear weapons.

The sophistication of the worm has led many security researchers to speculate that only a nation state would have the resources to assemble it. That said, there are a great many unknown factors in play. The entire situation could be someone’s attempt at misdirection, or making a threat. Assuming the basic elements of speculation are correct, this would be an interesting development in unconventional military tactics. It probably wouldn’t be entirely unprecedented, however. There have already been three generations of Suter: a computer program developed by a British defence corporation, designed to interfere with communications and communications systems in a military context. Suter or similar software may have been used in Israel’s 2007 airstrike on a suspected nuclear facility in Syria.

Privacy and the evercookie

In the context of the internet, cookies are little bits of data stored by web browsers that allow them to track visitors. They have many useful purposes. Commerce sites can keep track of what you have put in your shopping cart; sites can store your language preferences and login information; and so forth. This site uses a cookie so that those leaving comments only need to enter their name and email address once. Of course, cookies can also be used in more malicious ways, such as keeping track of what sites you visit without your approval.

Clearing out cookies is something that can nominally be done by all browsers. Unfortunately, this only applies to cookies of the conventional sort. Now, there are a multitude of ways through which browsers can store information through which to identify a particular computer and browser. As a demonstration of that, the ‘evercookie’ developed by Sami Kamkar stores information in eight different ways. Furthermore, it is able to regenerate any of the information if the user deletes it, provided all eight are not deleted simultaneously.

Kamkar’s intention is to show how tracking technology has outpaced the privacy features in browsers. The loss of anonymity is one of two big changes that have taken place on the internet, since the heady days of its birth. The other, of course, is the increasingly intrusive role played by governments.

Obama and just war

The concept of ‘just war’ is one with deep roots in philosophy and law – a recognition that while wars are inevitably terrible, sometimes they are less terrible than the alternatives available. While it may have been incongruous of Barack Obama to use his Nobel Peace Prize address to discuss the subject, it was probably the only reasonable thing he could do, given his commitment to a sustained (but shrinking) presence in Iraq and his re-commitment to the war in Afghanistan. Indeed, when I first heard about the decision of the Nobel committee, I thought Obama’s best choice would be to graciously decline the prize, saying that he had not yet accomplished anything worthy of it, and was involved in the prosecution of two wars, to boot.

Obama’s sketch of the philosophy of just war includes elements of both jus ad bellum – the question of when it is right to go to war – and jus in bello – the question of how to rightly conduct yourself during war:

The concept of a “just war” emerged, suggesting that war is justified only when certain conditions were met: if it is waged as a last resort or in self-defense; if the force used is proportional; and if, whenever possible, civilians are spared from violence.

He also stresses how the elimination of violent conflict is not a plausible aim, for the decades ahead:

We must begin by acknowledging the hard truth: We will not eradicate violent conflict in our lifetimes. There will be times when nations – acting individually or in concert – will find the use of force not only necessary but morally justified.

He discusses the ways in which contemporary conflicts differ from those in more distant history, describes how American military strength has helped to maintain international stability in recent decades, and argues that some enemies can only be effectively confronted with violence. He also expresses support for the concept of humanitarian intervention, arguing that in cases like the Balkans, it can be justified to use force to stop crimes against humanity, even when doing so is a violation of traditional notions of state sovereignty

At the same time as he argues for the occasional necessity of war, Obama recognizes that war always involves horror:

So yes, the instruments of war do have a role to play in preserving the peace. And yet this truth must coexist with another – that no matter how justified, war promises human tragedy. The soldier’s courage and sacrifice is full of glory, expressing devotion to country, to cause, to comrades in arms. But war itself is never glorious, and we must never trumpet it as such.

Obama’s solution, for reducing the degree to which war is terrible and frequent, is to increase the strength of international institutions, though he doesn’t go so far as to say that the United States will never act unilaterally.

Obama brings up the issue of nuclear proliferation, but does not specify how far he would go to prevent it or roll it back:

One urgent example is the effort to prevent the spread of nuclear weapons, and to seek a world without them. In the middle of the last century, nations agreed to be bound by a treaty whose bargain is clear: All will have access to peaceful nuclear power; those without nuclear weapons will forsake them; and those with nuclear weapons will work towards disarmament. I am committed to upholding this treaty. It is a centerpiece of my foreign policy. And I’m working with President Medvedev to reduce America and Russia’s nuclear stockpiles.

But it is also incumbent upon all of us to insist that nations like Iran and North Korea do not game the system. Those who claim to respect international law cannot avert their eyes when those laws are flouted. Those who care for their own security cannot ignore the danger of an arms race in the Middle East or East Asia. Those who seek peace cannot stand idly by as nations arm themselves for nuclear war.

Earlier, he talks about developing “alternatives to violence that are tough enough to actually change behavior”, but he does not follow through and explain at what point sanctions should be abandoned in favour of the use of force, though perhaps that question is always too complex to answer with a general formula applicable to all circumstances.

All told, the speech is a thoughtful and defensible one that tries to reconcile principle with pragmatism. At its best, the United States is a key force for stability in the world, as well as the promotion of democracy and human rights. At the same time, it is very plausible that the relative power of the United States will continue to fall, producing difficult new situations in which to make foreign policy.

Obama doesn’t mention the difficulties of domestic politics – one major factor that has hampered him in trying to close down Guantanamo Bay – but that is certainly one of the biggest factors constraining his freedom of movement. Obama has certainly disappointed a lot of people by not changing foreign policy as swiftly or dramatically as they would have liked. It is not entirely clear to what extent that is the product of him being president, rather than a candidate; to what extent it is the result of domestic constraints; and to what extent it is the result of other factors. He closes in saying: “Clear-eyed, we can understand that there will be war, and still strive for peace.” It remains to be seen how that aspiration will stand beside the totality of his record as president.