[Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens
New submission from Brian Sutherland br...@vanguardistas.net: Looking here it seems obvious that tokens is meant to be passed as a list/tuple: http://bitbucket.org/ianb/paste/src/4f5cfde87603/paste/auth/auth_tkt.py However the auth_tkt plugin passes it as a string. The resulting cookie is obviously wrong: auth_tkt=5a7c66804ce862df5810ac6d92ce83664cf50461%40%40brian!R,o,o,t! I find it hard to believe that this bug was at large for such a long time. So, perhaps there's a reason for the current behavior? If so, please let me know, otherwise I'll commit the attached patch to fix this. -- messages: 463 nosy: jinty priority: bug status: unread title: repoze.who's auth_tkt plugin gives paste a string list of tokens topic: repoze.who __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue170 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens
Hi, I would add this to the ticket but I registered and can't log in. In addition the password reset doesn't seem to be working. So ... This sounds like a problem I came across before when experimenting with tokens (I never used them in the end). See http://lists.repoze.org/pipermail/repoze-dev/2010-April/002928.html. - Matt On 30 November 2010 14:52, Brian Sutherland b...@bugs.repoze.org wrote: New submission from Brian Sutherland br...@vanguardistas.net: Looking here it seems obvious that tokens is meant to be passed as a list/tuple: http://bitbucket.org/ianb/paste/src/4f5cfde87603/paste/auth/auth_tkt.py However the auth_tkt plugin passes it as a string. The resulting cookie is obviously wrong: auth_tkt=5a7c66804ce862df5810ac6d92ce83664cf50461%40%40brian!R,o,o,t! I find it hard to believe that this bug was at large for such a long time. So, perhaps there's a reason for the current behavior? If so, please let me know, otherwise I'll commit the attached patch to fix this. -- messages: 463 nosy: jinty priority: bug status: unread title: repoze.who's auth_tkt plugin gives paste a string list of tokens topic: repoze.who __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue170 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens
Hi, Just wanted to chime in, this has already been reported in: http://bugs.repoze.org/issue160 I too wonder why the fix hasn't been pulled in yet. cheers, - steve On 11/30/2010 08:46 PM, Matt Goodall wrote: Hi, I would add this to the ticket but I registered and can't log in. In addition the password reset doesn't seem to be working. So ... This sounds like a problem I came across before when experimenting with tokens (I never used them in the end). See http://lists.repoze.org/pipermail/repoze-dev/2010-April/002928.html. - Matt On 30 November 2010 14:52, Brian Sutherlandb...@bugs.repoze.org wrote: New submission from Brian Sutherlandbr...@vanguardistas.net: Looking here it seems obvious that tokens is meant to be passed as a list/tuple: http://bitbucket.org/ianb/paste/src/4f5cfde87603/paste/auth/auth_tkt.py However the auth_tkt plugin passes it as a string. The resulting cookie is obviously wrong: auth_tkt=5a7c66804ce862df5810ac6d92ce83664cf50461%40%40brian!R,o,o,t! I find it hard to believe that this bug was at large for such a long time. So, perhaps there's a reason for the current behavior? If so, please let me know, otherwise I'll commit the attached patch to fix this. -- messages: 463 nosy: jinty priority: bug status: unread title: repoze.who's auth_tkt plugin gives paste a string list of tokens topic: repoze.who __ Repoze Bugsb...@bugs.repoze.org http://bugs.repoze.org/issue170 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens
Thanks Steve and Matt for confirming I wasn't hallucinating;) In the end I committed a mix between my fix and Steve's: http://lists.repoze.org/pipermail/repoze-checkins/2010-November/010457.html I'll go close both issues now. On Tue, Nov 30, 2010 at 08:51:45PM +0530, steve wrote: Hi, Just wanted to chime in, this has already been reported in: http://bugs.repoze.org/issue160 I too wonder why the fix hasn't been pulled in yet. cheers, - steve On 11/30/2010 08:46 PM, Matt Goodall wrote: Hi, I would add this to the ticket but I registered and can't log in. In addition the password reset doesn't seem to be working. So ... This sounds like a problem I came across before when experimenting with tokens (I never used them in the end). See http://lists.repoze.org/pipermail/repoze-dev/2010-April/002928.html. - Matt On 30 November 2010 14:52, Brian Sutherlandb...@bugs.repoze.org wrote: New submission from Brian Sutherlandbr...@vanguardistas.net: Looking here it seems obvious that tokens is meant to be passed as a list/tuple: http://bitbucket.org/ianb/paste/src/4f5cfde87603/paste/auth/auth_tkt.py However the auth_tkt plugin passes it as a string. The resulting cookie is obviously wrong: auth_tkt=5a7c66804ce862df5810ac6d92ce83664cf50461%40%40brian!R,o,o,t! I find it hard to believe that this bug was at large for such a long time. So, perhaps there's a reason for the current behavior? If so, please let me know, otherwise I'll commit the attached patch to fix this. -- messages: 463 nosy: jinty priority: bug status: unread title: repoze.who's auth_tkt plugin gives paste a string list of tokens topic: repoze.who __ Repoze Bugsb...@bugs.repoze.org http://bugs.repoze.org/issue170 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- random spiel: http://lonetwin.net/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev -- Brian Sutherland ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] [issue170] repoze.who's auth_tkt plugin gives paste a string list of tokens
System message: -- status: unread - resolved superseder: +AuthTktCookiePlugin: identity[tokens] remembering is broken __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue170 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] [issue160] AuthTktCookiePlugin: identity[tokens] remembering is broken
System message: -- status: unread - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue160 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev