The bitter taste of good intentions

In a recent blogpost Eran explains why he withdrew from the OAUTH WG. Having observed the workings of that particular WG since its inception I thought I’d provide some perspective.

To put it briefly: Eran is in part right and completely, totally off base.

Let me first say that I admire Eran for sticking with it for so long. Being a document editor for something that needs 30 version to get “done” is not easy.

Eran is completely right in saying that OAUTH 2.0 has grown into a much larger beast than 1.0 and that there are now ways in which you can put 2.0 together that will be unsafe, non-interoperable and probably fattening too. Eran is also right in thinking that the WG has taken way to much time to reach this point.

However Eran is missing an important reason for why things developed they way they did. Eran touches on this when he talks about enterprise vs web.

In fact where Eran talks about enterprise it should really say “Microsoft”.

Early on and for several meetings the WG was totally devoid of traditional software vendors. It did (to some extent) attract the big web companies with a stated interest in OAUTH: Facebook, Google, Yahoo along with a few of the mobile operators. The mobile operators stayed on and have made important contributions but the web companies were a completely different story.

Personally I was surprised at the level of “ego-waving” going on at some of the early meetings and when WRAP appeared. I especially recall one WG meeting where a representative from one large stakeholder disrupted a session by walking out in the middle of an active round-table discussion stating boredom as a reason.

In its formative months when a WG depends on committed and active participation from invested vendors and operators the OAUTH WG had too little of this and too much casting about.

When MSFT turned up (and people who know me know that I seldom sing their praise) their presence stabilized the WG and it started to make progress but important time had been lost.

Is OAUTH 2.0 a failure?

Future will tell. I do not think the fact that FB is still operating on version 20 (or something) is a measure of the success or failure of the protocol. Having implemented OAUTH 2.0 myself I don’t agree with Eran that 2.0 is more complicated than 1.0 – quite the contrary. I agree with Eran in thinking that an important piece of OAUTH 2.0 has been lost by making signatures an optional part of the spec. Ironically the proponents of that change cited more or less the same reasons that the opponents of “WS-*” cite: simplicity.

If there is a lesson to be had, perhaps it is this: make it as simple as possible but no simpler. Unfortunately many standards organizations (SDOs) routinely fail to remember this.

The challenge going forward is how we measure interoperability for something like OAUTH where there are no reference implementations, few traditional software vendors (and those that exist add lots of secret sauce to the mix).

Will OAUTH 2.0 move beyond single-vendor ecosystems where if you want to talk to Facebook you’d better use the Facebook reference code if you expect anything to work?

I sure hope so.

5 Comments

Filed under Identity, Internet

#rlbob

https://spaces.internet2.edu/display/rlbob/Home

Next I’ll pick up the shovel and keep digging.

Comments Off

Filed under Identity, Internet, Uncategorized

pyFF – another metadata aggregator

In the world of large scale identity federations the problem-du-jour is how federation operators can connect their federations and share services.

The eduGAIN program led by my good friends Valter Nordh and Brook Schofield, in being a concrete instantiation of interfederation, is starting to reveal operational issues in a number of national R&E federation specifically wrt to how SAML metadata is managed and made available to connected relying parties and identity providers.

A couple of years ago Ian Young wrote a a blog post on an operational model for metadata and Andreas Solberg started work on a basic metadata aggregation profile in part based on those ideas. At the recent tf-emc2 OpenSpace in Zurich Brook ran a session on this topic. These efforts will need to converge in the near future to produce a Standard Model for Interfederation.

In order to support such a model the world needs working code.

Ian and the Shibboleth team has been working on MA1 for a while. I’ve had code in this space too – for instance my saml-md-aggregator.

Recently (last Monday) me and the SWAMID operations team realized we needed to modernize the way we manage and publish our metadata so I took the opportunity to roll up my sleeves and write some code.

The result is pyFF – Federation Feeder.

pyFF is based on a simple execution model – metadata goes in one end and out the other and in between processing happens in a pipeline of basic operations described by a simple DSL (domain specific language) using YAML syntax. Right now the code is in rapid development and I expect it to be in production for SWAMID very soon.

Check it out and send me comments: leifj at sunet.se

Comments Off

Filed under Uncategorized

Why it is (sometimes) ok to shoot yourself in the foot

I got this link on a list earlier today: Facebook (2 step authentication) fail !

I totally disagree with almost all the assumptions and conclusions of that post. The only bit I can sort-of agree with is that maybe, just maybe it is not a good idea to allow you to opt out of security without proving your identity with a higher level of assurance but I can also totally grok why FB is doing it this way. The reason is spelled “support costs”.

The fundamental mistake of the post is this: The author assumes that strong(er) authentication (eg 2-factor) should be at the discretion of the site owner.

