Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Too many Python accounts (was Re: PyPI comments and ratings, *really*?)

 

 

First page Previous page 1 2 Next page Last page  View All Python dev RSS feed   Index | Next | Previous | View Threaded


tjreedy at udel

Nov 14, 2009, 12:31 PM

Post #1 of 31 (2762 views)
Permalink
Too many Python accounts (was Re: PyPI comments and ratings, *really*?)

Martin v. Löwis wrote:

>>> This is indeed intentional: people like you won't upload packages to
>>> PyPI, nor will they take part in the rating system, as both require
>>> a PyPI account.

Why? I already have python tracker account and a python wiki account
which is already 2 too many. The latter was a pain because the site lost
my registration and as of a year ago, the registration process was
broken. I would much prefer just one python site registration.

Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 14, 2009, 2:23 PM

Post #2 of 31 (2681 views)
Permalink
Re: Too many Python accounts [In reply to]

Terry Reedy <tjreedy [at] udel> writes:

> Martin v. Löwis wrote:
>
> >>> This is indeed intentional: people like you won't upload packages
> >>> to PyPI, nor will they take part in the rating system, as both
> >>> require a PyPI account.
>
> Why? I already have python tracker account and a python wiki account
> which is already 2 too many. The latter was a pain because the site
> lost my registration and as of a year ago, the registration process
> was broken. I would much prefer just one python site registration.

And that registration should be using any OpenID, so that I don't need
any new identities to participate on the Python sites: I can re-use
existing identities.

I would make a bug report for that, but the Python bug tracker also
requires yet-another-identity. It's lunacy.

--
\ “Value your freedom or you will lose it, teaches history. |
`\ “Don't bother us with politics,” respond those who don't want |
_o__) to learn.” —Richard Stallman, 2002 |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


stephen at xemacs

Nov 14, 2009, 3:52 PM

Post #3 of 31 (2683 views)
Permalink
Re: Too many Python accounts [In reply to]

Ben Finney writes:

> I would make a bug report for that, but the Python bug tracker also
> requires yet-another-identity. It's lunacy.

No, it's legacy. The software predates the availability of OpenID.

If you'd like to integrate Open ID authentication into Roundup, I will
personally be happy to do the followup required to get the patch on
the radar of the Python site and Roundup software maintainers.
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 14, 2009, 5:36 PM

Post #4 of 31 (2675 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

> Why? I already have python tracker account and a python wiki account
> which is already 2 too many. The latter was a pain because the site lost
> my registration and as of a year ago, the registration process was
> broken. I would much prefer just one python site registration.

Then I recommend that you get a google account for your email address,
and register to PyPI using OpenID.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 14, 2009, 5:36 PM

Post #5 of 31 (2676 views)
Permalink
Re: Too many Python accounts [In reply to]

> And that registration should be using any OpenID, so that I don't need
> any new identities to participate on the Python sites: I can re-use
> existing identities.

PyPI actually does support OpenID.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 14, 2009, 5:44 PM

Post #6 of 31 (2677 views)
Permalink
Re: Too many Python accounts [In reply to]

"Stephen J. Turnbull" <stephen [at] xemacs> writes:

> Ben Finney writes:
>
> > I would make a bug report for that, but the Python bug tracker also
> > requires yet-another-identity. It's lunacy.
>
> No, it's legacy. The software predates the availability of OpenID.

I don't agree that's a “no”; it's a “yes, and” :-)

> If you'd like to integrate Open ID authentication into Roundup, I will
> personally be happy to do the followup required to get the patch on
> the radar of the Python site and Roundup software maintainers.

I'll give the usual caveat of “this is but one of the many services I
would like to be able to authenticate in with OpenID”, but it's a caveat
rather than a rejection. I'll keep your kind offer in mind in case I get
the bandwidth to take that on.

--
\ “Our products just aren't engineered for security.” —Brian |
`\ Valentine, senior vice-president of Microsoft Windows |
_o__) development, 2002 |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 14, 2009, 6:11 PM

Post #7 of 31 (2678 views)
Permalink
Re: Too many Python accounts [In reply to]

"Martin v. Löwis" <martin [at] v> writes:

> > And that registration should be using any OpenID, so that I don't
> > need any new identities to participate on the Python sites: I can
> > re-use existing identities.
>
> PyPI actually does support OpenID.

