)]}'
{"barbican/plugin/crypto/simple_crypto.py":[{"author":{"_account_id":18623,"name":"Pankaj Khandar","email":"pankaj.khandar@gmail.com","username":"Pan"},"change_message_id":"81c9281b003496f8a9888fdec3f9428ab0634b34","unresolved":false,"context_lines":[{"line_number":31,"context_line":"simple_crypto_plugin_group \u003d cfg.OptGroup(name\u003d\u0027simple_crypto_plugin\u0027,"},{"line_number":32,"context_line":"                                          title\u003d\"Simple Crypto Plugin Options\")"},{"line_number":33,"context_line":"simple_crypto_plugin_opts \u003d ["},{"line_number":34,"context_line":"    cfg.StrOpt(\u0027kek\u0027,"},{"line_number":35,"context_line":"               default\u003db\u0027dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg\u003d\u0027,"},{"line_number":36,"context_line":"               help\u003du._(\u0027Key encryption key to be used by Simple Crypto \u0027"},{"line_number":37,"context_line":"                        \u0027Plugin\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_a0930ea2","line":34,"range":{"start_line":34,"start_character":16,"end_line":34,"end_character":19},"updated":"2016-04-28 14:55:17.000000000","message":"Can we remove this and move somewhere else? May be pass by argument or parameter as needed. Security scans flag this as a risk and vulnerability","commit_id":"57a36dd05325fd65718df2e7e76ef6b5119b6c58"},{"author":{"_account_id":18623,"name":"Pankaj Khandar","email":"pankaj.khandar@gmail.com","username":"Pan"},"change_message_id":"1f07594fd8ba65aa066d37ee5da0f33cd1164f67","unresolved":false,"context_lines":[{"line_number":31,"context_line":"simple_crypto_plugin_group \u003d cfg.OptGroup(name\u003d\u0027simple_crypto_plugin\u0027,"},{"line_number":32,"context_line":"                                          title\u003d\"Simple Crypto Plugin Options\")"},{"line_number":33,"context_line":"simple_crypto_plugin_opts \u003d ["},{"line_number":34,"context_line":"    cfg.StrOpt(\u0027kek\u0027,"},{"line_number":35,"context_line":"               default\u003db\u0027dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg\u003d\u0027,"},{"line_number":36,"context_line":"               help\u003du._(\u0027Key encryption key to be used by Simple Crypto \u0027"},{"line_number":37,"context_line":"                        \u0027Plugin\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_c079eac9","line":34,"range":{"start_line":34,"start_character":16,"end_line":34,"end_character":19},"in_reply_to":"1a122d0e_4062fa3e","updated":"2016-04-28 15:11:26.000000000","message":"Thanks! Fernando. I think the below warning is good, since it is making it very clear on the purpose.","commit_id":"57a36dd05325fd65718df2e7e76ef6b5119b6c58"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"be5e8d6744e246e6869ae6e3ab01e9889baff253","unresolved":false,"context_lines":[{"line_number":31,"context_line":"simple_crypto_plugin_group \u003d cfg.OptGroup(name\u003d\u0027simple_crypto_plugin\u0027,"},{"line_number":32,"context_line":"                                          title\u003d\"Simple Crypto Plugin Options\")"},{"line_number":33,"context_line":"simple_crypto_plugin_opts \u003d ["},{"line_number":34,"context_line":"    cfg.StrOpt(\u0027kek\u0027,"},{"line_number":35,"context_line":"               default\u003db\u0027dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg\u003d\u0027,"},{"line_number":36,"context_line":"               help\u003du._(\u0027Key encryption key to be used by Simple Crypto \u0027"},{"line_number":37,"context_line":"                        \u0027Plugin\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_4062fa3e","line":34,"range":{"start_line":34,"start_character":16,"end_line":34,"end_character":19},"in_reply_to":"1a122d0e_a0930ea2","updated":"2016-04-28 15:07:46.000000000","message":"Displaying KEK here is fine as it is just for testing purposes. It is grabbed from the barbican configuration for the simple plugin[1].\n\n[1]https://github.com/openstack/barbican/blob/master/etc/barbican/barbican.conf#L257-L259","commit_id":"57a36dd05325fd65718df2e7e76ef6b5119b6c58"},{"author":{"_account_id":16046,"name":"Fernando Diaz","email":"diazjf@us.ibm.com","username":"diazjf"},"change_message_id":"be5e8d6744e246e6869ae6e3ab01e9889baff253","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def __init__(self, conf\u003dCONF):"},{"line_number":48,"context_line":"        self.master_kek \u003d conf.simple_crypto_plugin.kek"},{"line_number":49,"context_line":"        LOG.warning(u._LW(\"This plugin is NOT meant for a production \""},{"line_number":50,"context_line":"                          \"environment. This is meant just for development \""},{"line_number":51,"context_line":"                          \"and testing purposes. Please use another plugin \""},{"line_number":52,"context_line":"                          \"for production.\"))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_800a5277","line":49,"range":{"start_line":49,"start_character":42,"end_line":49,"end_character":45},"updated":"2016-04-28 15:07:46.000000000","message":"I like the CAPS","commit_id":"57a36dd05325fd65718df2e7e76ef6b5119b6c58"},{"author":{"_account_id":18623,"name":"Pankaj Khandar","email":"pankaj.khandar@gmail.com","username":"Pan"},"change_message_id":"81c9281b003496f8a9888fdec3f9428ab0634b34","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        LOG.warning(u._LW(\"This plugin is NOT meant for a production \""},{"line_number":50,"context_line":"                          \"environment. This is meant just for development \""},{"line_number":51,"context_line":"                          \"and testing purposes. Please use another plugin \""},{"line_number":52,"context_line":"                          \"for production.\"))"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    def _get_kek(self, kek_meta_dto):"},{"line_number":55,"context_line":"        if not kek_meta_dto.plugin_meta:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_a0c14e82","line":52,"range":{"start_line":52,"start_character":30,"end_line":52,"end_character":31},"updated":"2016-04-28 14:55:17.000000000","message":"Thanks for this!! Needed!!","commit_id":"57a36dd05325fd65718df2e7e76ef6b5119b6c58"}]}
