01:27:56  * DarkGodquit (Ping timeout: 265 seconds)
02:50:05  * dan336joined
02:56:02  * dan336quit (Quit: Leaving.)
03:04:21  * dan336joined
03:08:22  * dan336quit (Client Quit)
03:18:34  * dan336joined
04:06:09  * dan336quit (Quit: Leaving.)
06:10:03  * SkyRocknRolljoined
06:16:12  * hdmsquit (Quit: hdms)
07:47:27  * DarkGodjoined
09:12:23  * SkyRocknRoll_joined
09:43:26  * SkyRocknRoll_quit (Ping timeout: 246 seconds)
10:46:47  * Something12quit (Ping timeout: 246 seconds)
10:57:26  * SkyRocknRoll_joined
11:42:06  * sousouxjoined
11:45:20  <sousoux>good morning
12:24:11  * SkyRocknRollquit (Remote host closed the connection)
13:53:16  <rphillips>good morning
13:53:37  <rphillips>sousoux: how goes? haven't seen you in a while
14:20:32  * dan336joined
14:37:43  <sousoux>tphillips: going well. had a question for you. Is there any reason why the module cache in require is not implemented with a weak table? This would seem to make sense. If a module is no longer required that would free up its memory.
14:52:48  <rphillips>hard to know when a module is no longer required
14:53:26  <rphillips>we would probably accept a patch to expire a module out of the cache
15:29:40  <sousoux>I guess a module is no longer required when the module that loaded it is itself unloaded
15:31:59  <sousoux>So in tne normal case of doing requires at the top of your file and requiring that inside the require of luvit it will never unload if the table was weak
15:32:39  <rphillips>yeah, and forcing a module to unload seems problematic
15:32:50  <sousoux>But if you do the require in something that will get collected then it will unload
15:33:34  <rphillips>interesting
15:36:49  <sousoux>My nodes return a function that is passed an API table. A function in the API 'registers' a node and returns the class table for that node (like :extend()). I keep a reference to the class. If I clear that reference I want all the requires needed by the class to unload. I'm not sure that is going to work though. I need to do some testing.
15:40:20  <sousoux>Another quick question. Where does the root_ca data file come from?
15:40:46  <sousoux>I have a SHA256 Comodo root that is not verified
15:41:54  <rphillips>https://github.com/luvit/luvit/tree/master/tools
15:42:17  <rphillips>we take the mozilla cert file from https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
15:44:20  <rphillips>sousoux: btw, we have new thread support... each thread gets its own lua context. so it should tear down the vm and requires
15:44:26  <rphillips>https://github.com/luvit/luvit/blob/master/tests/test-thread.lua
15:48:15  <sousoux>Hmm. I don't want to run the nodes in separate threads.
15:48:54  <sousoux>Thanks for the mozilla url. The root is in that. must be me.
15:54:16  <rphillips>might need an intermediate CA
15:54:27  <rphillips>cert*
16:35:47  <sousoux>Seems like the whole chain is in the file
16:35:53  <sousoux>It's not the depth
16:36:00  <sousoux>It's not the name
16:36:08  <sousoux>Getting stuck
16:36:36  <sousoux>It fails on the first certificate
16:37:14  <sousoux>It was only issued in July this year. How new is your db I wonder
16:37:26  <sousoux>Is it fetched automatically?
16:37:28  <rphillips>probably not current to july
16:38:41  <rphillips>i'll update the certs
16:44:28  <rphillips>sousoux: ok. 2.5.4 released with the freshest of certs
16:44:30  * travis-cijoined
16:44:31  <travis-ci>luvit/luvit#2542 (master - e212532 : Ryan Phillips): The build passed.
16:44:31  <travis-ci>Change view : https://github.com/luvit/luvit/compare/8f4678d88d29...e212532e48da
16:44:31  <travis-ci>Build details : https://travis-ci.org/luvit/luvit/builds/78788629
16:44:31  * travis-cipart
16:44:42  <sousoux>thx
16:45:55  * travis-cijoined
16:45:56  <travis-ci>luvit/luvit#2543 (2.5.4 - b51af16 : Ryan Phillips): The build passed.
16:45:56  <travis-ci>Change view : https://github.com/luvit/luvit/commit/b51af1621c2f
16:45:56  <travis-ci>Build details : https://travis-ci.org/luvit/luvit/builds/78788864
16:45:56  * travis-cipart
16:46:09  <sousoux>Blast. thats not it
16:47:37  <sousoux>It's a multi domain cert but I'm setting the hostname to the base hostname
16:47:45  <sousoux>Which is in the CN
16:47:54  <sousoux>That doesn't seem to help either
16:47:58  <rphillips>hmm
16:48:28  <sousoux>I couldn't see something that explicitly seems to stop a multi domain cert in the lua_openssl code
16:48:41  <rphillips>does openssl s_client verify?
16:49:01  <sousoux>How can I check that?
16:49:30  <rphillips>openssl s_client -connect google.com:443
16:49:31  <sousoux>This is what I see at the verify step
16:49:34  <sousoux>{ preverify_ok = false, error_depth = 0, current_cert = openssl.x509: 0xb4dd6228, error = 21, error_string = 'unable to verify the first certificate' } }
16:49:41  <rphillips>'Verify return code' will be '0'
16:50:17  <rphillips>you will probably have to pass -CAfile
16:50:31  <rphillips>and/or the cert
16:50:49  <rphillips>with -cert [certFile] -CAfile [theCa]
16:52:40  <sousoux>It is validated by chrome but I will need to retrieve the CA file to do that
16:52:54  <sousoux>I guessed that if chrome was ok with it it was ok
16:55:26  <rphillips>it might be a intermediate CA issue
16:56:25  <rphillips>-showcerts on the openssl command line will display the certs
17:00:18  <sousoux>It is. It is missing COMODO RSA Domain Validation Secure Server CA
17:00:44  <sousoux>https://support.comodo.com/index.php?/Knowledgebase/Article/View/970/0/intermediate-2-sha-2-comodo-rsa-domain-validation-secure-server-ca
17:01:42  <rphillips>so the server needs to `cat` both the ca cert and the intermediate cert together
17:01:50  <rphillips>and display that to the client
17:07:22  <rphillips>here is the exact solution: http://stackoverflow.com/a/25214924
17:15:59  <sousoux>Thank much
17:16:05  <sousoux>thanks
17:40:47  * DarkGodquit (Ping timeout: 240 seconds)
18:49:31  * a__quit (Remote host closed the connection)
18:51:06  * a__joined
18:54:17  * SkyRocknRoll_quit (Remote host closed the connection)
20:16:05  * dan336quit (Ping timeout: 244 seconds)
20:16:08  * dan336joined
21:08:54  * DarkGodjoined
21:49:43  * Something12joined
22:19:37  * a__quit (Remote host closed the connection)
22:21:02  * a__joined
23:04:55  * dan336quit (Quit: Leaving.)