I commend the PyPI administrators for this step, but the implementation
is currently insufficient: it conflates a user's OpenID (their identity,
as a URL) with their OpenID provider (the service which the person has
chosen to do the authentication check and serve the data). That's what I
meant by “should be using any OpenID”.

One of the best features of the OpenID system is identity delegation:
that one's identity can be decoupled from the service behind the scenes
which provides that identity. This is important, because it means I am
not tied to a particular provider to maintain my identity; if they no
longer provide my identity in a way I like, I can switch to a different
provider while keeping the same identity.

Fred can use his own OpenID ‘fred.example.org’, initially set up behind
the scenes to delegate to ‘bigcorp.example.com’ as the provider. Any
time he likes, Fred can *change* which provider is actually used for
authentication, without changing his OpenID. PyPI gets to find out which
provider Fred is using for the identity ‘fred.example.org’ each time it
performs discovery on that identity, not before.

So, PyPI should not be asking the user “what is your provider?” since
that's (a) a detail irrelevant to the user if they just know their
OpenID, (b) liable to change independent of the OpenID, and (c)
discoverable from the OpenID auth process anyway.

PyPI should instead ask the user for their OpenID (‘fred.example.org’),
without discussing providers. Then, attempt to authenticate that user,
at which point PyPI automatically gets to find out which provider is in
use (‘bigcorp.example.com’). If you *then* want to be picky and complain
that PyPI refuses identities provided by ‘bigcorp.example.com’, that's
the time to do it.

I hope that makes more sense.

--
\ “Geeks like to think that they can ignore politics. You can |
`\ leave politics alone, but politics won't leave you alone.” |
_o__) —Richard Stallman, 2002-07-26 |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 14, 2009, 6:31 PM

Post #8 of 31 (2672 views)
Permalink
Re: Too many Python accounts [In reply to]

> Fred can use his own OpenID ‘fred.example.org’, initially set up behind
> the scenes to delegate to ‘bigcorp.example.com’ as the provider. Any
> time he likes, Fred can *change* which provider is actually used for
> authentication, without changing his OpenID. PyPI gets to find out which
> provider Fred is using for the identity ‘fred.example.org’ each time it
> performs discovery on that identity, not before.

Does that actually work? What actual OpenID provider allows me to claim
'fred.example.org' as my OpenID? Sure, one can use authentication
delegation, by means of the openid.delegate link. However, that still
doesn't make the claimed identifier fred.example.com, but
bigcorp.example.com/fred.

So the only thing users gain with delegation is that they don't need
to remember the tedious URL that their provider assigns them. When they
switch providers, their claimed ID will still change, and they'll have
to reregister in all services they use.

Please correct me if I'm wrong.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


tjreedy at udel

Nov 14, 2009, 7:09 PM

Post #9 of 31 (2673 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

Martin v. Löwis wrote:
>> Why? I already have python tracker account and a python wiki account
>> which is already 2 too many. The latter was a pain because the site lost
>> my registration and as of a year ago, the registration process was
>> broken. I would much prefer just one python site registration.
>
> Then I recommend that you get a google account for your email address,
> and register to PyPI using OpenID.

OK, that worked after I hit the button a second time. Good enough.

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


ben+python at benfinney

Nov 14, 2009, 7:53 PM

Post #10 of 31 (2673 views)
Permalink
Re: Too many Python accounts [In reply to]

"Martin v. Löwis" <martin [at] v> writes:

> > Fred can use his own OpenID ‘fred.example.org’, initially set up
> > behind the scenes to delegate to ‘bigcorp.example.com’ as the
> > provider. Any time he likes, Fred can *change* which provider is
> > actually used for authentication, without changing his OpenID. PyPI
> > gets to find out which provider Fred is using for the identity
> > ‘fred.example.org’ each time it performs discovery on that identity,
> > not before.
>
> Does that actually work? What actual OpenID provider allows me to
> claim 'fred.example.org' as my OpenID?

It's inherent in the protocol, and any standards-conformant provider
supports it. If Fred controls ‘fred.example.org’ (i.e. can cause that
URL to serve a document of his choosing), then Fred gets to delegate to
any OpenID provider, and can change it at any time while keeping the
same identity URL.

If Albert, on the other hand, doesn't want to set up a URL under his
control but instead just use an identity managed by someone else, that's
a perfectly valid option: he can use ‘bigcorp.example.com/albert’ as his
OpenID, and BigCorp will take care of being the endpoint as well. Albert
is not getting any benefit from identity delegation (he's going to have
a transition difficulty at some later date when he decides BigCorp isn't
serving his identity needs any more), but neither is he required to know
about delegation or other protocol details.

> Sure, one can use authentication delegation, by means of the
> openid.delegate link. However, that still doesn't make the claimed
> identifier fred.example.com, but bigcorp.example.com/fred.

That's not right (this is what I mean by unnecessarily conflating “who
provides the identity this time” with “what is the identity”). The
‘bigcorp.example.com/fred’ URL is *not* Fred's identity in our example,
it is only the “endpoint URL”: where Fred has configured his delegation
to go. Having control over ‘fred.example.org’, Fred configures
delegation, and then can happily forget the endpoint URL in his daily
activities. When asked for his OpenID, Fred uses ‘fred.example.org’.

Albert, on the other hand, has punted on the whole issue of delegation;
he uses ‘bigcorp.example.com/albert’ as his OpenID, because BigCorp
causes that URL to be both an OpenID and an endpoint. That's still fine
as far as the authentication process is concerned.

But the relying party (the party requesting an OpenID from the user; in
this case the relying party is PyPI) should not ask the user what their
provider is. The user is asked only for their OpenID: Fred will provide
‘fred.example.org’, Albert will provide ‘bigcorp.example.com/albert’.
PyPI discovers automatically, each time they use those identities, where
the provider is this time by using the OpenID discovery step on the
identity they provide.

Fred is very happy for this, since he can keep using ‘fred.example.org’
even if he later changes which provider he's delegating to. Albert is
very happy for this, because he doesn't have to know anything about
“provider” or “delegation” or “endpoint”, he just needs to remember his
OpenID. PyPI's user interface becomes simpler, because it only needs to
ask the user “what is your OpenID?” and the rest is taken care of by the
OpenID protocol implementation.

> Please correct me if I'm wrong.

I hope that helps. The documents at <URL:http://openid.net/developers/>
may be useful if you need more specifics.

--
\ “Computer perspective on Moore's Law: Human effort becomes |
`\ twice as expensive roughly every two years.” —anonymous |
_o__) |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


