openid.identity and openid.identifier

2006-10-23 Thread Dick Hardt
Hello List

I have written up what I think are the requirements for identifiers  
so that we can see if we agree to those. If so, then the proposal  
revision I have below may be an acceptable solution that keeps things  
simple and provides backwards compatibility.

Sorry that we are still having this discussion, but it is important  
if we are going to make a change, that we get it right.

-- Dick

Basic Protocol:
-
A) User provides the RP with an identifier of some kind
B) The RP uses that identifier to find the user's IdP (the RP may  
discover other  useful information in the process
C) the RP sends a request to the IdP. This request is not signed and  
could be modified between the RP and the IdP
D) The IdP decodes the request and interacts with the user
E) The IdP sends a response to the RP that includes an the identifier  
the user would like to be known as
F) The RP verifies the response is valid and from the IdP
G) The RP verifies the IdP is authoritative for the identifier  
provided (there is some funkiness with delegation)


Requirements:
-
1) 1.x compatability
We want existing 1.x OpenID IdPs and RPs to work unmodified

2) portable identifiers
This is a separation of the identifier from the identity provider.  
The document returned by resolving the identifier is under the  
control of the user and contains the IdP(s) authoritative for the  
identifier. This was a feature in OpenID 1.x that was accomplished  
with a delegation statement. The IdP was not aware of the portable  
identifier which may have some privacy advantages. In current  
implementations the delegate tag is publicly visible, so the IdP can  
easily search to find the delegates. An existing privacy advantage is  
that if a user has multiple delegates pointing to the same delegate,  
the IdP does not know which one a given RP is using. Not sure how  
valuable that is. Current thinking is that it is useful for the IdP  
to be aware of the delegate and to manage the portable identifiers.  
See Delegate Identifier Binding below for the implications of this  
change.

3) XRI support
This is a new feature in 2.0 that allows the user to provide an i- 
name rather then a URL to the RP.

4) directed identity
By allowing the user to provide the IdP URL to the RP rather then  
their OpenID, the IdP can manage a unique URL for each RP, or even  
generate a new one each time the user visits the RP. RPs cannot use  
the URL to collude about the user.

5) IdP identifier management
By providing the RP the IdP URL, the IdP can now help the user decide  
which identifier to present to the RP. The IdP could even assist the  
user if the user provided an OpenID URL or i-name. For example, the  
IdP can remember what identifier(s) the user presented in the past so  
that the user does not have to remember which identifier/persona they  
used at which site and can quickly correct mistakes.

6) Simplicity
It is desirable to keep things simple and easy to understand and  
implement.

7) Secure
It is desirable that OpenID 2.0 does not introduce new security  
concerns. We accept DNS spoofing as being an acceptable risk.


Delegate Identifier Binding:
--
For consistency with previous discussions, let's call the identifier  
contained in the delegate the IdP-specific identifier. In OpenID 1.x  
the RP bound the IdP-specific identifier to the public identifier.  
The IdP was not explicitly aware of the public identifier. It is  
desirable in OpenID 2.0 to allow the IdP to have explicit knowledge  
of the public identifier. This allows the IdP to allow the user  
select the public identifier if the IdP URL was given to the RP.
There also now are three choices on what the response to the RP can  
contain:

1) the IdP-specific identifier as was done in OpenID 1.x which leaves  
binding of the IdP-specific identifier and public identifier to the RP

2) the public identifier which implies the binding of the IdP- 
specific identifier and the public identifier is done by the IdP. In  
this case, the RP does not need to understand how the IdP is binding  
the public identifier and the IdP-specific identifier, and the IdP- 
specific identifier does not need to be resolvable

3) both the IdP-specific identifier and the public identifier. In  
this case the RP is binding the public identifier to both the IdP- 
specific identifier and the IdP

Current Proposal:

The current proposal:
http://www.lifewiki.net/openid/ConsolidatedDelegationProposal
http://openid.net/pipermail/specs/2006-October/000650.html

proposes binding using option (3). Issues with this are:

a) The IdP is able to do the binding, and the binding mechanism can  
be independent of the RP.
b) Both IdP and RP are doing the same work. Inefficient, and more  
points of security failure.
c) the message and flow is different from when non-portable  
identifiers are returned


Revised 

Re: [VOTE] Portable Identifier Support Proposal (patch)

2006-10-23 Thread Dick Hardt

On 23-Oct-06, at 12:27 AM, Martin Atkins wrote:

 Dick Hardt wrote:

 Complexity: There is no reason for the RP to be managing the binding
 between the IdP and the portable identifier. Both the IdP and the RP
 are verifying this. There is no extra security, and more things to go
 wrong in an implementation.


 You keep stating that both the RP and the IdP are verifying this, but
 under 1.1 at least this is not the case: the RP verifies the  
 delegation,
 and the IdP is completely unaware of it. There is no need for the  
 IdP to
 verify the delegation, since the RP will only harm itself if it  
 fails to
 verify the relationship correctly.

In the proposal, both the IdP and the RP verify. The IdP has to since  
the public identifier is now part of the message it is signing.

-- Dick

___
specs mailing list
specs@openid.net
http://openid.net/mailman/listinfo/specs


RE: [PROPOSAL] Handle http://[EMAIL PROTECTED] Style Identifiers

2006-10-23 Thread Hallam-Baker, Phillip



No, that is the work-arroundThe solution is 
to have theemail client assign fonts according to who 
is writing. 
Messages from Lord 
Rees-Mogg are written in an elegant Edwardian Copperplate. 
Paris Hilton uses 
BroadwayComments from Dick come in this 
font
Sounds right to 
me.
 -Original Message- From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 
Behalf Of Dick Hardt Sent: Sunday, October 22, 2006 5:00 PM To: 
Kaliya Hamlin Cc: specs@openid.net Subject: Re: [PROPOSAL] 
Handle "http://[EMAIL PROTECTED]" 
Style Identifiers On 22-Oct-06, at 12:43 PM, Kaliya 
Hamlin wrote:  For starters please don't use Comic Sans in 
professional  correspondence. it is very hard to read (or take 
seriously) http://  
bancomicsans.com/home.html Kaliya: The easy solution is to have 
your email program turn all responses to plain text. :-) 
___ specs mailing 
list specs@openid.net http://openid.net/mailman/listinfo/specs 

___
specs mailing list
specs@openid.net
http://openid.net/mailman/listinfo/specs