)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"83b9ab42382a4faedfd3a2395e9154320a89ce74","unresolved":false,"context_lines":[{"line_number":10,"context_line":"using pycrypto and replaces them with the cryptography equivalent for"},{"line_number":11,"context_line":"the dogtag plugin"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ic230356385f837c19e0d031bfb40e811a1ecef4d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1f013ff3_faafd291","line":13,"range":{"start_line":13,"start_character":4,"end_line":13,"end_character":72},"updated":"2017-05-16 08:27:00.000000000","message":"It should be: http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html","commit_id":"0556c77b6414d575dccddb4098d54272be57db36"}],"barbican/plugin/dogtag.py":[{"author":{"_account_id":8004,"name":"Paul Kehrer","email":"paul.l.kehrer@gmail.com","username":"reaperhulk"},"change_message_id":"dd8c03ab847376b9f57cde68d5dd52f722eaf484","unresolved":false,"context_lines":[{"line_number":290,"context_line":"                key_info \u003d self.keyclient.get_key_info(key_id)"},{"line_number":291,"context_line":"                if key_spec.alg.upper() in (key.KeyClient.RSA_ALGORITHM,"},{"line_number":292,"context_line":"                                            key.KeyClient.DSA_ALGORITHM):"},{"line_number":293,"context_line":"                    public_key \u003d serialization.load_der_public_key("},{"line_number":294,"context_line":"                        data\u003dbase64.b64decode(key_info.public_key),"},{"line_number":295,"context_line":"                        backend\u003ddefault_backend()"},{"line_number":296,"context_line":"                    )"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_16f1006c","line":293,"updated":"2017-04-26 16:57:50.000000000","message":"Are public keys guaranteed to be DER?","commit_id":"94d8d7febb8e7e9cd3922ec5218f8e92b1cccc0a"},{"author":{"_account_id":23674,"name":"Rohan Arora","email":"ra271w@att.com","username":"rarora"},"change_message_id":"595a6cd09ca3cb706c084f942d27d2f76a84ed4b","unresolved":false,"context_lines":[{"line_number":290,"context_line":"                key_info \u003d self.keyclient.get_key_info(key_id)"},{"line_number":291,"context_line":"                if key_spec.alg.upper() in (key.KeyClient.RSA_ALGORITHM,"},{"line_number":292,"context_line":"                                            key.KeyClient.DSA_ALGORITHM):"},{"line_number":293,"context_line":"                    public_key \u003d serialization.load_der_public_key("},{"line_number":294,"context_line":"                        data\u003dbase64.b64decode(key_info.public_key),"},{"line_number":295,"context_line":"                        backend\u003ddefault_backend()"},{"line_number":296,"context_line":"                    )"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_446469e4","line":293,"in_reply_to":"5ff73747_16f1006c","updated":"2017-04-26 18:12:27.000000000","message":"I followed the call in line 290 and I believe that yes, the format given back is DER.","commit_id":"94d8d7febb8e7e9cd3922ec5218f8e92b1cccc0a"},{"author":{"_account_id":23276,"name":"Nicholas Jones","email":"nj762h@att.com","username":"nj762h"},"change_message_id":"a3822d3fe16d5ff88f4e35843a4f21705bc4974f","unresolved":false,"context_lines":[{"line_number":290,"context_line":"                key_info \u003d self.keyclient.get_key_info(key_id)"},{"line_number":291,"context_line":"                if key_spec.alg.upper() in (key.KeyClient.RSA_ALGORITHM,"},{"line_number":292,"context_line":"                                            key.KeyClient.DSA_ALGORITHM):"},{"line_number":293,"context_line":"                    public_key \u003d serialization.load_der_public_key("},{"line_number":294,"context_line":"                        data\u003dbase64.b64decode(key_info.public_key),"},{"line_number":295,"context_line":"                        backend\u003ddefault_backend()"},{"line_number":296,"context_line":"                    )"}],"source_content_type":"text/x-python","patch_set":2,"id":"5ff73747_66908d4f","line":293,"in_reply_to":"5ff73747_16f1006c","updated":"2017-04-26 17:33:44.000000000","message":"pyCrypto\u0027s RSA.importKey() only supports PEM, DER and OpenSSH encodings. Since this is in a conditional to convert to PEM, I think it\u0027s safe to assume the key isn\u0027t PEM. \n\nI cannot comment on the key possibly being OpenSSH.","commit_id":"94d8d7febb8e7e9cd3922ec5218f8e92b1cccc0a"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"cee3baefa657266002b2346ddb31cd2337a55745","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                if key_spec.alg.upper() in (key.KeyClient.RSA_ALGORITHM,"},{"line_number":292,"context_line":"                                            key.KeyClient.DSA_ALGORITHM):"},{"line_number":293,"context_line":"                    public_key \u003d serialization.load_der_public_key("},{"line_number":294,"context_line":"                        data\u003dbase64.b64decode(key_info.public_key),"},{"line_number":295,"context_line":"                        backend\u003ddefault_backend()"},{"line_number":296,"context_line":"                    )"},{"line_number":297,"context_line":"                    recovered_key \u003d ("}],"source_content_type":"text/x-python","patch_set":3,"id":"1f013ff3_413a4934","line":294,"range":{"start_line":294,"start_character":29,"end_line":294,"end_character":45},"updated":"2017-05-16 20:50:05.000000000","message":"I only looked at the logs and didn\u0027t manually test this, but my guess is this is what is breaking the functionality.  I think you can just say \"data\u003dkey_info.public_key\"","commit_id":"0556c77b6414d575dccddb4098d54272be57db36"},{"author":{"_account_id":23674,"name":"Rohan Arora","email":"ra271w@att.com","username":"rarora"},"change_message_id":"2ebf644a9baa716657aac9c2664913e5f3703c66","unresolved":false,"context_lines":[{"line_number":291,"context_line":"                if key_spec.alg.upper() in (key.KeyClient.RSA_ALGORITHM,"},{"line_number":292,"context_line":"                                            key.KeyClient.DSA_ALGORITHM):"},{"line_number":293,"context_line":"                    public_key \u003d serialization.load_der_public_key("},{"line_number":294,"context_line":"                        data\u003dbase64.b64decode(key_info.public_key),"},{"line_number":295,"context_line":"                        backend\u003ddefault_backend()"},{"line_number":296,"context_line":"                    )"},{"line_number":297,"context_line":"                    recovered_key \u003d ("}],"source_content_type":"text/x-python","patch_set":3,"id":"1f013ff3_21773d05","line":294,"range":{"start_line":294,"start_character":29,"end_line":294,"end_character":45},"in_reply_to":"1f013ff3_413a4934","updated":"2017-05-16 20:52:23.000000000","message":"I don\u0027t remember exactly what was happening when I didn\u0027t use the decode, but I think that there was an issue with the data type in python 3 without it. I\u0027ll have to go back and check.","commit_id":"0556c77b6414d575dccddb4098d54272be57db36"}]}