fuzzyman at voidspace

Nov 15, 2009, 3:41 AM

Post #11 of 31 (2665 views)
Permalink
Re: Too many Python accounts [In reply to]

Martin v. Löwis wrote:
>> Fred can use his own OpenID ‘fred.example.org’, initially set up behind
>> the scenes to delegate to ‘bigcorp.example.com’ as the provider. Any
>> time he likes, Fred can *change* which provider is actually used for
>> authentication, without changing his OpenID. PyPI gets to find out which
>> provider Fred is using for the identity ‘fred.example.org’ each time it
>> performs discovery on that identity, not before.
>>
>
> Does that actually work? What actual OpenID provider allows me to claim
> 'fred.example.org' as my OpenID? Sure, one can use authentication
> delegation, by means of the openid.delegate link. However, that still
> doesn't make the claimed identifier fred.example.com, but
> bigcorp.example.com/fred.
>
> So the only thing users gain with delegation is that they don't need
> to remember the tedious URL that their provider assigns them. When they
> switch providers, their claimed ID will still change, and they'll have
> to reregister in all services they use.
>
>
No, the whole point of delegation is that I can use voidspace.org.uk as
my openid - backed with any provider I want. I can then use
voidspace.org.uk as my openid and not be tied to any provider.

I'm afraid the PyPI implementation of openid is useless to me too - I
want to use voidspace.org.uk as my openid but it doesn't let me.

All the best,

Michael

> Please correct me if I'm wrong.
>
> Regards,
> Martin
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 10:57 AM

Post #12 of 31 (2653 views)
Permalink
Re: Too many Python accounts [In reply to]

>> So the only thing users gain with delegation is that they don't need
>> to remember the tedious URL that their provider assigns them. When they
>> switch providers, their claimed ID will still change, and they'll have
>> to reregister in all services they use.
>>
>>
> No, the whole point of delegation is that I can use voidspace.org.uk as
> my openid - backed with any provider I want. I can then use
> voidspace.org.uk as my openid and not be tied to any provider.

I'm fairly skeptical that you actually do use voidspace.org.uk.
I can believe that this is what you type into the openid field -
but the ID that is validated to the relying party is
http://fuzzyman.myopenid.com/.

So when you change the provider (and hence the openid.delegate
value), you will have to create new accounts for all services
that you use, right?

> I'm afraid the PyPI implementation of openid is useless to me too - I
> want to use voidspace.org.uk as my openid but it doesn't let me.