As content owner (my facebook page, my crap) in this case, I carry most of the risk associated with protecting my data. It is therefore totally fine to let me bypass security if I want to – up to a point.

At some point FB assumes some basic level of risk and responsibility which is why they won’t let me create an account without a password.

If this were a bank the border between personal risk and site-owner risk would shift – in part because the law mandates a higher level of responsibility on the part of the bank than in the case of FB.

Higher level-of-assurance/protection is successfully introduced for one of two reasons:

  • the user values his/her data (cf blizzard tokens)
  • “the man” (eg the government) tells you how it must be

Luckily FB isn’t “the man” – at least not yet – and isn’t in a position to force users into valuing their data above a level that is minimally accepted by most users.

This is the reason strong authentication almost always fails when faced with reality: most of us security nerds don’t share the same gut-reaction with respect to data value than most “normal” users and therefore we are willing to accept a higher degree of hassle when it comes to protecting that data.

This brings me back to the fundamental point: the cost of introducing strong authentication is not in tokens, provisioning or identity proofing. Most of the cost is in support. The simple truth is that most ways we have devised to improve security of the authentication step in any protocol suck from a UI perspective. Fundamentally all such measures (be it SMS codes, OTP tokens or so called “smart” cards) all introduce extra steps in the login process. This means that they are seen by the user as an obstacle that he/she must overcome before they can get at whatever content they were going for.

Incidentally this is related to click-through terms-of-use dialogs but that is another story and another blogpost.

It is worth noting (as I usually try to do when this topic comes up in conversation) that some of the most successful deployments of 2-factor tokens are in the gaming industry and I firmly believe that in these cases the user values their data sufficiently much to accept the additional obstacles imposed by stronger authentication.

I also firmly believe that anyone who can design a truly user-friendly strong authentication mechanism would get rich pretty fast and would do a great service to the Internet.

8 Comments

Filed under Uncategorized

Why you should care about the CABforum

The CA browser forum (aka CABforum) announced a couple of days ago that they would form a WG on “organizational reform”.

Why is this important I hear you say?

The CABforum has quite a lot of power. This group makes decisions that affect which CAs are chosen for inclusion in default browser trust stores. Currently the group is comprised of browser and CA vendors. Notably absent are any relying parties.

Here is how to participate (quoted from the cabforum.org announcement):

In support of this process, the special working group is soliciting short (no more than 750 words, please) position papers and statements of interest from organizations and individuals on these topics. We encourage stakeholders to submit their comments to questions@cabforum.org now through March 30, 2012. All submissions will be posted publicly on the CA/Browser Forum website. (www.cabforum.org)

Comments Off

Filed under Trust

convergence & federations?

Convergence is one of several proposed solutions to the problem of lying and poorly managed CAs. DANE is of course another. I like fighting on multiple fronts so when rlbob sent me an inspirational email today after listening to Moxie talk about convergence at #RSAC I just could not resist it.

To make a long story short I went and setup a convergence notary. If you feel like trusting it feel free to visit https://etc.mnt.se/mnt.notary but make sure you visit convergence.io and install their FireFox plugin first.

Here then is the rlbob challenge:

The Chrome guy says they can’t use convergence because the traffic load would be too high for anyone but them to support, and they can’t be the ones to validate pubkeys for their own browser. In steps a worldwide network of registrars run by R&HE using our spare computing power and bandwidth. Let’s do it!

Lets see what happens next!

Comments Off

Filed under Trust

Not posting enough

Clearly the blog has been, if not dead then asleep for quite some time. I have no idea if people are even reading this but I’ll start posting again presently. My lack of updates has not been due to lack of activity!

Comments Off

Filed under Uncategorized

Gaps to Map

Right before the IETF in Anaheim I’m off to the ISOC Identity event: Mapping the Gaps in DC. This post is a set of possible discussion points for that event. The event will focus on the gaps between the technological and policy/legal view of the identity metasystem.

Standardized Federation Policy and Practice Statements

Building identity federation involves establishing policy documents and practice statements analogous to the CP and CPS of a PKI. In the world of public key infrastructure there are templates to start from – RFC 3647, ETSI TS 102 042, ANSI X9.79, etc. In the world of federations there is no such help. We need those and we need them to be simpler (if possible) than their PKI cousins.

Simplified/Standardized Federation Contracts

Joining a federation (as an SP or IdP) often involves signing some form of contract. For an SP joining multiple federations the fact that no two contracts look alike soon becomes a problem. There are at least two ways around this:

  • Make the contracts easily comparable – i.e standardize!
  • Do away with the contracts all together.

In may situations having a contract will probably be inevitable but in certain cases it might be perfectly reasonable not to have a contractual relationship between (say) an SP and a federation. I’ve blogged about this and there has been some work in this area.

Separate technical trust from federation metadata

