Logs for jdev
[05:19:01] * r000n joined the chat.
[05:24:39] * rick joined the chat.
[05:25:56] <rick> Hello all, SASLs "response" value is kicking my butt. Anyone care to look at some bad C to see where I'm going wrong?
[05:25:57] * wiretap left the chat.
[05:27:10] <rick> http://codepad.org/BF0J0aN9
[05:45:17] * r000n left the chat.
[05:56:41] * darkrain left the chat.
[05:59:04] * darkrain joined the chat.
[06:11:57] * teo left the chat.
[06:11:58] * teo joined the chat.
[06:22:57] <dwd> rick, If at all possible, do not write yet another implementation of DIGEST-MD5, and SASL in general.
[06:23:22] <dwd> rick, If you're using C, why not use either Cyrus SASL or GNU SASL to do it for you?
[06:23:59] <johnny> whoo.. dwd .. !
[06:24:08] <johnny> /me claps for dwd
[06:24:17] <rick> I would have to say I'm a masochist
[06:24:51] <rick> and a learning endeavor, and now it has beaten me for so long I have to understand it
[06:25:22] <johnny> don't inflict your masochism on the rest of the xmpp community then..
[06:25:31] <johnny> or any community ..
[06:25:47] <johnny> we have enough trouble with the sasl libs we have already
[06:25:50] <dwd> rick, The lesson to learn is that DIGEST-MD5 is moving to historic as soon as practical, and you have discovered why.
[06:26:08] <rick> I see
[06:26:09] <dwd> johnny, Right. And that includes my Python one. :-)
[06:26:32] <johnny> /me wags his finger at dwd
[06:27:19] <dwd> rick, Really - Chris Newman, who wrote it, wants to ditch it. Alexey Melnikov, who maintains it, feels the same. There's more
people want to kill DIGEST than want to kill CRAM, which is really quite amusing. :-)
[06:27:41] <rick> Ha - I can see why
[06:28:25] <dwd> rick, FWIW, things you've missed out include the Evil Transcoding Rule.
[06:29:01] <rick> for the hex?
[06:29:13] <dwd> rick, And I note you've not yet written the Violently Unpleasant Parser.
[06:29:21] <dwd> rick, No, for the username, password, and realm.
[06:29:42] <rick> Aye - I read the RFC wrong?
[06:29:45] <dwd> rick, At one time, the entire XMPP community had missed that out. :-)
[06:29:47] * john joined the chat.
[06:30:00] <dwd> rick, And that includes me, most embarrassingly.
[06:30:29] <rick> It happens to the best of us. ;)
[06:31:00] <dwd> Okay, so nc should be "00000001", unless you're going to do fast-reauth.
[06:32:04] <rick> Missing one '0'?
[06:32:11] <dwd> Whoops.
[06:32:16] <dwd> No, I mistyped.
[06:32:24] <rick> Ok
[06:32:25] <dwd> It's 8 digits of hex.
[06:32:30] <rick> got it
[06:35:24] <rick> Oh crap - are you talking about the UTF-8 transcoding?
[06:37:07] <dwd> rick, Yeah. Won't make any difference unless you have anything non-ASCII, though.
[06:38:39] <rick> Ah ok.
[06:38:56] <dwd> I think your problem is likely to be the way you're constructing A1.
[06:39:22] <dwd> Specifically, you're using sprintf to copy in a binary hash value.
[06:40:13] <rick> I'll buy that =D
[06:41:49] <rick> That would be about the only thing I did not change
[06:42:20] <dwd> BTW, once you've done this, try doing SCRAM. I'd be curious how you find it. DIGEST took me a couple of days to get to the
basics of login, and more to the point where it was doing fast reauth and integrity. SCRAM took me a couple of hours.
[06:43:38] * waqas joined the chat.
[06:43:43] <rick> Sure thing
[06:45:20] <rick> I really appreciate the help - that sprintf blunder looks like a good lead but I've got to get some rest
[06:47:04] <dwd> NP. I should get some breakfast. (And for the kids, too)
[06:51:01] <Tobias> dwd: yup, SCRAM implemented much faster than DIGEST, considering the incremental interop improvement for DIGEST over several
months :)
[07:19:45] <dwd> Tobias, On that basis, DIGEST in Cyrus took about 20 years. :-)
[07:20:24] <Tobias> dwd: and they even did their best to make interop for other libs harder :)
[07:20:24] * waqas left the chat.
[07:23:21] * ermine joined the chat.
[07:50:17] * dwd left the chat.
[07:59:01] * pihhan joined the chat.
[08:27:45] * jprieur joined the chat.
[08:28:19] * jprieur left the chat.
[08:35:48] * waqas joined the chat.
[08:40:22] * grom joined the chat.
[09:20:00] * waqas left the chat.
[09:41:12] * scippio left the chat.
[09:43:27] * grom left the chat.
[09:43:32] * grom joined the chat.
[09:59:23] * Gu1 left the chat.
[09:59:23] * gu1ll4um3r0m41n joined the chat.
[10:05:56] * gu1ll4um3r0m41n left the chat.
[10:05:59] * gu1ll4um3r0m41n joined the chat.
[10:54:12] * teo left the chat.
[11:17:48] * gu1ll4um3r0m41n left the chat.
[11:17:49] * gu1ll4um3r0m41n joined the chat.
[11:18:49] * Xificurk left the chat.
[11:26:14] * Zash left the chat.
[11:26:55] * Zash joined the chat.
[12:08:22] * tkoski joined the chat.
[12:08:59] * tkoski left the chat.
[12:24:21] * teo joined the chat.
[12:38:14] * bLaDe joined the chat.
[13:26:47] * jprieur joined the chat.
[13:27:00] * jprieur left the chat.
[13:36:41] * bLaDe left the chat.
[13:58:13] * john left the chat.
[14:00:53] * waqas joined the chat.
[14:01:11] * john joined the chat.
[14:04:13] * hello joined the chat.
[14:04:39] * hello left the chat.
[14:06:30] * teo left the chat.
[14:18:45] * jprieur joined the chat.
[14:18:56] * jprieur left the chat.
[14:36:22] * Link Mauve joined the chat.
[14:39:59] * waqas left the chat.
[14:40:57] * dax joined the chat.
[14:43:59] * teo joined the chat.
[14:45:39] * niekie left the chat.
[14:55:18] * gu1ll4um3r0m41n left the chat.
[15:04:30] * waqas joined the chat.
[15:05:14] * waqas left the chat.
[15:10:33] * gu1ll4um3r0m41n joined the chat.
[15:10:59] * dax left the chat.
[15:11:12] * dax joined the chat.
[15:15:45] * dax left the chat.
[15:19:30] * xepbot left the chat.
[15:20:39] * grom left the chat.
[15:21:31] * xepbot joined the chat.
[15:28:01] * MattJ joined the chat.
[15:33:11] * tkoski joined the chat.
[15:40:40] <darkrain> mmm, SCRAM
[15:41:10] <MattJ> Don't make me hungry
[15:41:14] * Zash left the chat.
[15:41:22] <Tobias> you mean EssCRAM? :)
[15:41:25] * Zash joined the chat.
[15:41:38] <darkrain> or SCRAMbled Eggs
[15:42:10] <Tobias> that reminds me of a nice email i got with a list of error cases my scram implementation doesn't cover yet :)
[16:12:41] <Zash> .
[16:13:14] * teo left the chat.
[16:13:14] * teo joined the chat.
[16:17:06] * lilmanz311 joined the chat.
[16:17:06] * lilmanz311 left the chat.
[16:20:06] * xepbot left the chat.
[16:22:07] * xepbot joined the chat.
[16:39:28] * Florob joined the chat.
[16:41:22] * dejan1 joined the chat.
[16:41:23] * dejan1 left the chat.
[16:43:20] * dejan1 joined the chat.
[16:43:21] * dejan1 left the chat.
[16:47:08] * dejan1 joined the chat.
[16:47:09] * dejan1 left the chat.
[16:48:21] * dejan1 joined the chat.
[16:48:21] * dejan1 left the chat.
[16:53:21] * dejan1 joined the chat.
[16:53:21] * dejan1 left the chat.
[16:58:21] * dejan1 joined the chat.
[16:58:21] * dejan1 left the chat.
[17:03:21] * dejan1 joined the chat.
[17:03:21] * dejan1 left the chat.
[17:05:16] * dejan1 joined the chat.
[17:05:16] * dejan1 left the chat.
[17:08:16] * waqas joined the chat.
[17:08:22] * dejan1 joined the chat.
[17:08:22] * dejan1 left the chat.
[17:09:05] * teo left the chat.
[17:09:05] * teo joined the chat.
[17:13:22] * dejan1 joined the chat.
[17:13:23] * dejan1 left the chat.
[17:18:22] * dejan1 joined the chat.
[17:18:23] * dejan1 left the chat.
[17:23:23] * dejan1 joined the chat.
[17:23:24] * dejan1 left the chat.
[17:28:25] * dejan1 joined the chat.
[17:28:26] * dejan1 left the chat.
[17:33:25] * dejan1 joined the chat.
[17:33:25] * dejan1 left the chat.
[17:34:00] * waqas left the chat.
[17:36:30] * waqas joined the chat.
[17:38:26] * dejan1 joined the chat.
[17:38:27] * dejan1 left the chat.
[17:43:26] * dejan1 joined the chat.
[17:43:26] * dejan1 left the chat.
[17:48:26] * dejan1 joined the chat.
[17:48:26] * dejan1 left the chat.
[17:53:27] * dejan1 joined the chat.
[17:53:27] * dejan1 left the chat.
[17:58:28] * dejan1 joined the chat.
[17:58:28] * dejan1 left the chat.
[18:00:32] * Zash left the chat.
[18:03:29] * dejan1 joined the chat.
[18:03:29] * dejan1 left the chat.
[18:05:56] * SteveG left the chat.
[18:05:59] * SteveG joined the chat.
[18:08:29] * dejan1 joined the chat.
[18:08:30] * dejan1 left the chat.
[18:10:39] * tkoski left the chat.
[18:13:30] * dejan1 joined the chat.
[18:13:30] * dejan1 left the chat.
[18:15:11] * gu1ll4um3r0m41n left the chat.
[18:18:31] * dejan1 joined the chat.
[18:18:31] * dejan1 left the chat.
[18:19:21] * scippio joined the chat.
[18:23:33] * dejan1 joined the chat.
[18:23:33] * dejan1 left the chat.
[18:28:34] * dejan1 joined the chat.
[18:28:34] * dejan1 left the chat.
[18:33:33] * dejan1 joined the chat.
[18:33:33] * dejan1 left the chat.
[18:38:34] * dejan1 joined the chat.
[18:38:35] * dejan1 left the chat.
[18:43:34] * dejan1 joined the chat.
[18:43:34] * dejan1 left the chat.
[18:47:53] * guillec left the chat.
[18:48:34] * dejan1 joined the chat.
[18:48:35] * dejan1 left the chat.
[18:53:34] * dejan1 joined the chat.
[18:53:35] * dejan1 left the chat.
[18:58:35] * dejan1 joined the chat.
[18:58:35] * dejan1 left the chat.
[19:03:36] * dejan1 joined the chat.
[19:03:37] * dejan1 left the chat.
[19:03:54] * grom joined the chat.
[19:08:37] * dejan1 joined the chat.
[19:08:37] * dejan1 left the chat.
[19:13:38] * dejan1 joined the chat.
[19:13:38] * dejan1 left the chat.
[19:18:38] * dejan1 joined the chat.
[19:18:38] * dejan1 left the chat.
[19:23:38] * dejan1 joined the chat.
[19:23:38] * dejan1 left the chat.
[19:28:38] * dejan1 joined the chat.
[19:28:38] * dejan1 left the chat.
[19:33:38] * dejan1 joined the chat.
[19:33:39] * dejan1 left the chat.
[19:37:04] * grom left the chat.
[19:38:38] * dejan1 joined the chat.
[19:38:38] * dejan1 left the chat.
[19:43:39] * dejan1 joined the chat.
[19:43:39] * dejan1 left the chat.
[19:48:39] * dejan1 joined the chat.
[19:48:39] * dejan1 left the chat.
[19:48:45] * steve-e joined the chat.
[19:53:40] * dejan1 joined the chat.
[19:53:40] * dejan1 left the chat.
[19:58:39] * dejan1 joined the chat.
[19:58:40] * dejan1 left the chat.
[20:03:40] * dejan1 joined the chat.
[20:03:41] * dejan1 left the chat.
[20:08:41] * dejan1 joined the chat.
[20:08:41] * dejan1 left the chat.
[20:13:42] * dejan1 joined the chat.
[20:13:43] * dejan1 left the chat.
[20:18:42] * dejan1 joined the chat.
[20:18:43] * dejan1 left the chat.
[20:23:43] * dejan1 joined the chat.
[20:23:43] * dejan1 left the chat.
[20:28:43] * dejan1 joined the chat.
[20:28:43] * dejan1 left the chat.
[20:33:43] * dejan1 joined the chat.
[20:33:43] * dejan1 left the chat.
[20:37:48] * kkszysiu joined the chat.
[20:38:44] * dejan1 joined the chat.
[20:38:44] * dejan1 left the chat.
[20:41:54] * Tobias left the chat.
[20:43:45] * dejan1 joined the chat.
[20:43:45] * dejan1 left the chat.
[20:44:07] * Tobias joined the chat.
[20:48:45] * dejan1 joined the chat.
[20:48:45] * dejan1 left the chat.
[20:53:45] * dejan1 joined the chat.
[20:53:46] * dejan1 left the chat.
[20:58:28] * ermine left the chat.
[21:04:35] * kkszysiu left the chat.
[21:04:38] * kkszysiu joined the chat.
[21:09:43] * Link Mauve left the chat.
[21:09:49] * Link Mauve joined the chat.
[21:10:28] * johnny left the chat.
[21:11:24] * johnny joined the chat.
[21:14:06] * steve-e left the chat.
[21:24:17] * Link Mauve left the chat.
[21:25:04] * Link Mauve joined the chat.
[21:25:51] * jprieur joined the chat.
[21:26:10] * jprieur left the chat.
[21:30:46] * guillec joined the chat.
[22:12:21] * kkszysiu left the chat.
[22:25:33] * pihhan left the chat.
[22:39:54] * grom joined the chat.
[23:11:07] * Link Mauve left the chat.
[23:56:29] * john left the chat.
[00:47:40] * dejan1 joined the chat.
[00:47:40] * dejan1 left the chat.
[00:47:42] * dejan1 joined the chat.
[00:47:42] * dejan1 left the chat.
[00:49:52] * guillec left the chat.
[00:52:43] * dejan1 joined the chat.
[01:03:18] * grom left the chat.
[01:03:19] * grom joined the chat.
[01:15:10] * jprieur joined the chat.
[01:19:28] * jprieur left the chat.
[01:34:48] * Florob left the chat.
[02:07:13] * MattJ left the chat.
[02:19:29] * grom left the chat.
[02:51:11] * waqas left the chat.
[02:57:23] * dejan1 left the chat.