)]}'
{"barbican/plugin/snakeoil_ca.py":[{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"37aa5c67eb01b262c423e06f037ce1f2331555cc","unresolved":false,"context_lines":[{"line_number":210,"context_line":"                    status_message\u003du._(\"No request_data specified\"))"},{"line_number":211,"context_line":"        csr \u003d crypto.load_certificate_request("},{"line_number":212,"context_line":"            crypto.FILETYPE_PEM,"},{"line_number":213,"context_line":"            base64.b64decode(encoded_csr))"},{"line_number":214,"context_line":"        cert \u003d self.cert_manager.make_certificate(csr)"},{"line_number":215,"context_line":"        cert_enc \u003d crypto.dump_certificate(crypto.FILETYPE_PEM, cert)"},{"line_number":216,"context_line":"        ca_enc \u003d crypto.dump_certificate(crypto.FILETYPE_PEM, self.ca.cert)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_9c9a2f6d","line":213,"updated":"2015-07-22 17:56:06.000000000","message":"Looked into dogtag plugin code for reference. \n\nhttps://github.com/openstack/barbican/blob/master/barbican/plugin/dogtag.py#L806\n\nIt appears that CSR is base64 encoded only in case when its read from order_meta[\u0027request_data\u0027] and NOT when its read from barbican_meta_dto.generated_csr as decode is applied only in order_meta case. I would have expected same in this plugin. If its encoded in both the cases, then may be need to look into dogtag side for other case.\n \nCan you please check as I don\u0027t see any related test to confirm it.","commit_id":"ba34f0266e90b854efda539c0cdd6bd139edd646"}]}
