Logs for jdev
[05:18:54] * deryni joined the chat.
[05:28:20] * john joined the chat.
[06:34:26] * fantasticsid left the chat.
[06:35:15] * fantasticsid joined the chat.
[06:36:06] * hello joined the chat.
[06:38:40] * hello left the chat.
[06:39:09] * fantasticsid left the chat.
[06:41:55] * john left the chat.
[06:54:35] * ermine joined the chat.
[07:00:41] * tkoski joined the chat.
[07:07:31] * tonys joined the chat.
[07:08:19] * tonys left the chat.
[07:11:16] * McKael joined the chat.
[07:13:45] * alkino joined the chat.
[07:24:59] * Alex joined the chat.
[07:41:44] * luca tagliaferri left the chat.
[07:42:58] * Kev joined the chat.
[07:50:06] * luca tagliaferri joined the chat.
[07:54:01] * teo joined the chat.
[07:54:07] * Tobias joined the chat.
[07:54:19] <dwd> /me grumbles about OCS GW.
[07:58:40] <Alex> dwd: ??
[08:00:51] <dwd> Interop problems with MSFT OCS Gateway.
[08:03:52] <dwd> Does anyone here happen to have an OCS server with the gateway running?
[08:10:11] * john joined the chat.
[08:20:22] * petermount joined the chat.
[08:21:09] * scippio joined the chat.
[08:23:12] * 4454 joined the chat.
[08:23:15] * 4454 left the chat.
[08:51:24] * Guus joined the chat.
[09:08:32] * Neustradamus left the chat.
[09:08:48] * Neustradamus joined the chat.
[09:10:06] * waqas left the chat.
[09:56:14] * waqas joined the chat.
[09:56:32] * Guus left the chat.
[10:16:36] * waqas left the chat.
[10:17:50] * waqas joined the chat.
[10:34:59] * Guus joined the chat.
[10:49:22] * Treebilou joined the chat.
[11:17:08] * mlundblad joined the chat.
[11:17:53] * alkino left the chat.
[11:18:44] * mlundblad_netbook joined the chat.
[11:46:57] * alkino joined the chat.
[12:05:53] * lastsky left the chat.
[12:11:53] * Guus left the chat.
[12:11:55] * Guus joined the chat.
[12:12:53] * Guus left the chat.
[12:32:23] * mlundblad_netbook left the chat.
[12:53:27] * Kev left the chat.
[12:54:24] * Guus joined the chat.
[13:09:09] * lilmanz311 joined the chat.
[13:09:09] * lilmanz311 left the chat.
[13:27:26] * Vanaryon joined the chat.
[13:28:01] <Vanaryon> hello everyone
[13:28:35] <dwd> Hiya.
[13:28:45] <Vanaryon> I've got some questions about CAPS
[13:28:58] <Vanaryon> because I can't get it working on Jappix :S
[13:29:00] <dwd> XEP-0115 to its friends?
[13:29:08] <Vanaryon> yep
[13:29:34] <dwd> What's not working?
[13:29:40] <Vanaryon> well, now Jappix computes the base64 string of the features and so on, as defined in this XEP, but it does not work
[13:29:54] <dwd> The base64 of the hash, you mean?
[13:30:07] <Vanaryon> do I have to sort by alphabectical order the features in disco#infos?
[13:30:14] <Vanaryon> dwd, yep, all is okay on this side ;)
[13:30:34] <Vanaryon> I could generate the good hash for client/pc//Exodus 0.9.1<http://jabber.org/protocol/caps<http://jabber.org/protocol/disco#info<
http://jabber.org/protocol/disco#items<http://jabber.org/protocol/muc<
[13:30:41] <dwd> Yes, or more accurately you sort them according to i;octet.
[13:30:44] <Vanaryon> it gave me QgayPKawpkPSDYmwT/WM94uAlu0=, as the XEP says
[13:31:01] <Vanaryon> dwd, so it has an impact on the generate hash?
[13:31:06] <Vanaryon> *generated
[13:31:08] <dwd> Oh, yes.
[13:31:16] <Vanaryon> okay :)
[13:31:30] <Vanaryon> by octet? not with the alphabet?
[13:31:50] <dwd> Yes, by octet, as UTF-8.
[13:32:00] <dwd> So basically by strcmp() in C.
[13:32:22] <Vanaryon> so I put the smallest in the beginning, is that this? I think I does not understand :)
[13:32:38] <Vanaryon> dwd, it's a JavaScript web client ;)
[13:32:49] <dwd> If you look at XEP-0115, it explains the ordering.
[13:33:08] <dwd> But basically, if you sort alphabetically, but without case-folding, it should work.
[13:33:11] * waqas left the chat.
[13:33:14] <Vanaryon> http://xmpp.org/extensions/xep-0115.html#nt-id335098 this?
[13:33:19] <dwd> So ABCabc, not AaBbCc.
[13:33:27] <Vanaryon> okay I see
[13:33:38] <Vanaryon> but the best method is by octet?
[13:33:58] <Vanaryon> well, maybe I should use the order of http://xmpp.org/registrar/disco-features.html ?
[13:33:59] <dwd> The case where it'll fail if you do by character not by octet is when there's non-ASCII input.
[13:34:14] <Vanaryon> okay
[13:35:16] <dwd> FWIW, you should only get non-ASCII in the name, and typically there's only one of those, so you should get away with it.
[13:35:37] <Vanaryon> dwd, well, Gajim do not sort them, when I see the disco#infos features
[13:35:57] <Vanaryon> or it's one when the hash is generated?
[13:36:09] <dwd> Only when the hash is generated.
[13:36:13] <Vanaryon> okay
[13:36:21] <dwd> The disco#info output itself can be in any order.
[13:36:24] <Vanaryon> mhh, I'll watch to Gajim sourcecode and try port it to JS :)
[13:36:30] <Vanaryon> okay, good
[13:36:51] <dwd> Well, I'm not saying the Gajim source code will be perfect either...
[13:37:06] <Vanaryon> Yep, but CAPS works fine :)
[13:38:25] <Vanaryon> dwd, do you think that, if I only check the string length it will be okay?
[13:39:04] <dwd> Vanaryon, How do you mean?
[13:39:30] <Vanaryon> if I sort the string with their length, i mean, like a will be before aa ?
[13:39:48] <dwd> But then b would be before bb, which also won't work...
[13:39:59] <Vanaryon> mhh
[13:41:21] <dwd> What does Array.sort() do for ["ALPHABET", "alphabet", "BETA", "beta"]?
[13:41:27] <Vanaryon> in gajim sourcecode, I only see : features.sort()
for f in features:
S += '%s<' % f
[13:41:39] <Vanaryon> mhh
[13:41:46] <Vanaryon> I'll try
[13:41:57] <dwd> Right, because features.sort() sorts according to a dumb octet-by-octet comparison, which is exactly what's specified...
[13:41:59] <Vanaryon> perfect :)
[13:42:17] <Vanaryon> I think it sould be more explicit in the XEP, for little developers like me :)
[13:42:21] <dwd> And I'd expect that to be the default sort used by Array.sort()
[13:43:14] <dwd> Well, i;octet refers to RFC 4790, which does explain that "i;octet" is basically strcmp().
[13:43:37] <Vanaryon> it works !
[13:43:44] <Vanaryon> \o/ thanks a lot !
[13:43:48] <dwd> http://tools.ietf.org/html/rfc4790#section-9.3 actually mentions memcmp().
[13:43:51] <Vanaryon> that was really simple :)
[13:44:05] <Vanaryon> just sorting the items, thanks :)
[13:44:19] <Vanaryon> dwd, yep, but we have to search deep to find this
[13:45:26] <dwd> Well, we could add a note that typically, it's the default comparison and sorting operation. But really, you do need to look
at the references for the details - it's what they're there for.
[13:48:08] * Tobias left the chat.
[13:50:20] <Vanaryon> dwd, I think some developers have not time enough to search and search for these, the XEP are really clear, but some things
should be more explicit :)
[13:50:41] <Vanaryon> And about this, I sent a mail on Social@ about microblogging ;)
[13:53:36] <dwd> Vanaryon, Well, if you haven't enough time to read the references, I really don't have a lot of sympathy. What I'd hate to
happen is that we end up specifying something in a XEP differently from how the reference specifies it, because that leads
to terrible problems. So to avoid that, we avoid specifying - and point to references.
[13:54:20] * Alex left the chat.
[13:57:11] <Vanaryon> well, maybe the problem is that I'm french, my english is not fluent, so that I understand the things slower than a native
english speaker, I don't know :) That's my point of view, but I'm okay with giving the references. A small notice with a short
explanation plus the reference would be great :)
[14:30:53] * Link Mauve joined the chat.
[14:34:54] * Guus left the chat.
[14:36:01] * Tobias joined the chat.
[14:38:24] * Treebilou left the chat.
[14:45:59] * Guus joined the chat.
[14:50:48] * Vanaryon left the chat.
[15:04:58] * hawke joined the chat.
[15:30:10] * stpeter joined the chat.
[15:33:57] * Treebilou joined the chat.
[16:03:30] * Zash joined the chat.
[16:20:35] * tkoski left the chat.
[16:21:37] * teo left the chat.
[16:25:56] * dwd left the chat.
[16:30:49] * hayaza joined the chat.
[16:30:58] <hayaza> hi all
[16:31:30] * Kev joined the chat.
[16:31:42] <hayaza> i got error while connecting from client to server
[16:31:46] * dmex04 joined the chat.
[16:31:52] <hayaza> the ejabberd server is ok
[16:32:18] <hayaza> im using webchat though...
[16:34:24] * tofu left the chat.
[16:38:30] * smoku joined the chat.
[16:42:01] * lastsky joined the chat.
[16:46:09] * tofu joined the chat.
[16:52:33] * petermount left the chat.
[16:53:08] * tofu left the chat.
[16:53:14] * scippio left the chat.
[16:58:26] * waqas joined the chat.
[16:59:41] * jstanford649 joined the chat.
[16:59:52] * jstanford649 left the chat.
[16:59:54] * jstanford649 joined the chat.
[16:59:56] * jstanford649 left the chat.
[17:00:17] * jstanford649 joined the chat.
[17:00:19] * jstanford649 left the chat.
[17:03:12] * alkino left the chat.
[17:05:19] * teo joined the chat.
[17:08:43] * john left the chat.
[17:09:11] * teo left the chat.
[17:09:12] * teo joined the chat.
[17:15:25] * lastsky left the chat.
[17:16:10] * evilotto joined the chat.
[17:24:09] * mlundblad_netbook joined the chat.
[17:30:23] * luca tagliaferri left the chat.
[17:30:40] * alkino joined the chat.
[17:31:25] * Neustradamus left the chat.
[17:35:51] * luca tagliaferri joined the chat.
[17:36:00] * luca tagliaferri left the chat.
[17:38:25] * dmex04 left the chat.
[17:38:33] * dmex04 joined the chat.
[17:40:55] * Guus left the chat.
[17:42:14] * john joined the chat.
[17:42:14] * john left the chat.
[17:50:12] * niekie joined the chat.
[18:05:33] * Florob joined the chat.
[18:14:25] * mlundblad_netbook left the chat.
[18:44:31] * waqas left the chat.
[18:44:32] * waqas joined the chat.
[18:48:41] * scippio joined the chat.
[18:59:49] * darko-a87 joined the chat.
[19:03:26] * tofu joined the chat.
[19:06:52] * alkino left the chat.
[19:10:26] * waqas left the chat.
[19:10:32] * waqas joined the chat.
[19:13:50] * jkhii joined the chat.
[19:32:55] * Treebilou left the chat.
[19:32:57] * Treebilou joined the chat.
[19:44:55] * darko-a87 left the chat.
[19:45:01] * tkoski joined the chat.
[19:47:21] * tkoski left the chat.
[19:49:47] * scippio left the chat.
[19:49:49] * Neustradamus joined the chat.
[19:51:42] * Florob left the chat.
[20:09:11] * altos2010 joined the chat.
[20:09:36] * altos2010 left the chat.
[20:10:16] * scippio joined the chat.
[20:15:36] * hawke left the chat.
[20:16:14] * hawke joined the chat.
[20:16:21] * scippio left the chat.
[20:17:57] * scippio joined the chat.
[20:25:34] * Florob joined the chat.
[20:43:58] * ermine left the chat.
[20:46:26] * Treebilou left the chat.
[21:01:05] <dmex04> Hi, Im a little confused about the sasl SCRAM implementation @ http://tools.ietf.org/html/draft-ietf-sasl-scram-11 ... if
anyone has a few mins to explain how the client-final-message is constructed it would be appreciated
[21:03:15] <waqas> dmex04: It's now a RFC: http://tools.ietf.org/html/rfc5802
[21:06:10] <dmex04> cheers
[21:07:21] <stpeter> Tobias probably knows the most about it
[21:07:58] <stpeter> he is even mentioned at http://tools.ietf.org/html/rfc5802#section-11 :)
[21:08:25] <Tobias> stpeter: who isn't? :)
[21:08:53] <Kev> Me :)
[21:08:55] <dmex04> lol
[21:09:08] <Tobias> client-final-message-without-proof =
channel-binding "," nonce [","
extensions]
client-final-message =
client-final-message-without-proof "," proof
[21:09:17] <dmex04> well if your free I could use a lil hand
[21:09:32] <Tobias> just ask your questions and you may get answers :)
[21:11:06] <dmex04> Ive got the client-first-message done and I get the responce containing the iteration, salt and nonce
[21:11:22] <Tobias> jup
[21:11:25] <dmex04> from there I get lost
[21:12:00] <dmex04> I have to return c=, r=, p=
[21:12:14] <Tobias> yeah..now you can do the fun described here: http://tools.ietf.org/html/rfc5802#section-3
[21:12:37] <dmex04> r being the ClientNonceServerNonce, what needs to be done for c and p
[21:14:09] <Tobias> it's all described in the RFC
[21:14:27] <Tobias> c: This REQUIRED attribute specifies the base64-encoded GS2 header
and channel binding data. It is sent by the client in its second
authentication message.
[21:14:54] <dmex04> the doc says c: is the base64 encoded GS2 header, I take it its the entire client-first-message? n,,n=user,r=fyko+d2lbbFgONRv9qkxdawL
[21:15:25] <Tobias> nah
[21:16:34] <dmex04> gs2-header = gs2-cbind-flag "," [ authzid ] ",
[21:17:27] <dmex04> just the n,,n=user, part?
[21:19:46] <Tobias> the n,, part
[21:19:58] <Tobias> i match it with regex "(.+)n=.+"
[21:20:09] <Tobias> in my psi client implementation
[21:25:40] <dmex04> done
[21:25:56] * Neustradamus left the chat.
[21:26:07] <dmex04> ok, now how does the ClientProof get generated
[21:26:34] <dmex04> ClientKey XOR ClientSignature
[21:26:45] <Tobias> yup
[21:29:07] * Neustradamus joined the chat.
[21:30:33] <dmex04> ClientKey := HMAC(SaltedPassword, "Client Key") + HMAC(StoredKey, AuthMessage)
[21:30:51] <Tobias> yeah?
[21:31:46] <dmex04> so clientKey is the hashed result of the clients hashed password using "Client Key"?
[21:34:21] <Tobias> yeah
[21:34:27] <Tobias> using the HMAC function
[21:35:21] <Tobias> dmex04: http://github.com/tfar/iris-gsoc2010/tree/sasl-scram/src/xmpp/sasl/ maybe the scramsha1* files there are helping you?
[21:38:35] * waqas left the chat.
[21:38:41] * waqas joined the chat.
[21:46:27] <dmex04> should be a good start, cheers
[21:51:00] * waqas left the chat.
[21:51:16] * waqas joined the chat.
[21:55:45] * Florob left the chat.
[22:01:01] * alkino joined the chat.
[22:07:26] * mlundblad left the chat.
[22:23:56] <Tobias> /me goes testing that new IDNA lib :)
[22:31:15] <Zash> http://xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-07.html#XMPP-CORE ← link is borked
[22:31:19] <Zash> /me pokes stpeter
[22:33:34] * Guus joined the chat.
[22:35:27] <Tobias> lol..IBM had a Globalization Center of Competency :P
[22:36:10] <stpeter> Zash: I don't pay too much attention to those interim versions, but yes the links can get out of sync
[22:36:24] <stpeter> anyway http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-10.html is the latest
[22:37:13] <Zash> :)
[22:37:44] <stpeter> or http://tools.ietf.org/html/draft-ietf-xmpp-3920bis if you prefer
[22:38:03] <Zash> Is the lazy-ish (user@host =~ host) comparison of jids speced somewhere?
[22:38:32] <stpeter> not sure I understand what you mean
[22:39:32] <Zash> In ACL stuff where you specify a rule like "host", which matces all users on that host with all resources, or "user@host"
wich matches all resources of that user
[22:39:42] <stpeter> ah
[22:40:07] <stpeter> that was originally in RFC 3921, now in XEP-0016, but perhaps belongs in the RFCs
[22:43:05] <Zash> I had expected it to be more generic than just privacy lists
[22:44:35] <stpeter> sure
[22:44:52] <stpeter> it was originally defined for privacy lists in RFC 3921
[22:45:02] <stpeter> then we just borrowed it in other places (e.g., XEP-0045)
[22:46:07] * niekie left the chat.
[22:46:12] * Link Mauve left the chat.
[22:52:57] * stpeter left the chat.
[23:14:31] * dejan1 joined the chat.
[23:14:31] * dejan1 left the chat.
[23:17:17] * dejan1 joined the chat.
[23:23:07] <Tobias> strange, i can't find any source of nodeprep or resourceprep in idnkit
[23:27:47] * Tobias left the chat.
[23:35:41] * Tobias joined the chat.
[23:45:27] * Guus left the chat.
[23:48:19] * hawke left the chat.
[00:04:07] * Tobias left the chat.
[00:29:26] * dejan1 left the chat.
[00:47:14] * alkino left the chat.
[00:49:11] * jkhii left the chat.
[00:49:18] * jkhii joined the chat.
[00:56:56] * smoku left the chat.
[01:12:10] * evilotto left the chat.
[01:16:35] * jugg joined the chat.
[02:23:20] * hayaza left the chat.
[02:37:17] * hawke joined the chat.
[02:57:12] * waqas left the chat.
[04:18:37] * lastsky joined the chat.