See above - the services may let you *enter* that string, but it
isn't your openid.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


fuzzyman at voidspace

Nov 15, 2009, 11:18 AM

Post #13 of 31 (2652 views)
Permalink
Re: Too many Python accounts [In reply to]

Martin v. Löwis wrote:
>>> So the only thing users gain with delegation is that they don't need
>>> to remember the tedious URL that their provider assigns them. When they
>>> switch providers, their claimed ID will still change, and they'll have
>>> to reregister in all services they use.
>>>
>>>
>>>
>> No, the whole point of delegation is that I can use voidspace.org.uk as
>> my openid - backed with any provider I want. I can then use
>> voidspace.org.uk as my openid and not be tied to any provider.
>>
>
> I'm fairly skeptical that you actually do use voidspace.org.uk.
> I can believe that this is what you type into the openid field -
> but the ID that is validated to the relying party is
> http://fuzzyman.myopenid.com/.
>
> So when you change the provider (and hence the openid.delegate
> value), you will have to create new accounts for all services
> that you use, right?
>

Well, when I login my registered ID is www.voidspace.org.uk and *not*
fuzzyman.myopenid.com - so I believe you are incorrect (and in fact this
very point was touted as one of the advantages of openid - that your
account is independent of your provider and that you *can* change
provider whilst retaining the same id).

myopenid *does* the validation, but my registered openid is
www.voidspace.org.uk and I *should* be able to change provider without
creating a new account.

Michael

>
>> I'm afraid the PyPI implementation of openid is useless to me too - I
>> want to use voidspace.org.uk as my openid but it doesn't let me.
>>
>
> See above - the services may let you *enter* that string, but it
> isn't your openid.
>
> Regards,
> Martin
>


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 11:31 AM

Post #14 of 31 (2650 views)
Permalink
Re: Too many Python accounts [In reply to]

> Well, when I login my registered ID is www.voidspace.org.uk and *not*
> fuzzyman.myopenid.com - so I believe you are incorrect (and in fact this
> very point was touted as one of the advantages of openid - that your
> account is independent of your provider and that you *can* change
> provider whilst retaining the same id).

On the wire (between relying party and provider), voidspace.org.co.uk
does never appear. From the OpenID 1.1 specification:

# Now, when a Consumer sees that, it'll talk to
# http://www.livejournal.com/openid/server.bml and ask if the End User
# is exampleuser.livejournal.com, never mentioning www.example.com
# anywhere on the wire.

So all I (as a relying party) get verifyied is fuzzyman.myopenid.com.
Why should I trust that voidspace.org.uk is actually a valid ID?
Can't you then produce hundreds of IDs, all delegating to the same
identity?

IOW, why should I (as a relying party) pay any attention to the ID
that you entered, rather than to what I get actually validated?

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


carey.tilden at gmail

Nov 15, 2009, 12:20 PM

Post #15 of 31 (2645 views)
Permalink
Re: Too many Python accounts [In reply to]

On Sun, Nov 15, 2009 at 11:31 AM, "Martin v. Löwis" <martin [at] v> wrote:
>
> > Well, when I login my registered ID is www.voidspace.org.uk and *not*
> > fuzzyman.myopenid.com - so I believe you are incorrect (and in fact this
> > very point was touted as one of the advantages of openid - that your
> > account is independent of your provider and that you *can* change
> > provider whilst retaining the same id).
>
> On the wire (between relying party and provider), voidspace.org.co.uk
> does never appear. From the OpenID 1.1 specification:
>
> # Now, when a Consumer sees that, it'll talk to
> # http://www.livejournal.com/openid/server.bml and ask if the End User
> # is exampleuser.livejournal.com, never mentioning www.example.com
> # anywhere on the wire.
>
> So all I (as a relying party) get verifyied is fuzzyman.myopenid.com.
> Why should I trust that voidspace.org.uk is actually a valid ID?

Since the user entered voidspace.org.uk, they presumably believe it's an
address they control. You have to assume they delegated to another
provider on purpose.

> Can't you then produce hundreds of IDs, all delegating to the same
> identity?

Yes.

> IOW, why should I (as a relying party) pay any attention to the ID
> that you entered, rather than to what I get actually validated?

Because the user entered the value they wanted as their identity. This is
the reason delegation even exists in the spec. In fact, the very next line
after the section you quoted is:

