IRC Log for #openid on 2008-01-10
Timestamps are in UTC.
- [00:14:54] * Roebot (n=Roebot@ip68-101-200-165.sd.sd.cox.net) has joined #openid
- [00:14:54] * l0gic2 (n=l0gic@84.91.8.144) Quit (Read error: 104 (Connection reset by peer))
- [00:15:41] * l0gic (n=l0gic@84.91.8.144) has joined #openid
- [00:20:08] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [00:31:28] * PibbRelay (n=supybot@nat/janrain/x-e388c2b2d4743503) Quit (Read error: 104 (Connection reset by peer))
- [00:32:57] * bcardarella (n=brian@h-69-3-9-98.cmbrmaor.covad.net) has joined #openid
- [00:33:53] <bcardarella>
cygnus: I have a question about the AX extension in the ruby gem
- [00:34:50] <bcardarella>
I'm looking at the OpenID::AX::AXMessage class and I see that ns_uri is never assigned the NS_URI constant value. Is this intentional?
- [00:42:12] * danbri (n=danbri@unaffiliated/danbri) Quit ()
- [00:45:06] * PibbRelay (n=supybot@nat/janrain/x-00bed09e547425c9) has joined #openid
- [00:52:46] <keturn>
bcardarella: hmm, that does look suspicious
- [00:53:31] <bcardarella>
keturn: yeah, when I try to create a new OpenID::AX:FetchRequest and add_extension I get an error...
- [00:53:41] <bcardarella>
I traced it back to not having the proper NS_URI set
- [00:54:15] <bcardarella>
SReg sets that automatically so I was wondering if I should just go ahead and edit the gem source or if there was a reason it was left out
- [00:54:45] <cygnus>
sorry, I should have spoken up sooner. I'm adding a fix and some tests now
- [00:55:24] <bcardarella>
Cool!
- [00:57:47] * shigeta (n=shigeta@124.32.114.226) has joined #openid
- [01:10:04] <flaccid>
cygnus, if im getting a timeout where processing is exceeding the limit with php, this is with the bcmath, does that mean that im going to need GMP support even though im only serving a 1 identity?
- [01:10:40] <cygnus>
what's the current limit in your PHP config?
- [01:10:51] <flaccid>
only 30seconds iirc
- [01:11:31] <cygnus>
Have you done debugging to be sure that bcmath is really the cause of the timeout?
- [01:11:38] <cygnus>
bcmath is slow, but it's not usually that slow.
- [01:12:26] <flaccid>
i decided to upgrade the server to freebsd instead of ubuntu because ubuntu server just doesn't cut it and GMP support seems pretty much necessary. but yeah seems 30seconds wasn't long enough. yeah i think it could be another problem. this was with openid 2.0 examples/server . i will try again once this is up
- [01:13:28] <cygnus>
ok, cool.
- [01:14:37] * shigeta (n=shigeta@124.32.114.226) Quit ("Leaving...")
- [01:16:07] <cygnus>
bcardarella: ok, a fix for that issue is now in trunk.
- [01:17:35] * shigeta (n=shigeta@124.32.114.226) has joined #openid
- [01:17:40] <bcardarella>
cygnus: thanks... is it just the ax.rb file?
- [01:18:05] <cygnus>
yeah, in addition to a couple of tests
- [01:18:12] <cygnus>
(in test/test_ax.rb)
- [01:18:18] <bcardarella>
cool... I'll try it out right now
- [01:18:21] <cygnus>
are you using darcs to track the main repository?
- [01:18:25] <bcardarella>
yeap
- [01:18:27] <cygnus>
awesome
- [01:20:26] <bcardarella>
cygnus: I only originally did the 'get' command to pull the entire trunk.... is there another command to just update?
- [01:20:30] <cygnus>
darcs pull
- [01:20:34] <bcardarella>
Ok
- [01:23:49] <cygnus>
If you want to view the contents of a given patch, when prompted during "darcs pull", type 'p' to view it in a pager
- [01:24:12] <cygnus>
you can always view it after you pull it, but that's a little unwieldy
- [01:24:25] <bcardarella>
cool... I've (obviously) never used darcs before... just svn
- [01:24:43] <bcardarella>
is there an advantage or just a preference?
- [01:25:36] <cygnus>
the two main differences you'll notice are 1) darcs checkouts are first-class repositories, so someone else can get/pull/push to/from your repository, and 2) patches to the repo are not per-file as in SVN
- [01:25:49] <cygnus>
(2) is the most important distinction in my mind
- [01:26:04] <cygnus>
the result is that you can record two changes to the same file in two different patches.
- [01:26:14] <bcardarella>
ah ok
- [01:26:15] <cygnus>
because when you record a patch (i.e., "darcs record"), you get prompted for each hunk.
- [01:26:22] <cygnus>
so you can cherry-pick the changes that go into the named patch.
- [01:26:29] <cygnus>
rather than all-or-nothing commits as with SVN.
- [01:26:39] <bcardarella>
yeah, that's interesting.
- [01:26:42] <cygnus>
another useful difference is that patches are not ordered.
- [01:26:48] <cygnus>
unlike numbered revisions in SVN.
- [01:27:03] <bcardarella>
so how do you keep track of the progression of patches?
- [01:27:15] <cygnus>
they have implicit (or explicit) dependencies on other patches
- [01:27:19] <cygnus>
and we use tags.
- [01:27:33] <cygnus>
a tag is just a patch that depends on everything in the repo at the time the tag is created.
- [01:28:23] <bcardarella>
Hmm.... I seem to be stuck in the same spot. Maybe I'm just doing something wrong
- [01:28:29] <cygnus>
what's up?
- [01:29:09] <bcardarella>
I'm attempting to attach a AX::FetchRequest object to the main oidreq object created in the example. I assume I just use add_extension(my_object)
- [01:29:34] <bcardarella>
well rather: oidreq.add_extension(my_new_ax_fetchreq)
- [01:30:14] <bcardarella>
Unless there is another method for AX objects that I missed
- [01:32:24] <cygnus>
what's the behavior?
- [01:32:45] <bcardarella>
I see in the AX module where FetchRequest inherits AXMessage and you're assigning ns_uri in AXMessage as an instance variable. (ns_uri) but I don't think that variable is accessible from FetchRequest (out of scope?)
- [01:32:55] <bcardarella>
ArgumentError: Namespace must be BARE_NS, OPENID_NS or a string. Got nil
- [01:33:11] * PibbRelay (n=supybot@nat/janrain/x-00bed09e547425c9) Quit (Read error: 104 (Connection reset by peer))
- [01:34:11] * PibbRelay (n=supybot@nat/janrain/x-4537c104bdc58863) has joined #openid
- [01:35:41] <cygnus>
do you have a traceback?
- [01:36:14] <cygnus>
(neat. the pibb relay just ignored a bunch of messages.)
- [01:37:53] <cygnus>
ah, you're right. it works for FetchResponse, but it's definitely broken for FetchRequest.
- [01:37:54] <cygnus>
fixing.
- [01:38:02] <bcardarella>
ok, I think I fixed it... although it isn't a very "agile" fix. If you include @ns_uri in the initialize for FetchRequest
- [01:38:10] <bcardarella>
and assign it the string value
- [01:38:14] <bcardarella>
oh okay, you've got it
- [01:39:34] <bcardarella>
yeah, you're calling super() to scope back to the AXMessage
- [01:39:40] <cygnus>
it appears that the problem is that the AXMessage (superclass) constructor isn't being called in that of FetchRequest
- [01:39:40] <bcardarella>
but not in FetchRequest
- [01:39:42] <cygnus>
yeah
- [01:41:44] <bcardarella>
okay, cool. Back to playing with AX :)
- [01:49:40] * PibbRelay (n=supybot@nat/janrain/x-4537c104bdc58863) Quit (Read error: 104 (Connection reset by peer))
- [01:52:23] <cygnus>
alright, fix in trujnk
- [01:52:24] <cygnus>
trunk, too
- [01:54:58] <flaccid>
which trunk are you guys talking about?
- [01:55:53] <cygnus>
ruby-openid
- [01:56:08] <cygnus>
http://openidenabled.com/files/ruby-openid/repos/2.x.x/
- [01:56:26] <flaccid>
ok sweet
- [01:57:22] <flaccid>
im yet to actually test an openid with the example server. because it doesn't use users, does it just auth anything or something. sorry im not yet up to implementing the auth
- [01:58:15] <cygnus>
You can see what the demo server does, at http://openidenabled.com/ruby-openid/trunk/examples/
- [01:58:55] <cygnus>
we run live demos of the trunk example code for each of the three implementations.
- [01:59:33] <flaccid>
oh but this is 403? http://openidenabled.com/php-openid/trunk/examples/
- [02:00:14] <bcardarella>
flaccid: the rails example server can easily be adopted to integrate a user model. You can also use a pre-existing openid from any site to test against the consumer controller
- [02:00:17] <cygnus>
yeah, that's not the examples URL for PHP
- [02:00:25] <cygnus>
is the project page in need of repair?
- [02:00:33] <cygnus>
ah, no
- [02:00:34] <cygnus>
it's fine
- [02:00:43] <cygnus>
http://openidenabled.com/php-openid/trunk/examples/consumer/ (and /server/)
- [02:02:02] * flaccid goes to look
- [02:02:03] <cygnus>
flaccid: where did you see that URL?
- [02:02:19] <flaccid>
i just assumed the url from the ruby one thats all
- [02:02:23] <cygnus>
oh. :)
- [02:02:24] <cygnus>
phew.
- [02:02:34] <cygnus>
I was wondering if there was a broken URL somewhere.
- [02:02:49] <flaccid>
hehe
- [02:03:10] <flaccid>
ok so the server example is just the code as is from the latest trunk or something?
- [02:03:47] <cygnus>
yep, that's the case with all of the demos we're running
- [02:03:55] <cygnus>
whenever we push changes to trunk, the appropriate examples get restarted
- [02:04:06] * PibbRelay (n=supybot@nat/janrain/x-c76b321be913e6dc) has joined #openid
- [02:05:34] <flaccid>
ok thanks for the info. i think i must of had problems with apache or something, i knew stuff was sus. as im backing up this disk on the server im getting some errors. i couldn't get to the id page before for example with my test server
- [02:06:10] <flaccid>
pretty weird, but i'll wait for it to be restored to see if i can duplicate these problems again. i'll get back to you :)
- [02:06:53] <flaccid>
oh one question i do have. just wondering the point of the standalone server considering examples come with the libs? also if the standalone server supports libs v2.0, it appears not?
- [02:07:06] <cygnus>
The PHP standalone server?
- [02:07:42] <flaccid>
yeah thats the one i think: http://openidenabled.com/php-standalone-openid-server
- [02:07:57] <flaccid>
just wondering where it sits in the scheme of things too
- [02:08:07] <cygnus>
You're right, it doesn't support OpenID 2 (which is to say, it hasn't been modified to work with the PHP 2.x.x library).
- [02:08:46] <flaccid>
ok, so for people wanting the latest support, extending the example is the best thing to do, because we all want openid 2 i would assume
- [02:08:55] <bcardarella>
cygnus: is there any limit on the amount of data that the AX messages can hold?
- [02:08:59] <cygnus>
I don't think I'm going to have time to update it in the near future. We're interested in hearing from anyone with the time and motiviation to keep it updated.
- [02:09:36] <cygnus>
flaccid: yeah, unless someone wants to pitch in and maintain the standalone server codebase, the example server code is the best way to get going.
- [02:09:44] <flaccid>
cygnus, that could be me possibly, i just don't understand all of it yet
- [02:09:46] <bcardarella>
or does the data get pushed in url form?
- [02:10:01] <bcardarella>
URL GET request I mean
- [02:10:17] <cygnus>
bcardarella: OpenID 2 supports POSTs in both directions, so there is no limit to the amount of data you can transfer with AX, aside from server-configured limits.
- [02:10:58] <bcardarella>
cygnus: is OpenID defaulted to sending everything in POST?
- [02:11:07] <cygnus>
it depends on the implementation.
- [02:11:24] <bcardarella>
Okay, so it's something I have to set in a configuration
- [02:11:32] <cygnus>
for example, the openidenabled.com libraries only do POSTs if 1) the size of the message exceeds the OpenID 1 limit AND 2) if the RP author knows to do it.
- [02:11:59] <cygnus>
to do a POST, you'll need to ask the library for an HTML version of the OpenID message in the form of an HTML form, and then render that to the browser.
- [02:12:16] <bcardarella>
so if the RP initiates a OpenID in POST form it'll default to POST?
- [02:12:18] <flaccid>
cygnus, is it just a case of the methods and so forth called have different names, params etc. ?
- [02:12:29] <cygnus>
bcardarella: it should, yeah
- [02:12:37] <bcardarella>
okay cool
- [02:12:39] <cygnus>
flaccid: for the most part, yeah.
- [02:12:53] <cygnus>
flaccid: to take full advantage of OpenID 2 features, non-trivial changes need to be made
- [02:13:17] <cygnus>
as far as I'm concerned, the standalone server needs to completely rewritten using a well-chosen PHP web framework.
- [02:13:25] <cygnus>
vanilla PHP is very, very unappealing and difficult to maintain.
- [02:13:32] <cygnus>
not to mention difficult to understand.
- [02:13:44] <flaccid>
cygnus, you just don't have time to update? or do you think that project should maybe deprecated in favour of extensible examples with the libs or the examples for separate download in addition to the examples?
- [02:14:04] <flaccid>
cygnus, i'd like to write it in CakePHP..
- [02:14:28] <cygnus>
flaccid: both. :) But again, if someone wants to help rewrite it, improve it, or just update it for the 2.x.x library, then we're not going to stop it
- [02:14:31] <flaccid>
i mean in addition to the libs lol
- [02:14:33] <cygnus>
we'd love it
- [02:15:14] <flaccid>
cygnus, would you be happy to help provide info/help on doing this from the API point of view/code changes ?
- [02:15:27] <flaccid>
aka some tips
- [02:15:46] <cygnus>
flaccid: yeah, but if you're going to write it in, say, CakePHP, I'd recommend just starting from scratch using the library example code.
- [02:16:01] <cygnus>
you could borrow some things from the standalone server, like the captcha code.
- [02:16:06] <cygnus>
if you wanted to, anyway.
- [02:16:28] <flaccid>
cygnus, yeah so the end result would be similar, the goal to implement it well
- [02:17:03] <cygnus>
yeah. we'd like to see it do some things the current one does, like utilize more than one kind of database (which should be trivial with stuff like CakePHP)
- [02:17:05] <flaccid>
ok cool, i shall finish this freebsd server, set up the dev environment again and then no doubt nag you with questions periodically
- [02:17:29] <flaccid>
yeah even oracle support would love in the enterprise
- [02:18:27] <cygnus>
if someone can write an example server using a popular framework, we wouldn't mind distributing it with the library. that's what we did for python and ruby; python includes Django code and ruby includes rails code.
- [02:22:23] <flaccid>
ah interesting
- [02:23:12] <cygnus>
alright, I'm out for the night
- [02:23:16] <flaccid>
well i think im the man, well at least the one to gt it going
- [02:23:22] <flaccid>
catchya soon then, thanks for the chat
- [02:23:25] <cygnus>
yw, later
- [02:23:27] * cygnus (n=cygnus@c-24-22-45-171.hsd1.mn.comcast.net) has left #openid
- [02:32:07] * benj3one (n=ben@adsl-75-41-185-190.dsl.spfdmo.sbcglobal.net) Quit (Read error: 110 (Connection timed out))
- [02:37:19] <bcardarella>
Cygnus: I think I have a good handle on the AX stuff... If I come up with a good example I'll try to integrate it into the example server and send it to the dev team.
- [02:37:20] * fajro (n=fajro@OL104-24.fibertel.com.ar) Quit (Remote closed the connection)
- [02:37:24] <bcardarella>
thanks for the help
- [02:37:26] * bcardarella (n=brian@h-69-3-9-98.cmbrmaor.covad.net) has left #openid
- [02:37:40] * fajro (n=fajro@OL104-24.fibertel.com.ar) has joined #openid
- [02:43:45] <flaccid>
right now to completing this boring backup process
- [02:50:53] * fajro (n=fajro@OL104-24.fibertel.com.ar) Quit (Remote closed the connection)
- [02:54:22] * priidu (n=aa@58.246.242.192) has joined #openid
- [03:19:24] * stub (n=stub@ppp-58.8.12.198.revip2.asianet.co.th) has joined #openid
- [04:13:04] * shigeta_ (n=shigeta@124.32.114.226) has joined #openid
- [04:13:24] * shigeta_ (n=shigeta@124.32.114.226) Quit (Remote closed the connection)
- [04:15:44] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) Quit ("Change is good, but dollars are better.")
- [04:17:43] * shigeta_ (n=shigeta@124.32.114.226) has joined #openid
- [04:31:08] * shigeta (n=shigeta@124.32.114.226) Quit (Read error: 110 (Connection timed out))
- [04:35:16] * PibbRelay (n=supybot@nat/janrain/x-c76b321be913e6dc) Quit (SendQ exceeded)
- [05:02:58] * Roebot (n=Roebot@ip68-101-200-165.sd.sd.cox.net) Quit ("ChatZilla 0.9.79 [Firefox 2.0.0.11/2007112718]")
- [06:25:41] * _keturn (n=acapnoti@pdpc/supporter/sustaining/keturn) Quit (Read error: 110 (Connection timed out))
- [06:27:46] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) Quit (Read error: 110 (Connection timed out))
- [06:28:14] * rorek (n=rorek@c-71-236-228-127.hsd1.or.comcast.net) Quit (Read error: 110 (Connection timed out))
- [06:59:19] * rorek (n=rorek@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [06:59:51] * _keturn (n=acapnoti@pdpc/supporter/sustaining/keturn) has joined #openid
- [07:01:16] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [07:20:12] * polyonymous (n=hacker@pD95385E1.dip0.t-ipconnect.de) Quit (Read error: 101 (Network is unreachable))
- [07:22:59] * polyonymous (n=hacker@pD953B402.dip0.t-ipconnect.de) has joined #openid
- [07:38:06] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) has joined #openid
- [07:59:40] * stu1 (n=stub@ppp-58.8.13.222.revip2.asianet.co.th) has joined #openid
- [07:59:40] * stub (n=stub@canonical/launchpad/stub) Quit (Nick collision from services.)
- [07:59:56] * stu1 is now known as stub
- [08:42:57] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) has joined #openid
- [08:54:22] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [08:58:23] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [09:04:30] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [09:14:17] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [09:18:01] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [09:37:47] * stub (n=stub@canonical/launchpad/stub) Quit (Nick collision from services.)
- [09:37:47] * stu1 (n=stub@ppp-58.8.16.205.revip2.asianet.co.th) has joined #openid
- [09:38:02] * stu1 is now known as stub
- [09:46:21] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) Quit ()
- [09:52:52] * SvenDowideit (n=SvenDowi@twiki/developer/SvenDowideit) has joined #openid
- [10:03:31] * hillsy (i=shaunh@npfit2.dh.bytemark.co.uk) has joined #openid
- [10:27:14] * ertai (n=ertai@ns.feydakins.org) has joined #openid
- [10:32:18] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [10:41:05] * polyonymous_note (n=hacker@pD953B402.dip0.t-ipconnect.de) has joined #openid
- [11:01:15] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [11:04:36] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [11:04:47] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [11:21:10] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [11:24:45] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [11:26:55] * quirim_ (i=potato@dsl-242-31-92.telkomadsl.co.za) Quit (Read error: 104 (Connection reset by peer))
- [11:26:58] * ste (n=Stefano@host134-123-static.206-80-b.business.telecomitalia.it) has joined #openid
- [11:27:02] * ste (n=Stefano@host134-123-static.206-80-b.business.telecomitalia.it) has left #openid
- [11:39:38] * SvenDowideit (n=SvenDowi@twiki/developer/SvenDowideit) Quit ("Leaving")
- [11:41:52] * quirim (i=potato@dsl-242-31-92.telkomadsl.co.za) has joined #openid
- [12:31:46] * MrTopf (i=hidden-u@oecher.info) has joined #openid
- [13:03:16] * bortzmeyer (i=bortzmey@batilda.nic.fr) has joined #openid
- [13:07:53] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [13:14:46] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) has joined #openid
- [13:34:12] * shigeta_ (n=shigeta@124.32.114.226) Quit ("Leaving...")
- [13:46:23] * polyonymous_note (n=hacker@pD953B402.dip0.t-ipconnect.de) Quit (Read error: 113 (No route to host))
- [14:16:00] * idnar (i=mithrand@unaffiliated/idnar) Quit (Nick collision from services.)
- [14:16:03] * idnar_ (i=mithrand@unaffiliated/idnar) has joined #openid
- [14:35:49] * RandomCake (n=chatzill@ACC9B388.ipt.aol.com) has joined #openid
- [14:36:36] * idnar_ is now known as idnar
- [14:41:55] <RandomCake>
Hi, I'm trying to set up as simple a OpenID server as possible and have been having a go with Clamshell, and it keeps giving this error: 'Missing expected authorization header.', I've no idea what it means, and the readme just says to clear cookies, and that doesn't make any difference...
- [14:53:37] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [15:00:50] * Prometheus^ (n=Promethe@kone1.tmvvision.finnetcom.net) Quit ()
- [15:05:54] * forsaken (n=eric@c-71-62-234-185.hsd1.va.comcast.net) has joined #openid
- [15:22:52] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [15:26:19] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [15:27:40] * l0gic (n=l0gic@84.91.8.144) Quit (Nick collision from services.)
- [15:28:22] * l0gic (n=l0gic@84.91.8.144) has joined #openid
- [15:39:39] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [15:42:27] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [15:50:53] * stub (n=stub@canonical/launchpad/stub) Quit (Read error: 113 (No route to host))
- [15:51:10] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [15:51:46] * shigeta (n=shigeta@70.36.100.220.dy.bbexcite.jp) has joined #openid
- [15:52:30] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [15:53:33] * RandomCake (n=chatzill@ACC9B388.ipt.aol.com) Quit (Read error: 104 (Connection reset by peer))
- [16:07:51] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [16:08:46] * gloriajw (n=gloriajw@c-68-45-236-124.hsd1.nj.comcast.net) has joined #openid
- [16:09:08] <gloriajw>
Hi, I am new to OpenId and I have a Python interface question.
- [16:10:02] * hendry (n=hendry@nox.vm.bytemark.co.uk) has joined #openid
- [16:10:05] <gloriajw>
I'd like to know how to authenticate someone via OpenId without the HTTP control. I want to be able to pass my own data to it, and have it respond back...
- [16:10:17] <gloriajw>
and I get/put this from/to HTTP using my own service.
- [16:10:44] <gloriajw>
Is this possible?
- [16:10:53] * Prometheus^ (n=Promethe@cs181170022.pp.htv.fi) has joined #openid
- [16:14:16] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [16:15:18] * potato (i=potato@dsl-242-23-46.telkomadsl.co.za) has joined #openid
- [16:16:23] * bortzmeyer (i=bortzmey@batilda.nic.fr) has left #openid
- [16:17:06] * quirim (i=potato@dsl-242-31-92.telkomadsl.co.za) Quit (Nick collision from services.)
- [16:17:11] * potato is now known as quirim
- [16:18:53] <gloriajw>
Hi, I am new to OpenId and I have a Python interface question.
- [16:19:01] <gloriajw>
gloriajw: I'd like to know how to authenticate someone via OpenId without the HTTP control. I want to be able to pass my own data to it, and have it respond back...
- [16:19:01] <gloriajw>
(11:10:08 AM) gloriajw: and I get/put this from/to HTTP using my own service.
- [16:19:01] <gloriajw>
(11:10:35 AM) gloriajw: Is this possible?
- [16:24:07] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [16:28:57] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [16:42:09] * gloriajw (n=gloriajw@c-68-45-236-124.hsd1.nj.comcast.net) has left #openid
- [16:54:33] * potato (i=potato@dsl-242-51-115.telkomadsl.co.za) has joined #openid
- [16:56:17] * quirim (i=potato@dsl-242-23-46.telkomadsl.co.za) Quit (Nick collision from services.)
- [16:56:24] * potato is now known as quirim
- [16:59:37] * Prometheus^ (n=Promethe@cs181170022.pp.htv.fi) Quit ()
- [17:00:03] * Alphi (n=dfj094@pdpc/supporter/active/alphi) Quit ("Lost terminal")
- [17:38:09] * Prometheus^ (n=Promethe@cs181170022.pp.htv.fi) has joined #openid
- [17:39:46] * Prometheus^ (n=Promethe@cs181170022.pp.htv.fi) Quit (Client Quit)
- [17:40:01] * Prometheus^ (n=Promethe@cs181170022.pp.htv.fi) has joined #openid
- [17:49:15] * illustir (n=alper@s55912056.adsl.wanadoo.nl) Quit ()
- [17:49:57] * _keturn (n=acapnoti@pdpc/supporter/sustaining/keturn) Quit (Read error: 110 (Connection timed out))
- [17:50:33] * rorek (n=rorek@c-71-236-228-127.hsd1.or.comcast.net) Quit (Read error: 110 (Connection timed out))
- [17:51:42] * gchaix (n=gchaix@osuosl/staff/gchaix) has joined #openid
- [17:51:55] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) Quit (Read error: 110 (Connection timed out))
- [17:52:28] * gchaix (n=gchaix@osuosl/staff/gchaix) has left #openid
- [17:52:37] * hillsy (i=shaunh@npfit2.dh.bytemark.co.uk) Quit ("Leaving")
- [17:56:12] * rorek (n=rorek@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [17:56:43] * _keturn (n=acapnoti@pdpc/supporter/sustaining/keturn) has joined #openid
- [17:59:15] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [18:16:09] * priidu (n=aa@58.246.242.192) Quit (Remote closed the connection)
- [18:31:10] * shigeta (n=shigeta@70.36.100.220.dy.bbexcite.jp) Quit ("Leaving...")
- [18:57:56] * shigeta (n=shigeta@70.36.100.220.dy.bbexcite.jp) has joined #openid
- [19:02:30] * shigeta (n=shigeta@70.36.100.220.dy.bbexcite.jp) Quit (Client Quit)
- [19:20:21] * PibbRelay (n=supybot@nat/janrain/x-e1359c4ba6e22b36) has joined #openid
- [19:29:34] * benj3one (n=ben@adsl-75-41-185-190.dsl.spfdmo.sbcglobal.net) has joined #openid
- [19:34:07] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [19:35:52] * PibbRelay (n=supybot@nat/janrain/x-e1359c4ba6e22b36) Quit (Read error: 104 (Connection reset by peer))
- [19:37:17] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [19:48:05] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [19:51:48] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [19:51:54] * PibbRelay (n=supybot@nat/janrain/x-a05a2cb02c0709a2) has joined #openid
- [19:53:50] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [19:57:58] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [19:59:34] * cote (n=cote@adsl-71-145-136-9.dsl.austtx.sbcglobal.net) Quit ()
- [19:59:35] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) Quit (Nick collision from services.)
- [19:59:47] * jrbot (n=supybot@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [20:07:57] * PibbRelay (n=supybot@nat/janrain/x-a05a2cb02c0709a2) Quit (Connection reset by peer)
- [20:09:02] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [20:09:11] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [20:11:19] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [20:14:34] * PibbRelay (n=supybot@nat/janrain/x-1b12973011f5fff6) has joined #openid
- [20:22:07] * michelp_ (n=michelp@69-30-72-119.dq1sf.easystreet.com) has joined #openid
- [20:22:33] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [20:25:40] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Connection timed out)
- [20:26:08] * flaccid (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
- [20:31:02] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) Quit (Read error: 110 (Connection timed out))
- [20:31:45] * pvandewyngaerde (n=pvandewy@35.73-241-81.adsl-dyn.isp.belgacom.be) has joined #openid
- [20:33:44] * MrTopf (i=hidden-u@oecher.info) Quit ()
- [20:38:52] * RandomCake (n=chatzill@ACD4F0BF.ipt.aol.com) has joined #openid
- [20:40:10] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [20:42:11] * flaccid__ (n=flaccid@123-243-80-114.tpgi.com.au) Quit (Read error: 110 (Connection timed out))
- [20:48:16] * bcardarella (n=brian@h-69-3-9-98.cmbrmaor.covad.net) has joined #openid
- [20:59:49] * PibbRelay (n=supybot@nat/janrain/x-1b12973011f5fff6) Quit (Read error: 104 (Connection reset by peer))
- [21:00:25] * peace-keeper (n=peace-ke@c-24-91-177-185.hsd1.ma.comcast.net) Quit (Connection timed out)
- [21:02:29] * rvalyi (n=rvalyi@86.75.11.225) has joined #openid
- [21:02:41] * rvalyi (n=rvalyi@86.75.11.225) has left #openid
- [21:04:09] * PibbRelay (n=supybot@nat/janrain/x-b922e2c8d18d9fcd) has joined #openid
- [21:09:01] <bcardarella>
Is there anybody from the dev team in here?
- [21:09:20] <bcardarella>
Regarding the ruby gem
- [21:14:13] * rebel_leader (n=Horst@dtmd-4db22b6d.pool.einsundeins.de) has joined #openid
- [21:15:46] <_keturn>
hi bcardarella
- [21:16:18] <bcardarella>
Hey, I've got a question about the kvform.rb method: seq_to_kv
- [21:16:57] <bcardarella>
on line 46 it tests to see if any newlines are in the outgoing OpenID data... if so it defaults to an error
- [21:17:10] <bcardarella>
This seems to really limit the type of data that can be sent with AX
- [21:18:12] <_keturn>
you'll have to use some escaping mechanism, yes
- [21:19:16] <bcardarella>
So I should escape all newlines to \\n ?
- [21:19:43] <_keturn>
or base64 encode or something like that
- [21:20:11] <bcardarella>
Okay... I'll look into that. Thanks
- [21:20:58] * cygnus (n=cygnus@c-71-236-228-127.hsd1.or.comcast.net) has joined #openid
- [21:20:58] <jibot>
cygnus is WorkerBee(name="Jonathan Daugherty", company="JanRain, Inc.")
- [21:21:08] <cygnus>
howdy, bcardarella
- [21:21:23] <cygnus>
keturn and I can help with the ruby gem
- [21:21:46] <cygnus>
and maybe PibbRelay, but he gets a little crazy sometimes
- [21:21:51] <bcardarella>
hey cygnus
- [21:21:56] <cygnus>
oh, rorek's here, too
- [21:21:59] <cygnus>
so that makes three of us
- [21:23:04] <bcardarella>
I actually finished the AX example for the demo server... pretty much just copied the SReg example but it works. I'm just running into some issue of the seq_to_kv method not liking \n but keturn suggested escaping it
- [21:24:41] * cygnus nods, newlines are not permitted
- [21:24:43] <bcardarella>
I guess I should describe what I'm trying to do and see if you have a suggestion. I'm trying to send an encoded string via AX. I found a gem called EzCrypto that allows me to encode, decode strings from a salt and a password. The only issue is that it spits out some newline characters that the OpenID gem doesn't like... I'm currently searching for an alternative to ExCrypto
- [21:25:11] <bcardarella>
ExCrypto = EzCrypto
- [21:25:43] <bcardarella>
But other than that the AX stuff is working great!
- [21:26:22] <cygnus>
you could base64-encode the data
- [21:27:12] <bcardarella>
Yes, but can't just anyone then base64-decode? Or does Base64 allow me to set a salt?
- [21:27:44] <cygnus>
well, base64 isn't for security; it's to solve the \n problem
- [21:27:53] <cygnus>
presumably what you're encoding is already obscure enough
- [21:28:18] <cygnus>
so whatever the result of Ezcrypto is (with newlines) would be base64-encoded
- [21:28:24] <cygnus>
and therefore safe for use with AX
- [21:28:59] <bcardarella>
Oh ok, I get it... then just base64 decode, the ezcrypto decode
- [21:29:04] <bcardarella>
yeah, lemme try that...
- [21:29:09] <cygnus>
yeah
- [21:33:03] * pvandewyngaerde (n=pvandewy@35.73-241-81.adsl-dyn.isp.belgacom.be) Quit (Remote closed the connection)
- [21:33:33] <bcardarella>
Hmmm.... Base64.encode64("\n") produces "Cg==\n"
- [21:34:57] <bcardarella>
Actually... it seems to be doing that for all strings so perhaps that normal behavior. But it is still leaving a \n in the middle of my encrypted string that seq_to_kv is picking up onj
- [21:35:48] <_keturn>
I expect we've already dealt with that somewhere in the code, since OpenID uses base64 for this purpose in certain places. I remember j3h looking up the base64 spec where it says that base64.encode needn't produce newlines.
- [21:36:53] <bcardarella>
Okay, I'll search through our source code to see where you used it
- [21:36:58] <_keturn>
def Util.to_base64(s)
- [21:36:58] <_keturn>
Base64.encode64(s).gsub("\n", "")
- [21:42:09] <bcardarella>
Excellent, that works great. Thanks again
- [21:43:49] <_keturn>
PibbRelay: you have problems
- [21:44:20] <cygnus>
PibbRelay is stuck in a flux in the spacetime continuum
- [22:28:31] * cygnus (n=cygnus@c-71-236-228-127.hsd1.or.comcast.net) has left #openid
- [22:43:11] * UncleFu86 (n=Horst@dtmd-4db22b6d.pool.einsundeins.de) has joined #openid
- [22:51:19] * rebel_leader (n=Horst@dtmd-4db22b6d.pool.einsundeins.de) Quit (No route to host)
- [22:54:39] * illustir (n=alper@s55912056.adsl.wanadoo.nl) has joined #openid
- [23:04:12] * benj3one is now known as benj3one_nothere
- [23:07:43] * UncleFu86 (n=Horst@dtmd-4db22b6d.pool.einsundeins.de) Quit ("Verlassend")
- [23:48:55] * flaccid_ (n=flaccid@123-243-80-114.tpgi.com.au) has joined #openid
These logs were automatically created by OpenIDlogbot on
chat.freenode.net
using a modified version of the Java IRC LogBot.