00:00:05  <cjd>hi guys, I'm getting an error trying to build w/ mingw32
00:00:09  * ircretaryjoined
00:00:20  <cjd>usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/ras.h:988:3: error: unknown type name ‘IsolationState’
00:00:47  <cjd>Googling it points to some vague thing about a mingw bug but hard to get any details
00:01:06  <cjd>it seems that adding
00:01:07  <cjd>#include <naptypes.h>
00:01:08  <cjd>#include <ntddndis.h>
00:01:15  <cjd>to util.c fixes the problem though
00:01:20  <cjd>(at least it now compiles)
00:13:49  * dominictarrquit (Quit: dominictarr)
00:14:21  * KiNgMaRquit (*.net *.split)
00:14:21  * hzquit (*.net *.split)
00:14:21  * txdvquit (*.net *.split)
00:14:21  * hij1nxquit (*.net *.split)
00:14:21  * Raynos_quit (*.net *.split)
00:14:21  * mralephquit (*.net *.split)
00:14:21  * creationixquit (*.net *.split)
00:14:21  * rphillipsquit (*.net *.split)
00:21:05  * hij1nxjoined
00:36:07  * sofaerquit (Remote host closed the connection)
00:42:03  * MI6joined
00:43:08  <bnoordhuis>cjd: iirc i've seen (and investigated) that error before
00:43:46  <bnoordhuis>i'm not 100% sure but i think it was a bug in the mingw headers
00:44:20  <bnoordhuis>but if you send a PR we can consider merging it
00:47:18  <MI6>libuv-v0.10: #55 UNSTABLE smartos (4/186) windows (4/187) linux (1/186) http://jenkins.nodejs.org/job/libuv-v0.10/55/
00:49:39  <MI6>libuv-v0.10-gyp: #19 UNSTABLE smartos-x64 (4/186) windows-ia32 (4/187) windows-x64 (5/187) smartos-ia32 (3/186) http://jenkins.nodejs.org/job/libuv-v0.10-gyp/19/
00:51:18  <cjd>ok
00:51:46  <cjd>I'll have to update on my end and I already see a capital letter issue in the head ;)
00:54:09  * brson_quit (Quit: leaving)
00:59:36  * st_lukejoined
01:01:10  * mmalecki_joined
01:01:47  * luigy_joined
01:02:14  * KiNgMaRjoined
01:02:14  * txdvjoined
01:02:14  * Raynos_joined
01:02:14  * mralephjoined
01:02:14  * creationixjoined
01:02:14  * rphillipsjoined
01:02:49  * jcefjoined
01:04:00  * rvaggquit (Ping timeout: 245 seconds)
01:04:02  * ircretaryquit (Ping timeout: 245 seconds)
01:04:03  * MI6quit (Ping timeout: 245 seconds)
01:04:03  * luigyquit (Ping timeout: 245 seconds)
01:04:04  * st_luke_quit (Ping timeout: 245 seconds)
01:04:04  * zz_jcequit (Ping timeout: 245 seconds)
01:04:05  * mmaleckiquit (Ping timeout: 245 seconds)
01:04:19  * mmalecki_quit (Client Quit)
01:04:29  * mmaleckijoined
01:04:57  * rvaggjoined
01:12:21  * brsonjoined
01:12:36  * brsonquit (Remote host closed the connection)
01:17:48  * brsonjoined
01:18:25  * groundwaterjoined
01:46:18  * stagasquit (Read error: Connection reset by peer)
02:11:48  * timoxleyjoined
02:15:52  * icarotjoined
02:18:15  * Guest81397changed nick to isaacs
02:24:30  * Siphonblastjoined
02:26:46  * icarotquit (Ping timeout: 252 seconds)
02:33:28  * groundwaterquit (Quit: groundwater)
02:47:20  * brsonquit (Quit: leaving)
03:09:22  * st_lukequit (Remote host closed the connection)
03:13:57  * bnoordhuisquit (Ping timeout: 256 seconds)
03:21:50  * Siphonblastquit (Quit: leave())
03:22:10  * icarotjoined
03:26:26  * dominictarrjoined
03:30:30  * c4milojoined
03:36:22  * kenperkinsquit (Quit: Computer has gone to sleep.)
03:47:31  * kenperkinsjoined
03:51:44  * icarotquit (Quit: leave())
03:52:05  * icarotjoined
03:56:41  * c4miloquit (Remote host closed the connection)
03:57:20  * c4milojoined
04:17:05  * icarotquit (Ping timeout: 256 seconds)
04:17:26  * dominictarrquit (Quit: dominictarr)
04:24:58  * c4miloquit (Remote host closed the connection)
04:52:10  * st_lukejoined
05:00:52  * inolen1quit (Quit: Leaving.)
05:07:42  * icarotjoined
05:18:02  * inolenjoined
05:20:03  * wolfeidaujoined
05:23:54  * groundwaterjoined
05:36:37  * rendarjoined
06:04:20  * icarotquit (Quit: leave())
06:04:39  * icarotjoined
06:13:05  * wolfeidauquit (Ping timeout: 256 seconds)
06:14:16  * dominictarrjoined
06:15:56  * groundwaterquit (Quit: groundwater)
06:27:03  * icarotquit (Quit: leave())
06:27:21  * icarotjoined
06:34:44  * wolfeidaujoined
06:38:11  * groundwaterjoined
06:49:11  * st_lukequit (Remote host closed the connection)
06:55:32  * inolenquit (Read error: Connection reset by peer)
06:55:43  * inolenjoined
07:01:25  * groundwaterquit (Quit: groundwater)
07:01:56  * paddybyersjoined
07:02:01  * icarotquit (Quit: leave())
07:02:24  * icarotjoined
07:30:52  * AvianFlujoined
07:31:54  * benoitcquit (Excess Flood)
07:38:32  * benoitcjoined
07:38:38  * wolfeidauquit (Remote host closed the connection)
07:51:16  * stolsmajoined
07:59:37  * icarotquit (Quit: leave())
07:59:58  * icarotjoined
08:09:37  * abraxasjoined
08:13:57  * abraxasquit (Ping timeout: 256 seconds)
08:14:10  * MI6joined
08:17:31  * stagasjoined
08:32:13  * icarotquit (Quit: leave())
08:32:36  * icarotjoined
08:45:28  * wolfeidaujoined
08:50:36  * hzjoined
08:57:10  * icarotquit (Quit: leave())
08:57:32  * icarotjoined
09:15:10  * loladiroquit (Quit: loladiro)
09:22:27  * amartensjoined
09:22:45  * amartensquit (Client Quit)
09:36:45  * dominictarrquit (Quit: dominictarr)
09:51:50  * pquerna_quit (Remote host closed the connection)
09:51:50  * rphillipsquit (Quit: ZNC - http://znc.in)
09:55:08  * icarotquit (Quit: leave())
09:55:42  * icarotjoined
10:36:00  * wolfeidauquit (Remote host closed the connection)
10:37:18  * icarotquit (Quit: leave())
10:37:41  * icarotjoined
10:52:26  * icarotquit (Quit: leave())
10:52:59  * icarotjoined
10:57:17  * normanmjoined
10:57:43  * stolsmaquit (Ping timeout: 246 seconds)
10:58:38  * hzquit
11:03:07  * hzjoined
11:28:25  * timoxleyquit (Quit: Computer has gone to sleep.)
11:50:04  * icarotquit (Quit: leave())
11:50:28  * icarotjoined
11:51:16  * `3rdEdenjoined
12:03:32  * normanmquit (Quit: Computer has gone to sleep.)
12:13:05  * stagasquit (Read error: Connection reset by peer)
12:32:56  * `3rdEdenquit (Remote host closed the connection)
12:42:28  * icarotquit (Quit: leave())
12:42:49  * icarotjoined
12:47:42  * icarotquit (Quit: leave())
12:48:05  * icarotjoined
13:02:00  * bnoordhuisjoined
13:28:30  * rphillipsjoined
13:45:28  * icarotquit (Quit: leave())
13:45:50  * icarotjoined
13:48:16  * normanmjoined
13:55:43  * hzquit (Disconnected by services)
13:55:47  * hzjoined
14:05:27  * Benvie_quit (Read error: Connection reset by peer)
14:05:44  * Benvie_joined
14:14:47  * Guest73968quit (Quit: *Poof!*)
14:15:08  * stephankjoined
14:18:58  * paddybyersquit (Ping timeout: 260 seconds)
14:22:47  * paddybyersjoined
14:35:47  * stagasjoined
14:42:59  * icarotquit (Quit: leave())
14:43:21  * icarotjoined
14:47:39  * icarotquit (Client Quit)
14:47:56  * icarotjoined
15:05:52  * bnoordhuisquit (Ping timeout: 246 seconds)
15:16:16  * paddybyersquit (Ping timeout: 245 seconds)
15:19:15  * groundwaterjoined
15:21:36  * normanmquit (Quit: Computer has gone to sleep.)
15:23:02  * Correnjoined
15:24:46  * rendarquit (*.net *.split)
15:24:46  * kenperkinsquit (*.net *.split)
15:24:46  * Raltquit (*.net *.split)
15:26:07  * kuplatupsujoined
15:26:08  * mbroadst_joined
15:26:11  * rendarjoined
15:29:40  * mbroadstquit (Write error: Broken pipe)
15:29:47  * kuplatup1uquit (Write error: Broken pipe)
15:30:29  * cjdquit (Remote host closed the connection)
15:32:07  * Raltjoined
15:33:50  * normanmjoined
15:34:19  * cjdjoined
15:37:59  * groundwaterquit (Quit: groundwater)
15:40:38  * icarotquit (Quit: leave())
15:41:02  * icarotjoined
15:46:58  * groundwaterjoined
15:47:44  * AvianFluquit (Remote host closed the connection)
15:50:55  * dominictarrjoined
16:09:35  * paddybyersjoined
16:37:35  <txdv>DrSilent is again attacking channels
16:38:19  * icarotquit (Quit: leave())
16:38:56  * icarotjoined
16:44:56  <isaacs>txdv: DrSilent?
16:45:10  <txdv>the villai
16:45:12  <txdv>villain
16:45:26  <isaacs>Anyone know how to decrypt SSH private keys? There's a line like this: DEK-Info: DES-EDE3-CBC,0DB4541483D0EAB4
16:46:13  <isaacs>but when i do crypto.createDecipheriv('DES-EDE3-CBC', new Buffer(passphrase, 'utf8'), new Buffer('0DB4541483D0EAB4', 'hex')) I get an error that the key length is invalid
16:46:32  <isaacs>i guess there's some step that ssh does to convert my passphrase to the DES key?
16:49:43  <indutny>isaacs: what do you need?
16:49:49  <indutny>ah, DES key
16:49:54  <isaacs>indutny: right
16:50:01  <indutny>have you seen my pripub thing?
16:50:10  <isaacs>hmm... no, but i should probably check that out :)
16:50:11  <indutny>its nothing about DES
16:50:22  <indutny>but it knows how to work with private keys
16:50:23  <indutny>http://github.com/indutny/pripub
16:50:42  <isaacs>ah, rght
16:50:47  <isaacs>so, i need this to be just in JS
16:50:48  <isaacs>no C++
16:50:56  <indutny>ah, well
16:51:06  <indutny>I have no such projects
16:51:07  <indutny>:P
16:51:19  <isaacs>haha
16:51:29  <isaacs>so, does pripub decrypt encrypted private keys?
16:51:38  <isaacs>or does it rely on passphrase-less keys only?
16:52:46  * icarotquit (Quit: leave())
16:53:29  <isaacs>indutny: i don't see anything in pripub that's decrypting the key
16:53:36  <indutny>its not decrypting it
16:53:42  <indutny>you can just use it for encryption
16:53:44  <isaacs>oh, ok
16:53:49  <isaacs>so, what i need is this:
16:53:50  <indutny>and it works with passphrase
16:53:54  * icarotjoined
16:53:54  <isaacs>i give you my public key
16:54:05  <isaacs>then i sign a short value
16:54:15  <isaacs>i give you the value and the signature, and you verify it
16:54:22  <isaacs>but i sign with my private key
16:54:47  <isaacs>so, basically, i want to do PGP, without having users have to install gpg, because tey already have SSH keys
16:54:53  <indutny>aah
16:55:07  <indutny>well, pripub only allows encryption/decryption right now
16:55:07  <isaacs>and it's all just big prime number keypairs, so there should be a way to make it work. i'm very close already :0
16:55:15  <indutny>but it could be extended to signature/verification
16:55:16  <isaacs>i can do it on the command line
16:55:24  <isaacs>but i'm trying to extend it to node using the crypto apis
16:56:05  <isaacs>how do you handle encrypted keys with the passphrase?
16:56:12  <isaacs>are you just calling out to a library to do this?
16:57:01  <isaacs>indutny: your example script doesn't work:
16:57:02  <isaacs>/Users/isaacs/dev/js/ssh-signer/node_modules/pripub/lib/pripub/api.js:67 if (this._init !== 2) throw new Error('Instance isn\'t ready');
16:58:29  <indutny>em...
16:58:36  <indutny>are you waiting for 'init'?
16:58:45  <indutny>isaacs: nope, I'm spawning threads :)
16:58:51  <indutny>and calling js callback
16:59:07  * c4milojoined
16:59:09  <indutny>basically, you should not use pripub until 'init' event
16:59:55  <isaacs>ok. documentation bug :)
17:00:02  <indutny>well
17:00:10  <indutny>you can do it from init's callback
17:00:11  <indutny>also
17:00:26  <indutny>supplying password: function(cb) { cb('password') }
17:01:28  <isaacs>$ node pp.js
17:01:29  <isaacs>/Users/isaacs/dev/js/ssh-signer/pp.js:7
17:01:29  <isaacs> if (er) throw er
17:01:29  <isaacs> ^
17:01:29  <isaacs>Error: Failed to load private key: error:0906A068:lib(9):func(106):reason(104)
17:01:46  <isaacs>but anyway, this isn't a solution for me.
17:02:17  <isaacs>at this point, all i need to know is how does ssh and openssl convert from a passphrase to a DES key
17:02:26  <isaacs>it's a hash function of some sort. i just need to know which one.
17:02:32  <isaacs>i think it has to be 128 bytes or something
17:04:06  <isaacs>aha:
17:04:06  <isaacs>The DES algorithm requires an 8 byte key whose low order bits are assumed to be odd-parity bits. The ASCII key supplied by the user is zero padded to 8 bytes and the high order bits are set to be odd-parity bits. The DES algorithm then ignores the low bit of each ASCII character, but that bit's information has been preserved in the high bit due to the parity.
17:04:55  <isaacs>http://www.lehman.cuny.edu/cgi-bin/man-cgi?des+1
17:05:55  * paddybyersquit (Ping timeout: 264 seconds)
17:06:36  <isaacs>so, i have to zero-pad to 8 bytes, and then set the high-order bits to odd-parity bits
17:06:39  <isaacs>w00t
17:06:47  <isaacs>i bet AES has a completely different technique :)
17:09:09  <isaacs>but my guess is that most users only use DES3 encryption on their ssh private keys, because that's what all the tutorials say, and openssh didn't even support AES until recently
17:09:15  <isaacs>so i'll start with that :)
17:09:24  <isaacs>heading out, thanks for playing :)
17:11:53  * AvianFlujoined
17:24:11  * AvianFluquit (Ping timeout: 256 seconds)
17:36:05  * icarotquit (Quit: leave())
17:36:57  * icarotjoined
17:39:29  * AvianFlujoined
17:46:59  <txdv>i'm sick of this gcc shit
17:47:13  <txdv>include a new object file, o no, lets make it super hard
17:49:56  * paddybyersjoined
17:52:54  * AvianFlu_joined
17:54:45  * AvianFluquit (Ping timeout: 248 seconds)
17:54:59  * loladirojoined
18:02:34  * Correnchanged nick to kenperkins
18:11:04  * abraxasjoined
18:12:28  * dominictarrquit (Quit: dominictarr)
18:15:25  * dominictarrjoined
18:15:48  * abraxasquit (Ping timeout: 264 seconds)
18:20:00  * dominictarrquit (Ping timeout: 264 seconds)
18:33:33  * icarotquit (Quit: leave())
18:33:51  * icarotjoined
18:36:46  * hzquit (Disconnected by services)
18:36:50  * hzjoined
18:37:41  * c4miloquit (Remote host closed the connection)
18:42:59  * st_lukejoined
18:54:57  * groundwaterquit (Quit: groundwater)
18:57:53  * icarotquit (Quit: leave())
18:58:17  * icarotjoined
19:00:02  * c4milojoined
19:01:34  * loladiroquit (Quit: loladiro)
19:03:04  * normanmquit (Quit: Computer has gone to sleep.)
19:11:31  * AvianFlu_quit (Remote host closed the connection)
19:14:51  * AvianFlujoined
19:20:41  * hzquit (Disconnected by services)
19:20:45  * hzjoined
19:27:54  * AvianFluquit (Read error: Connection reset by peer)
19:28:19  * AvianFlujoined
19:29:56  * AvianFluquit (Remote host closed the connection)
19:31:00  * icarotquit (Quit: leave())
19:31:21  * icarotjoined
19:35:58  * dominictarrjoined
19:39:48  * groundwaterjoined
20:11:22  * abraxasjoined
20:15:33  * abraxasquit (Ping timeout: 248 seconds)
20:16:58  * brsonjoined
20:19:59  * mikealjoined
20:28:40  * icarotquit (*.net *.split)
20:29:02  * icarotjoined
20:40:21  * wolfeidaujoined
21:03:03  * icarotquit (Quit: leave())
21:03:24  * icarotjoined
21:09:10  * st_lukequit (Remote host closed the connection)
21:17:02  * st_lukejoined
21:26:21  * icarotquit (Quit: leave())
21:26:41  * icarotjoined
21:29:26  * groundwaterquit (Quit: groundwater)
21:38:44  * defunctzombie_zzchanged nick to defunctzombie
21:40:17  * st_lukequit (Remote host closed the connection)
21:42:20  * st_lukejoined
21:42:55  * defunctzombiechanged nick to defunctzombie_zz
21:43:10  * stagasquit (Read error: Connection reset by peer)
21:44:31  * wolfeidauquit (Ping timeout: 246 seconds)
21:50:42  * dominictarrquit (Quit: dominictarr)
21:51:16  * rendarquit
21:58:40  * stagasjoined
22:24:02  * icarotquit (Quit: leave())
22:24:27  * icarotjoined
22:37:06  * dominictarrjoined
22:37:10  * mikealquit (Quit: Leaving.)
22:41:31  * mikealjoined
22:52:49  * defunctzombie_zzchanged nick to defunctzombie
22:56:15  * st_lukequit (Remote host closed the connection)
23:02:11  * groundwaterjoined
23:02:30  * defunctzombiechanged nick to defunctzombie_zz
23:06:59  * st_lukejoined
23:07:17  * stagasquit (Ping timeout: 248 seconds)
23:08:14  * icarotquit (Quit: leave())
23:08:38  * icarotjoined
23:11:43  * hzquit
23:15:11  * paddybyersquit (Ping timeout: 260 seconds)
23:18:29  * bnoordhuisjoined
23:20:54  * st_lukequit (Read error: Connection reset by peer)
23:21:15  * st_lukejoined
23:21:43  * icarotquit (Quit: leave())
23:22:01  * icarotjoined
23:22:11  * wolfeidaujoined
23:34:18  * wolfeidauquit (Remote host closed the connection)
23:40:07  * dominictarrquit (Quit: dominictarr)
23:44:56  * wolfeidaujoined
23:57:41  * brsonquit (Remote host closed the connection)