# The main advantage of this is that an End User can keep their Identifier
# over many years, even as services come and go; they'll just keep
# changing who they delegate to.

If the provider dictates the identity, as you keep insisting, that sentence
makes no sense whatsoever. The value entered as the identifier is the
identifier you should use. Otherwise, what's the point of delegation at all?

> Regards,
> Martin
> _______________________________________________
> Python-Dev mailing list
> Python-Dev [at] python
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/carey.tilden%40gmail.com
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


skip at pobox

Nov 15, 2009, 12:27 PM

Post #16 of 31 (2646 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

Martin> Then I recommend that you get a google account for your email
Martin> address, and register to PyPI using OpenID.

I've never found OpenID at all intuitive to use. Are there instructions on
pypi.python.org which detail the steps necessary to use OpenID to login? I
saw the "Claim OpenID" link on my PyPI profile page. So now I have an
OpenID URL. What am I supposed to do with that? If I visit that URL it
downloads a small bit of XML.

I've tried using my Yahoo! and Luanchpad OpenIDs for other sites in the
past. I've never successfully logged into any website with them, at least
not as far as I can recall. I realize that maybe this is something that
just doesn't click with me (maybe I'm an OpenID Luddite), but it seems to me
that OpenID needs to be a bit easier (or obvious?) to use if it's to become
some sort of de facto standard login mechanism.

Skip
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 12:44 PM

Post #17 of 31 (2645 views)
Permalink
Re: Too many Python accounts [In reply to]

>> Can't you then produce hundreds of IDs, all delegating to the same
>> identity?
>
> Yes.

But then, users can easily create as many fake accounts as they want to.
This is not something I want to happen (it's still possible to setup
fake accounts, but it should be more difficult for the average script
kiddy).

> If the provider dictates the identity, as you keep insisting, that sentence
> makes no sense whatsoever. The value entered as the identifier is the
> identifier you should use. Otherwise, what's the point of delegation at all?

It may help users to remember their openid more easily, and always fill
in the same text into the login box.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 12:46 PM

Post #18 of 31 (2647 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

> I've never found OpenID at all intuitive to use. Are there instructions on
> pypi.python.org which detail the steps necessary to use OpenID to login? I
> saw the "Claim OpenID" link on my PyPI profile page. So now I have an
> OpenID URL. What am I supposed to do with that? If I visit that URL it
> downloads a small bit of XML.
>
> I've tried using my Yahoo! and Luanchpad OpenIDs for other sites in the
> past. I've never successfully logged into any website with them, at least
> not as far as I can recall. I realize that maybe this is something that
> just doesn't click with me (maybe I'm an OpenID Luddite), but it seems to me
> that OpenID needs to be a bit easier (or obvious?) to use if it's to become
> some sort of de facto standard login mechanism.

That's indeed what PyPI attempts to do. At the "claim openid" place,
follow the Launchpad link. It should guide you through the procedure.

Then, when you want to login, again follow the Launchpad link on the
front page.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


daniel at stutzbachenterprises

Nov 15, 2009, 1:25 PM

Post #19 of 31 (2647 views)
Permalink
Re: Too many Python accounts [In reply to]

On Sun, Nov 15, 2009 at 2:44 PM, "Martin v. Löwis" <martin [at] v>wrote:

> But then, users can easily create as many fake accounts as they want to.
>

Why not do something more robust, then? For example, when a user enters an
OpenID that hasn't been seen by PyPi before, make them enter a CAPTCHA.

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>


fuzzyman at voidspace

Nov 15, 2009, 1:27 PM

Post #20 of 31 (2645 views)
Permalink
Re: Too many Python accounts [In reply to]

Martin v. Löwis wrote:
>>> Can't you then produce hundreds of IDs, all delegating to the same
>>> identity?
>>>
>> Yes.
>>
>
> But then, users can easily create as many fake accounts as they want to.
> This is not something I want to happen (it's still possible to setup
> fake accounts, but it should be more difficult for the average script
> kiddy).
>
>

This doesn't seem to be a problem for all the other sites I use my
openid with. Why not allow users to login with their own openid, but
only allow one account to refer back to the same delegated account?

Michael

>> If the provider dictates the identity, as you keep insisting, that sentence
>> makes no sense whatsoever. The value entered as the identifier is the
>> identifier you should use. Otherwise, what's the point of delegation at all?
>>
>
> It may help users to remember their openid more easily, and always fill
> in the same text into the login box.
>
> Regards,
> Martin
>


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


skip at pobox