Technical trust for identity federation is often (at least in many R&E federations) represented as signatures on SAML metadata documents which contain keys for the member entities. This works (often better than using a traditional PKI) but it does tie technical trust management in with a particular identity technology. We need a way to represent technical trust which is easier to setup and maintain than PKI and which can be applied to all identity technologies in use today.

Comments Off

Filed under Uncategorized

Computer Sweden picks up on Swedish eID problems

Computer Sweden har intervjuat Fredrik Ljunggren på Kirei om vår blog-plost om federerad e-id i Sverige.

Dom har faktiskt uppfattat budskapet riktigt väl!

Comments Off

Filed under E-delegationen

Kammarkollegium och organisationslegitimationerna

Det är svårt att tänka om.

Nyligen kom e-delegationen ut med sitt betänkande kring bla eID där man tydligt säger att man vill satsa på identitetsfederationer och på öppna lösningar för identifiering i Sverige. Ingen blir nog förvånad om Skatteverket kommer att få ansvara för nämnden för e-samordning och om Kammarkollegium kommer att få göra alla upphandlingar som blir resultatet av de standarder och regelverk som nämnden förhoppningsvis kommer att etablera. So far so no surprises…

Det är därför med växande förvåning jag har följt hanteringen av sk organisations-legitimationer hos Kammarkollegium under sommaren och hösten. Där har man suttit och räknat ut att X509-certifikat med både personnummer och organisationsnummer är det bästa sättet att representera att NN jobbar på firma X.

Alla som har någon insikt i hur identitetssystem byggs idag inser att det finns en del problem med ett sådant angreppsätt och att en modernare lösning kanske hade varit att jobba med teknologi som kan hantera attribut i någon form, tex OpenID, SAML, InfoCard eller varför inte attributcertifikat!

Trots att det alltså finns invändningar i sak och ett uppenbart behov att samordna med nära förestående arbete inom ramen för nämnden för e-samordning så kör Kammarkollegium på som om inget har hänt…

Idag var det informationsmöte på Sheraton. Det kändes lite som att sitta på en diskussion i 15 punkter kring färg, form, placering, material och distribution av havrepåsar för framtidens hästlösa vagnar. Vid varje punkt påpekade någon i publiken att det kanske inte behövs en häst eller att om det behövs en slags häst så kanske det är en järnhäst som inte äter havre. Efter varje diskussion så gick presentationen av nästa punkt vidare (“.. och såhär tror vi att havrepåsen ska spikas fast…”).

Någon påpekade helt korrekt (om också tämligen irrelevant) att det kan finnas användning av certifikat med organisationsnummer instoppade även om man använder federationsteknologi.

Jo man kan ju vilja leda en häst bredvid bilen och då vill man kanske ha en havrepåse…

Som vanligt i dessa sammanhang så drog någon med jämna mellanrum fram “signaturs-kortet”: “Det går ju inte att göra offline signaturer med en sån däringa federations-pryl…”. Helt rätt. Man kan inte köra sin hästlösa vagn ut i skogen om man skulle behöva avverka ett träd på vägen mellan Konsum och hemmet men genom att optimera för det vanligaste fallet (identifiering) så blir hela systemet så mycket billigare att man har råd att hyra sig en skogsmaskin när man behöver den.

Vi behöver mer konkurrens inom eID i Sverige, inte mindre! Kammarkollegium har ett ansvar att göra upphandlingar som inte i onödan begränsar spelplanen till de få företag (jag kan räkna dom på ena handens fingrar även om jag har tappat ett par fingrar) som utfärdar den typ av ḱort som Kammarkollegium uppenbarligen har i åtanke. Jag menar att Kammarkollegium (om man alls ska ge sig in i detta) bör bredda upphandlingen till att inkludera all teknologi som rimligen kan anses ha samma nivå av tekniska skydd som ett klassiskt PKI-kort, tex olika former av OTP-tokens som av goda skäl blivit allt mer populära på senare tid.

I och med etableringen av federations-lösningar så spelar det ingen roll vad som används för inloggningen så länge det finns ett assuransnivå-begrepp (LoA) som både identifierande part och förlitande part kan enas om. Sådana assuransbegrepp finns det flera färdiga man kan använda – tex Kantara Identity Assurance Framework som av allt att döma är bra nog för att bli godkänt för användning inom USAs statsförvaltning.

Missförstå mig rätt nu – jag gillar 2-faktors-inloggning! Jag menar bara att efter 10+ år med PKI-kort som flaxar med armarna och aldrig lyfter så är det hög tid att vi släpper in några nya spelare i laget och ser om dom lyckas bättre. Federationsteknologi är bla ett sätt att göra spelplanen lite öppnare och lite jämnare.

Comments Off

Filed under E-delegationen