OpenID, smart cards and security risks

There have been lately some posts on the wild-wild-web about a service we’ve been preparing for public launch but there is one post I’d like to answer right now as it touches the delicate subject of security (or the urge to feel secured and safe).

I have promised a longer and more in-depth English post about the backround of the mentioned service before or right after the “gold v1.0 beta” release (what is happening really soon now, a matter of days I would say) – stay tuned for that.

Mark points out several real risks we must deal with. And yes – the golden rules for security related stuff would be “never say never” and “there is no mission impossible”. Even though my post does not give the answer to the original question about phishing nor discuss the generic functioning of smart cards or two factor authentication or identity issues I’d like to make some things clear in the context of open.id.ee solution and answer his concerns.

First: I’d like to make it absolutely clear that Estonia is not issuing OpenID-s as it is all about enabling existing technology and electronic identity rollouts to become OpenID compatible. This is mainly a question of ‘addressing’ or defining the semantics of the OpenID URL and how (if at all) do we encode the identity information into the OpenID URL. Very technical and very practical problem. You don’t issue addresses as they are just merely ‘pointers’ in programming parlance. You exist independently of any URLs possibly pointing at you. You can issue as many pointers as you like, as long as you understand the address and find it useful.

Second: The reason why this hybrid was created is not absolute security that is required by applications like electronic voting or electronic banking but to improve the overall security and privacy of the online identities of Estonians for the 99% rest of the websites in the wild wild web (and mainly abroad). Something practical. Somethig real. Right now, right here – not on the whiteboard.

Back to the list of things that could fail with open.id.ee:

A person could be threatened or bribed into activating their smart-card for someone else to use
You can never avoid the human factor. Threatened – yes (a hammer works best). Bribed? If you’re a complete moron selling your identity to someone – you could do it but what would the buyer get? By selling it you only hurt yourself (and the buyer could post on jyte a stupid claim under the sellers name). The idea is mainly to allow those who care to take better care of their online identity. If you don’t care and are willing to sell it – there is a problem secure OpenID can’t help you with. But what is very important: you can always reclaim your online identity (after you have been forced to part part from your eID card and PIN codes, thanks to either brute force or loads of gold) by applying for new eID ‘hardware’ (the old one is revoked and becomes useless).
The openid service itself could be hacked and thus faked
True. This is one of the biggest problems and this shall be dealt with special care by using a very secure environment and by open sourcing the service software. As this is a pure SSL service server certificates should help eliminate fakes.
The smart cards could be forged
Could. But very unlikely. If that would happen you should be much more worried about your Visa card than your online dog forum account. Be sure to check the pictures where I break into my eID card
Valid smart cards could be given to false identities either through forged documents or dishonest government employees
This is a more rare crime and way more serious and understood by police than a ‘my pet forum account was hijacked’. It is of course possible but here again the technical security of the given solution is secondary and human factor the primary threat.
Someone could figure out how to simulate a valid smart-card authentication
I would classify this under the generic security of smart cards. Again – this attack is possible – but very unlikely/difficult/expensive.
The openid server could have a bug that allowed for cross-site scripting attacks
True. This is what open source security is all about. You’ll eventually see the source code running the v1.0 service (and if there is a reasonable way to have signatures on the actual code running in the servers – you’ll have that too)
A phishing site might discover a way to capture a valid authentication and replay it later
What would make OpenID collapse. A lot of problems for everybody involved.

I’m all about security and healthy paranoia but in my humble opinion everyday security is mostly about common sense. Just like two terrorists would probably not use their national eID cards to secure and protect their communications, the security of the available technologies like smart cards is unbreakable for 99.999% of people and thus good enough for an even greater number of legitimate use cases.

And in the end it is all about trust. If I don’t trust somebody then there is nothing technology could change. Technology can only increase the level of trust as it shows that the other party is taking security seriously and is doing the best he could do. One has to figure out: Who do I have to trust? Why do I have to trust them? Who do I actually trust? Why do I trust them? Is the trust level good enough for the given situation?. Currently you have to trust evert site you register with to take care of your personal information rather than force the site to trust whatever YOU are willing to present as ‘this is something I trust. Use it!’…

The Estonian eID (or any national eID) is a nice reality check/example. One can say that you can’t really trust the government issuing it. But I believe it is OK in that case to use a piece of technology you do not trust to do business with a government you anyway don’t trust.

OpenID, just like electronic identity in the form of smart cards, makes stuff easier for you and more secure by design (hopefully). Take it or leave it. Use it and spend the time you save on doing something you love.

2 Comments »

  1. pauldwaite said,

    May 25, 2007 @ 2:59

    “Threatened – yes (a hammer works best).”

    Good to know :)

  2. Tara (PassPack) said,

    May 25, 2007 @ 7:09

    “I’d like to make it absolutely clear that Estonia is not issueing OpenID-s…”

    So, even though the National ID card is mandatory, it would work just fine without OpenID integration? Any links on how that works?

    Thanks,
    Tara

RSS feed for comments on this post

Leave a Comment