Nov 15, 2009, 1:34 PM

Post #21 of 31 (2645 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

Martin> That's indeed what PyPI attempts to do. At the "claim openid"
Martin> place, follow the Launchpad link. It should guide you through
Martin> the procedure.

Well, since I use Google a lot more I'd prefer to use that. If I click the
Google OpenID link I now get

OpenID is already claimed

Martin> Then, when you want to login, again follow the Launchpad link on
Martin> the front page.

That seems to work, but I'm not sure how. Doesn't seem to use cookies. The
Google OpenID link leads to

http://pypi.python.org/pypi?:action=login&provider=Google

which contains nothing about me. I saw a pypi.python.org cookie which
expires "On Quit", so I restarted Camino and verified there were no
pypi.python.org cookies, then clicked the Google OpenID link. It still
works. I must be missing something obvious...

S
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 1:58 PM

Post #22 of 31 (2648 views)
Permalink
Re: Too many Python accounts [In reply to]

> This doesn't seem to be a problem for all the other sites I use my
> openid with.

Perhaps they don't care about fake accounts at all? That would, in
particular, be the case if they accept arbitrary OpenID providers
(which means that essentially no real authentication happens).

> Why not allow users to login with their own openid, but
> only allow one account to refer back to the same delegated account?

That sounds good. I'm not sure how to implement a provider change
in that scenario, though.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 2:11 PM

Post #23 of 31 (2647 views)
Permalink
Re: Too many Python accounts (was Re: PyPI comments and ratings, *really*?) [In reply to]

skip [at] pobox wrote:
> Martin> That's indeed what PyPI attempts to do. At the "claim openid"
> Martin> place, follow the Launchpad link. It should guide you through
> Martin> the procedure.
>
> Well, since I use Google a lot more I'd prefer to use that. If I click the
> Google OpenID link I now get
>
> OpenID is already claimed

That means that you already did it. You can associate each OpenID only
with one account (and it doesn't special-case that you are trying to do
it again).

> Martin> Then, when you want to login, again follow the Launchpad link on
> Martin> the front page.
>
> That seems to work, but I'm not sure how.

If it logs you in, it works.

> Doesn't seem to use cookies. The
> Google OpenID link leads to
>
> http://pypi.python.org/pypi?:action=login&provider=Google
>
> which contains nothing about me.

Don't worry about that. That's how OpenID is supposed to work.

> I saw a pypi.python.org cookie which
> expires "On Quit", so I restarted Camino and verified there were no
> pypi.python.org cookies, then clicked the Google OpenID link. It still
> works. I must be missing something obvious...

It's far from obvious. It's called "provider-driven identifier
selection". PyPI redirects your browser to Google. Google looks at
the Google cookie, and finds your identity; they also see that you
have opted to automatically log into PyPI. So without further questions,
they redirect you back to PyPI. PyPI finds your account, and displays
a logged-in page.

Look Ma, no ugly login box with tons of characters to type.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


fuzzyman at voidspace

Nov 15, 2009, 2:20 PM

Post #24 of 31 (2632 views)
Permalink
Re: Too many Python accounts [In reply to]

Martin v. Löwis wrote:
> [snip...]
>> Why not allow users to login with their own openid, but
>> only allow one account to refer back to the same delegated account?
>>
>
> That sounds good. I'm not sure how to implement a provider change
> in that scenario, though.
>
>
Even not having provider changes supported would still allow me to use
my openid with PyPI which would be great. The only problem with changing
provider that I can see is when the provider a user changes to would
then be a duplicate - in which case I think just refusing to allow the
login would be fine (rather than changing the provider for that account).

All the best,

Michael
> Regards,
> Martin
>


--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog


_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Nov 15, 2009, 2:26 PM

Post #25 of 31 (2632 views)
Permalink
Re: Too many Python accounts [In reply to]

> Even not having provider changes supported would still allow me to use
> my openid with PyPI which would be great. The only problem with changing
> provider that I can see is when the provider a user changes to would
> then be a duplicate - in which case I think just refusing to allow the
> login would be fine (rather than changing the provider for that account).

In that case, it would be much easier to record your true openid (i.e.
the one that your provider is able to validate). You can then enter the
alias that you are used to, and PyPI would map that right away to the
verifiable ID, and log you in with that.

For this to work, you would have to upgrade your web page to OpenID 2,
as this is the only protocol that PyPI supports.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

First page Previous page 1 2 Next page Last page  View All Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.