Tuesday, 2015-03-24

*** dimtruck is now known as zz_dimtruck00:54
*** SheenaG has joined #openstack-barbican01:12
*** SheenaG has left #openstack-barbican01:12
*** kgriffs is now known as kgriffs|afk01:18
*** xaeth_afk is now known as xaeth02:39
*** xaeth is now known as xaeth_afk02:50
*** xaeth_afk is now known as xaeth02:56
*** zz_dimtruck is now known as dimtruck03:04
*** gyee has quit IRC03:06
*** xaeth is now known as xaeth_afk03:47
*** dave-mccowan has quit IRC04:22
openstackgerritJohn Vrbanac proposed openstack/barbican: Splitting out remaining order tests from test_resources  https://review.openstack.org/16458804:24
openstackgerritJohn Vrbanac proposed openstack/barbican: Removing unused TimeKeeper class  https://review.openstack.org/16708904:37
*** dimtruck is now known as zz_dimtruck04:40
openstackgerritMerged openstack/barbican: Fix pep8 gate errors  https://review.openstack.org/16696504:58
openstackgerritMerged openstack/barbican: Use unique refs for RSA container example  https://review.openstack.org/16473905:25
openstackgerritJohn Wood proposed openstack/barbican: Initial connect up retry task submit and re-enqueue  https://review.openstack.org/16711006:19
openstackgerritMerged openstack/barbican: Removing the debian folder  https://review.openstack.org/16691306:35
*** chlong has quit IRC06:42
openstackgerritMerged openstack/castellan: Renames for consistent namespaces  https://review.openstack.org/16588406:52
*** chlong has joined #openstack-barbican07:03
*** gitorres has joined #openstack-barbican07:22
openstackgerritMerged openstack/barbican: Fix common misspellings  https://review.openstack.org/16681907:25
openstackgerritMerged openstack/barbican: Updated from global requirements  https://review.openstack.org/16692907:25
*** gitorres has left #openstack-barbican07:40
openstackgerritThomas Goirand proposed openstack/barbican: Makes configuration files more standard  https://review.openstack.org/16703107:59
openstackgerritMerged openstack/python-barbicanclient: Second set of negative secrets tests.  https://review.openstack.org/16355608:00
openstackgerritMerged openstack/python-barbicanclient: Second set of negative secrets tests.  https://review.openstack.org/16355608:00
*** gitorres1 has joined #openstack-barbican08:04
*** tkelsey has joined #openstack-barbican08:08
*** chlong has quit IRC08:12
*** gitorres1 has quit IRC08:22
*** kebray has quit IRC09:15
*** gitorres has joined #openstack-barbican09:19
*** woodster_ has quit IRC09:20
*** gitorres has quit IRC09:35
*** gitorres has joined #openstack-barbican09:37
*** gitorres has left #openstack-barbican09:44
*** jaosorior has joined #openstack-barbican10:46
*** jamielennox is now known as jamielennox|away11:45
*** chlong has joined #openstack-barbican12:12
*** woodster_ has joined #openstack-barbican12:13
*** chlong has quit IRC12:15
woodster_alee: I put up a CR that connects the periodic task and retry stuff12:28
jaosoriorwoodster_: Which is it?12:28
woodster_alee: jaosorior its this one: https://review.openstack.org/#/c/167110/12:31
*** chlong has joined #openstack-barbican12:32
*** dave-mccowan has joined #openstack-barbican12:34
*** chlong has quit IRC12:35
*** chlong has joined #openstack-barbican12:36
*** chlong has quit IRC12:39
woodster_alee: jaosorior ugh only cover breaks locally for me :\ will fix later today12:45
openstackgerritMerged openstack/castellan: Remove Python 3.3 from setup.cfg and tox.ini  https://review.openstack.org/16590312:55
*** chlong has joined #openstack-barbican12:56
aleewoodster_, great - will take a look13:31
aleewoodster_, redrobot , hockeynut https://review.openstack.org/#/c/166839/13:34
*** SheenaG has joined #openstack-barbican13:34
openstackgerritMerged openstack/barbican: Removing unused TimeKeeper class  https://review.openstack.org/16708913:57
openstackgerritMerged openstack/barbican: Adding more content to the api reference for secrets  https://review.openstack.org/16701513:57
*** SheenaG has quit IRC14:05
*** SheenaG has joined #openstack-barbican14:10
*** zz_dimtruck is now known as dimtruck14:16
*** kgriffs|afk is now known as kgriffs14:30
*** SheenaG has quit IRC14:38
*** paul_glass has joined #openstack-barbican14:39
*** SheenaG has joined #openstack-barbican14:46
dave-mccowanalee ping14:47
aleedave-mccowan, your fingers must be burning -- I was just thinking of pinging you14:48
aleedave-mccowan, you first ..14:48
dave-mccowanalee :-)  some of the negative functional tests i wrote for stored key (bad secrets, missing secrets in container), i can't do. the container validators prevents me from creating the negative test case.14:50
*** kebray has joined #openstack-barbican14:51
aleedave-mccowan, well thats the mark of a good validator ;) let me take a look14:51
aleedave-mccowan, so containers are immutable once you create them, right?14:52
aleeso you can't create a generic container and then change it later to be a "certificate" container ..14:53
aleedave-mccowan, so at this point, we are requiring the container to be an 'rsa' container ..14:54
*** kebray has quit IRC14:54
aleedave-mccowan, so in terms of negative test cases - what that means is that you try to pass in a generic container (ie type != 'rsa')14:55
aleeand have a validation for that14:56
aleedave-mccowan, and you can certainly create a 'rsa' container with bad data -- although perhaps the check for that should be in the container validator for 'rsa' container14:57
dave-mccowanalee yep: i can do bad container ref, not found container, wrong type container.  i just can't make a bad rsa container.  all attempts fail at container validation for functional tests.  i could just test those cases with unit test. (unless there is some override)14:58
aleedave-mccowan, the more I think on  this - it seems that we should 1) require that the container_ref be 1) present 2) referencing a real container 3) be a 'rsa container'14:59
dave-mccowanalee for example, i tried to make a container with secret refs for secrets that dont exist.  i got: Response: {"code": 404, "description": "Secret provided for 'public_key' doesn't exist.", "title": "Not Found"}14:59
aleedave-mccowan, we should add code to the 'rsa' container to ensure that the data used is valid15:00
aleedave-mccowan, so we can piggy back off the rsa container validator15:00
aleeit is sufficient for us to check (in the cert validator) if the ref is there, is real and is rsa15:00
dave-mccowanalee yes.  in that case perhaps i'm pretty close to done.15:01
aleeif we want to check for internal structure of the rsa container and the goodness of the secrets stored within (ie. are they really rsa keys?) then that should be in the rsa container15:01
dave-mccowanalee from my attempts at creating a bad one, it looks like rsa container code is doing a pretty job validating already.15:02
*** kebray has joined #openstack-barbican15:03
aleedave-mccowan, so you can't create a container with bogus secret_refs?15:03
aleeie. http://localhost/v1/secrets/badref15:04
dave-mccowanalee Request Body: {"name": "rsacontainer", "secret_refs": [{"secret_ref": "http://localhost:9311/v1/secrets/not_found1", "name": "public_key"}, {"secret_ref": "http://localhost:9311/v1/secrets/not_found2", "name": "private_key"}], "type": "rsa"}15:04
dave-mccowanResponse: {"code": 404, "description": "Secret provided for 'public_key' doesn't exist.", "title": "Not Found"}15:04
aleecool15:04
aleedave-mccowan, the other test is whether those secrets are really rsa keys15:05
aleedave-mccowan, that I'm sure is not there15:05
aleeie. can public key be derived from private15:05
aleemy guess is that validation code loads the key into some openssl function and derives the public key and verifies15:06
dave-mccowanalee ok.  i'll try to create a negative test case along those lines.15:06
aleebut that validator should be in rsa container15:06
aleedave-mccowan, co-incidentally someone was asking for specifically that kind of test the other day15:07
aleedave-mccowan, but maybe package up what you have so far15:07
aleedave-mccowan, I'm ready to start testing the stored key cases - and need your test code to do so.15:08
aleedave-mccowan, do the bad data test in a separate CR15:08
dave-mccowanalee sure.  i just rebased and am fixing pep8 stuff now.  i think i can get something up shortly.15:09
rm_workalee: woah, those kind of validation tests are actually in now?15:18
*** SheenaG has quit IRC15:18
rm_workalee: what about Cert containers? does it check the cert vs. the private key, and the passphrase vs. the private key?15:18
rm_workwe have code doing that right now in Octavia and Neutron, but I didn't think it'd make it to Barbican for various reasons15:19
aleerm_work, there is some cert container validation code in there already15:20
aleerm_work, dave-mccowan is working on validator for the stored_key case -- in this case, we will require a referecne to a 'rsa' container15:21
rm_workwhat I seem to recall was that there was concern about doing validation because of: A) The work-effort required to do that on the API nodes; B) It wouldn't work with transport-key because everything would need to be open15:21
aleerm_work, which type of validation are you talking about?15:22
rm_workthe kind where you actually compare the private key to the cert, and the passphrase to the private key15:22
aleerm_work, gotcha15:23
*** SheenaG has joined #openstack-barbican15:23
rm_workor like what you're apparently doing already for RSA, comparing private key to public15:23
aleerm_work, that validation isn't in there now -- we're discussing adding it15:23
openstackgerritJohn Wood proposed openstack/barbican: Initial connect up retry task submit and re-enqueue  https://review.openstack.org/16711015:23
aleerm_work, dave-mccowan but perhaps thats something for future discussion15:24
aleefor the reasons mentioned above15:24
aleedave-mccowan, so lets table priv/public key validation on an rsa container for now15:26
dave-mccowanalee ok.  i will make the test case, just so we know what happens from the stored-key-order perspective.15:27
aleeyup15:28
aleedave-mccowan, let me know when you have something ready for review and I'll grab it and test it out15:28
alee(in the functional tests)15:28
dave-mccowanalee ok.  should be by lunch, unless git bites me.  i'm not sure what will happen, since my changes are based on cherry-picks.15:30
*** ccneill has joined #openstack-barbican15:30
aleeyup15:31
*** gyee has joined #openstack-barbican15:39
*** ccneill has quit IRC15:56
*** ccneill has joined #openstack-barbican15:59
*** SheenaG has quit IRC16:00
*** ccneill has quit IRC16:03
*** ccneill has joined #openstack-barbican16:05
*** dimtruck is now known as zz_dimtruck16:10
*** atiwari has quit IRC16:15
openstackgerritDave McCowan proposed openstack/barbican: Fix CA related exceptions, and unskip relevant tests  https://review.openstack.org/16631616:15
openstackgerritDave McCowan proposed openstack/barbican: Implement validators and tests for stored key certificate orders  https://review.openstack.org/16729116:15
*** chlong has quit IRC16:16
dave-mccowanalee ^^  hopefully i did it right.  first time i've tried to push changes based on another CR.16:16
openstackgerritEverardo Padilla Saca proposed openstack/barbican: Avoid printing unexpected HTTP content types  https://review.openstack.org/16505616:20
*** SheenaG has joined #openstack-barbican16:33
aleedave-mccowan, yeah when you do that , you end up overwriting my cr16:33
aleedave-mccowan, I need to put in another patch for that one in any case -- will do so shortly16:35
openstackgerritMerged openstack/python-barbicanclient: Container negative tests  https://review.openstack.org/16398516:37
*** SheenaG has quit IRC17:06
*** darrenmoffat has quit IRC17:12
*** ccneill_ has joined #openstack-barbican17:13
*** darrenmoffat has joined #openstack-barbican17:13
*** ccneill has quit IRC17:16
*** jkf has joined #openstack-barbican17:32
*** ccneill_ has quit IRC17:33
*** kfarr has joined #openstack-barbican17:37
openstackgerritMerged openstack/barbican: Splitting out remaining order tests from test_resources  https://review.openstack.org/16458817:46
*** ccneill_ has joined #openstack-barbican17:58
*** ccneill_ has quit IRC18:02
*** jamielennox|away is now known as jamielennox18:04
*** zz_dimtruck is now known as dimtruck18:06
*** ccneill_ has joined #openstack-barbican18:06
*** ccneill__ has joined #openstack-barbican18:08
*** ccneill_ has quit IRC18:11
*** crc32 has joined #openstack-barbican18:26
*** SheenaG has joined #openstack-barbican18:50
*** paul_glass has quit IRC19:02
*** tkelsey has quit IRC19:23
*** SheenaG has quit IRC19:24
*** gyee has quit IRC19:30
*** morganfainberg is now known as needslesscoffee19:39
*** needslesscoffee is now known as morganfainberg19:50
*** tkelsey has joined #openstack-barbican19:50
*** tkelsey has quit IRC19:55
*** jkf has quit IRC19:59
*** SheenaG has joined #openstack-barbican19:59
*** ccneill__ has quit IRC20:00
*** jkf has joined #openstack-barbican20:01
*** ccneill__ has joined #openstack-barbican20:06
*** paul_glass has joined #openstack-barbican20:08
*** ccneill__ has quit IRC20:30
*** SheenaG has quit IRC20:48
*** SheenaG has joined #openstack-barbican20:51
*** jaosorior has quit IRC20:52
*** ccneill__ has joined #openstack-barbican21:00
*** ccneill__ is now known as ccneill21:03
*** openstackgerrit has quit IRC21:07
*** openstackgerrit has joined #openstack-barbican21:07
*** SheenaG has quit IRC21:12
*** jkf has quit IRC21:39
*** jkf has joined #openstack-barbican21:41
*** redrobot has quit IRC21:42
*** redrobot has joined #openstack-barbican21:47
*** redrobot is now known as Guest938521:47
*** paul_glass has quit IRC21:58
*** ccneill has quit IRC21:59
*** kebray has quit IRC21:59
*** Guest9385 is now known as redrobot22:00
*** ChanServ sets mode: +o redrobot22:01
*** kfarr has quit IRC22:03
*** ccneill has joined #openstack-barbican22:05
*** kebray has joined #openstack-barbican22:11
*** dimtruck is now known as zz_dimtruck22:24
hockeynutjvrbanac reaperhulk  ping?22:32
reaperhulkwhat's up?22:33
hockeynutrequests v2.6.022:33
hockeynutgetting InsecurePlatformWarning22:33
hockeynut  InsecurePlatformWarning22:33
hockeynutA true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.22:33
reaperhulkold python 2.722:34
reaperhulkupgrade to 2.7.9 to make that go away22:34
reaperhulk(or ignore it)22:34
hockeynutthats the other thing22:34
hockeynutwasn't sure if I should grab 2.5.3 requests or use py27922:34
hockeynutI guess no reason not to use 27922:34
reaperhulkyeah just update python22:34
hockeynutdone.  thx!22:35
hockeynut+1 experience points for you!22:35
*** crc32 has quit IRC22:35
*** joesavak has joined #openstack-barbican22:40
*** alee is now known as alee_afk23:09
*** ccneill has quit IRC23:13
*** kebray has quit IRC23:15
*** chlong has joined #openstack-barbican23:20
*** joesavak has quit IRC23:24
*** chlong has quit IRC23:35
*** chlong has joined #openstack-barbican23:35
*** jkf has quit IRC23:39
*** everjeje has quit IRC23:46
*** tkelsey has joined #openstack-barbican23:52
*** gyee has joined #openstack-barbican23:54
*** tkelsey has quit IRC23:56

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!