openstackgerrit | A change was merged to openstack/keystone: is_revoked check all viable subtrees https://review.openstack.org/81235 | 00:01 |
---|---|---|
jamielennox | guess that that 20 minutes of peace didn't work out for him :) | 00:01 |
*** flaper87 is now known as flaper87|afk | 00:02 | |
nkinder | :) | 00:02 |
*** dstanek has joined #openstack-keystone | 00:03 | |
*** devlaps has joined #openstack-keystone | 00:13 | |
*** dstanek has quit IRC | 00:14 | |
*** henrynash has quit IRC | 00:19 | |
*** gyee has quit IRC | 00:19 | |
openstackgerrit | Jenkins proposed a change to openstack/keystone: Updated from global requirements https://review.openstack.org/82231 | 00:20 |
*** nkinder has quit IRC | 00:40 | |
*** david-lyle has joined #openstack-keystone | 00:40 | |
*** browne has left #openstack-keystone | 00:42 | |
*** wchrisj has quit IRC | 00:48 | |
*** wchrisj has joined #openstack-keystone | 00:50 | |
*** marcoemorais has quit IRC | 01:03 | |
*** browne has joined #openstack-keystone | 01:14 | |
*** dstanek has joined #openstack-keystone | 01:28 | |
*** gokrokve has joined #openstack-keystone | 01:38 | |
*** wchrisj has quit IRC | 01:42 | |
*** ayoung_dadmode is now known as ayoung | 01:55 | |
ayoung | jamielennox, OK, so if you do a popen, and the executable produces binary data instead of ascii, but it gets returned as a string, what do you do with it? | 01:56 |
ayoung | I don't need binascii, because it is not ascii | 01:57 |
ayoung | it is straight binary, just in a "string" data type | 01:57 |
jamielennox | ayoung: i take it this is a py3 problem | 01:57 |
ayoung | jamielennox, actually, 2.7 | 01:57 |
ayoung | but it is because I am making the code work for both | 01:57 |
jamielennox | so why isn't it string to being with/ | 01:57 |
ayoung | nah , the problem is it a 'string', but the data is binary, and I need to pass it to something that needs it as a binary array | 01:58 |
ayoung | but I can't 'decode' it | 01:58 |
jamielennox | binary array? | 01:59 |
*** wchrisj has joined #openstack-keystone | 01:59 | |
ayoung | jamielennox, start here https://review.openstack.org/#/c/79411/3/keystoneclient/common/cms.py | 02:00 |
ayoung | in the current code base, we only ever sign and produce text | 02:00 |
ayoung | it comes in as json, gets signed and returned as base64 encoding | 02:01 |
ayoung | and the "universal newlines" means that python2 is fine with it | 02:01 |
ayoung | python3 as well, since it never actually process it | 02:01 |
jamielennox | i don't know if i've ever used bytearray() | 02:01 |
ayoung | but once the popen needs to process binary data, python 3 gets in the way | 02:01 |
ayoung | without that code, I get errors that say basically "string does'nt play nice with buffers" | 02:02 |
ayoung | byte array is just a list of integers if I understand it correctly | 02:03 |
jamielennox | so popen is expecting data or a string? | 02:03 |
jamielennox | either way i'm missing why an encode/decode won't work | 02:03 |
*** browne has left #openstack-keystone | 02:04 | |
ayoung | if you say "universal newlines" it assumes everything is a string. If you don't, it needs to work with byte arrays | 02:04 |
ayoung | the problem is not actually popen | 02:05 |
ayoung | it is the zlib | 02:05 |
*** devlaps has quit IRC | 02:05 | |
ayoung | when you decompress the signed data you get binary, but it is in a string | 02:05 |
ayoung | and I need to conver that string to a byte array to pass to the open to verify the signature | 02:06 |
ayoung | but it is not "encoded" | 02:06 |
*** amcrn has quit IRC | 02:08 | |
ayoung | right now I have it working in 3 but broken in 2 | 02:10 |
ayoung | at least, I did... | 02:10 |
ayoung | hope I committed that... | 02:10 |
ayoung | yep ... let me post that WIP | 02:11 |
openstackgerrit | ayoung proposed a change to openstack/python-keystoneclient: Compressed Signature and Validation https://review.openstack.org/71181 | 02:11 |
*** wchrisj has quit IRC | 02:12 | |
jamielennox | theres not much in the way of docs around this popen stuf | 02:14 |
*** gokrokve has quit IRC | 02:17 | |
ayoung | nope | 02:18 |
*** gokrokve has joined #openstack-keystone | 02:18 | |
ayoung | but the issue really is not popen. Its zlib | 02:18 |
ayoung | what does it give you back if you unzip binary data? | 02:18 |
jamielennox | zlib should be bytes in bytes out | 02:19 |
jamielennox | hmm, unicode in gives str back in py2 | 02:21 |
*** gokrokve has quit IRC | 02:22 | |
openstackgerrit | ayoung proposed a change to openstack/python-keystoneclient: remove universal_newlines https://review.openstack.org/79411 | 02:23 |
*** gokrokve has joined #openstack-keystone | 02:24 | |
*** gokrokve has quit IRC | 02:27 | |
*** jaosorior has quit IRC | 02:30 | |
ayoung | jamielennox, yep...but you can't "decode" it | 02:38 |
openstackgerrit | ayoung proposed a change to openstack/python-keystoneclient: Compressed Signature and Validation https://review.openstack.org/71181 | 02:43 |
*** jamielennox is now known as jamielennox|away | 02:48 | |
ayoung | http://stackoverflow.com/questions/11624190/python-convert-string-to-byte-array | 02:48 |
*** mberlin has joined #openstack-keystone | 02:54 | |
*** mberlin1 has quit IRC | 02:56 | |
*** richm has quit IRC | 03:13 | |
*** thiagop has quit IRC | 03:55 | |
*** tellesnobrega1 has quit IRC | 03:55 | |
*** rwsu has quit IRC | 04:54 | |
openstackgerrit | Jenkins proposed a change to openstack/keystone: Imported Translations from Transifex https://review.openstack.org/78525 | 06:00 |
*** saju_m has joined #openstack-keystone | 06:08 | |
dstanek | dolphm: you still around? | 06:19 |
*** derek_c has joined #openstack-keystone | 06:22 | |
*** derek_c has quit IRC | 06:47 | |
*** zhiyan_ is now known as zhiyan | 08:28 | |
*** henrynash has joined #openstack-keystone | 08:36 | |
*** dstanek has quit IRC | 08:38 | |
*** henrynash has quit IRC | 08:51 | |
*** henrynash has joined #openstack-keystone | 09:19 | |
*** henrynash has quit IRC | 09:51 | |
*** henrynash has joined #openstack-keystone | 10:03 | |
*** henrynash has quit IRC | 10:06 | |
*** flaper87|afk is now known as flaper87 | 10:14 | |
*** henrynash has joined #openstack-keystone | 10:54 | |
*** henrynash has quit IRC | 11:02 | |
*** zhiyan is now known as zhiyan_ | 11:15 | |
*** saju_m has quit IRC | 12:03 | |
*** morganfainberg is now known as morganfainberg_Z | 12:07 | |
*** leseb has joined #openstack-keystone | 12:46 | |
*** leseb has quit IRC | 13:02 | |
*** leseb has joined #openstack-keystone | 13:07 | |
*** dstanek has joined #openstack-keystone | 13:12 | |
*** leseb has quit IRC | 13:28 | |
openstackgerrit | A change was merged to openstack/keystone: Use oslo db.sqlalchemy.session.EngineFacade.from_config https://review.openstack.org/78459 | 13:48 |
*** gtt116 has quit IRC | 14:01 | |
*** flashgordon has quit IRC | 14:01 | |
*** dtroyer has quit IRC | 14:01 | |
*** flashgordon has joined #openstack-keystone | 14:01 | |
*** gtt116 has joined #openstack-keystone | 14:01 | |
openstackgerrit | David Stanek proposed a change to openstack/keystone: Always include 'enabled' field in service response https://review.openstack.org/82205 | 14:01 |
*** dtroyer has joined #openstack-keystone | 14:02 | |
*** bknudson has joined #openstack-keystone | 14:03 | |
openstackgerrit | Yaguang Tang proposed a change to openstack/python-keystoneclient: Add keystone v3 operation support for keystoneclient CLI https://review.openstack.org/82299 | 15:01 |
*** devlaps has joined #openstack-keystone | 15:59 | |
*** nkinder has joined #openstack-keystone | 16:06 | |
*** leseb has joined #openstack-keystone | 16:12 | |
*** leseb has quit IRC | 16:17 | |
openstackgerrit | Brant Knudson proposed a change to openstack/keystone: Fix domain_id comparison in assignment kvs backend https://review.openstack.org/82304 | 16:26 |
openstackgerrit | Brant Knudson proposed a change to openstack/keystone: Use assertIn in test_v3_catalog https://review.openstack.org/82305 | 16:31 |
*** nkinder has quit IRC | 17:07 | |
*** nkinder has joined #openstack-keystone | 17:08 | |
*** leseb has joined #openstack-keystone | 17:19 | |
*** wchrisj has joined #openstack-keystone | 17:35 | |
*** leseb has quit IRC | 17:51 | |
*** leseb has joined #openstack-keystone | 17:52 | |
*** devlaps has quit IRC | 17:55 | |
*** jaosorior has joined #openstack-keystone | 18:14 | |
*** leseb has quit IRC | 18:16 | |
*** devlaps has joined #openstack-keystone | 18:26 | |
*** devlaps1 has joined #openstack-keystone | 18:27 | |
*** devlaps has quit IRC | 18:28 | |
*** devlaps1 has quit IRC | 18:32 | |
*** devlaps has joined #openstack-keystone | 18:37 | |
*** devlaps has quit IRC | 18:44 | |
*** leseb has joined #openstack-keystone | 19:17 | |
*** leseb_ has joined #openstack-keystone | 19:19 | |
*** leseb has quit IRC | 19:19 | |
*** leseb_ has quit IRC | 19:23 | |
*** wchrisj has quit IRC | 19:28 | |
*** leseb has joined #openstack-keystone | 20:20 | |
*** leseb has quit IRC | 20:24 | |
*** leseb has joined #openstack-keystone | 20:54 | |
*** leseb has quit IRC | 20:59 | |
*** jaosorior has quit IRC | 21:40 | |
*** morganfainberg_Z is now known as morganfainberg | 21:55 | |
*** leseb has joined #openstack-keystone | 21:55 | |
*** leseb has quit IRC | 22:00 | |
*** arosen1 has joined #openstack-keystone | 22:08 | |
*** arosen1 has quit IRC | 22:47 | |
*** arosen1 has joined #openstack-keystone | 22:54 | |
*** arosen1 has quit IRC | 23:04 | |
*** devlaps has joined #openstack-keystone | 23:08 | |
*** arosen1 has joined #openstack-keystone | 23:10 | |
*** arosen1 has quit IRC | 23:11 | |
*** arosen1 has joined #openstack-keystone | 23:28 | |
*** arosen1 has quit IRC | 23:36 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!