)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"9914b6f450a28a7ff9631388b4137a7cf9067429","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add a payload command line option"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch adds a --payload flag when retrieving a secret, which"},{"line_number":10,"context_line":"replaces --decrypt which has been broken for a while."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ie36a4522e984447653b54130ba466222566ed5da"},{"line_number":13,"context_line":"Closes-Bug: #1434629"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da9b358b_2b11fcac","line":10,"updated":"2015-03-30 16:28:31.000000000","message":"The CR looks good.  The commit message is not accurate now though.","commit_id":"d9bf6c7e7f2b6b495eb8b1d403ea5f7629f44505"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"e70586156fa5cc246c740d8a70bba279af3029ae","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add a payload command line option"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This patch adds a --payload flag when retrieving a secret, which"},{"line_number":10,"context_line":"replaces --decrypt which has been broken for a while."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ie36a4522e984447653b54130ba466222566ed5da"},{"line_number":13,"context_line":"Closes-Bug: #1434629"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"da9b358b_00fa8e42","line":10,"in_reply_to":"da9b358b_2b11fcac","updated":"2015-03-30 19:24:31.000000000","message":"Good catch, thanks!","commit_id":"d9bf6c7e7f2b6b495eb8b1d403ea5f7629f44505"}],"barbicanclient/barbican_cli/secrets.py":[{"author":{"_account_id":11970,"name":"Chelsea Winfree","email":"chelsea.winfree@gmail.com","username":"chellygel"},"change_message_id":"4d05f8318ad777654c162ab4add00dc7bcf50d37","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def get_parser(self, prog_name):"},{"line_number":39,"context_line":"        parser \u003d super(GetSecret, self).get_parser(prog_name)"},{"line_number":40,"context_line":"        parser.add_argument(\u0027URI\u0027, help\u003d\u0027The URI reference for the secret.\u0027)"},{"line_number":41,"context_line":"        parser.add_argument(\u0027--payload\u0027, \u0027-p\u0027,"},{"line_number":42,"context_line":"                            help\u003d\u0027if specified, retrieve the \u0027"},{"line_number":43,"context_line":"                                 \u0027unencrypted secret data; \u0027"},{"line_number":44,"context_line":"                                 \u0027the data type can be specified with \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa963961_a020849c","line":41,"updated":"2015-03-27 16:29:08.000000000","message":"We will still need \u0027decrypt\u0027 so adding \u0027payload\u0027 is okay, but we must support \u0027decrypt\u0027 still.\n\nIf we remove decrypt all together, then this is not backwards compatible.","commit_id":"5a8d31d44665e4441ed86f5f5f130534adffa958"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"f6370512175a30ba54d4bb3d42a3dc8502815e02","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def get_parser(self, prog_name):"},{"line_number":39,"context_line":"        parser \u003d super(GetSecret, self).get_parser(prog_name)"},{"line_number":40,"context_line":"        parser.add_argument(\u0027URI\u0027, help\u003d\u0027The URI reference for the secret.\u0027)"},{"line_number":41,"context_line":"        parser.add_argument(\u0027--payload\u0027, \u0027-p\u0027,"},{"line_number":42,"context_line":"                            help\u003d\u0027if specified, retrieve the \u0027"},{"line_number":43,"context_line":"                                 \u0027unencrypted secret data; \u0027"},{"line_number":44,"context_line":"                                 \u0027the data type can be specified with \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa963961_e0b68cdb","line":41,"in_reply_to":"fa963961_a020849c","updated":"2015-03-27 16:39:57.000000000","message":"Well decrypt has been broken for a while, so I thought nobody uses it. It\u0027s also not exposed by the lower API. Can you explain what decrypt would do?","commit_id":"5a8d31d44665e4441ed86f5f5f130534adffa958"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"f4451cfa5d7409b1dc06f7bb0b3d5c2288bfa216","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def get_parser(self, prog_name):"},{"line_number":39,"context_line":"        parser \u003d super(GetSecret, self).get_parser(prog_name)"},{"line_number":40,"context_line":"        parser.add_argument(\u0027URI\u0027, help\u003d\u0027The URI reference for the secret.\u0027)"},{"line_number":41,"context_line":"        parser.add_argument(\u0027--payload\u0027, \u0027-p\u0027,"},{"line_number":42,"context_line":"                            help\u003d\u0027if specified, retrieve the \u0027"},{"line_number":43,"context_line":"                                 \u0027unencrypted secret data; \u0027"},{"line_number":44,"context_line":"                                 \u0027the data type can be specified with \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa963961_f32c25ad","line":41,"in_reply_to":"fa963961_e0b68cdb","updated":"2015-03-27 18:27:48.000000000","message":"Hi Thomas, the --decrypt option is part of the API.  If you execute:\n\n$ barbican help secret get\n\nfor example, shows that the --decrypt flag  retrieves the unencrypted data as described in the help string below.  I understand that it\u0027s likely that nobody is using it since you\u0027re the first one to notice it\u0027s broken, but I don\u0027t think that\u0027s a good enough reason to change the api.\n\nIf you feel strongly that it should be called \"--payload\" instead, then we should at least support both --decrypt and --payload for the same behavior.","commit_id":"5a8d31d44665e4441ed86f5f5f130534adffa958"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"5055c14462f28325b14bdbf35138b6164cc8a5cd","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def get_parser(self, prog_name):"},{"line_number":39,"context_line":"        parser \u003d super(GetSecret, self).get_parser(prog_name)"},{"line_number":40,"context_line":"        parser.add_argument(\u0027URI\u0027, help\u003d\u0027The URI reference for the secret.\u0027)"},{"line_number":41,"context_line":"        parser.add_argument(\u0027--payload\u0027, \u0027-p\u0027,"},{"line_number":42,"context_line":"                            help\u003d\u0027if specified, retrieve the \u0027"},{"line_number":43,"context_line":"                                 \u0027unencrypted secret data; \u0027"},{"line_number":44,"context_line":"                                 \u0027the data type can be specified with \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"da9b358b_0c9e6456","line":41,"in_reply_to":"fa963961_f32c25ad","updated":"2015-03-30 08:02:41.000000000","message":"Fair enough. My reasoning for renaming it was the naming of the payload attribute of the Secret object. But we can rename it later on.","commit_id":"5a8d31d44665e4441ed86f5f5f130534adffa958"},{"author":{"_account_id":8004,"name":"Paul Kehrer","email":"paul.l.kehrer@gmail.com","username":"reaperhulk"},"change_message_id":"5e56bfb32772258fe7097fd0778dc95aca994b89","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        if args.decrypt:"},{"line_number":55,"context_line":"            entity \u003d self.app.client.secrets.get(args.URI,"},{"line_number":56,"context_line":"                                                 args.payload_content_type)"},{"line_number":57,"context_line":"            return ((\u0027Payload\u0027,),"},{"line_number":58,"context_line":"                    (entity.payload,))"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            entity \u003d self.app.client.secrets.get(secret_ref\u003dargs.URI)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da9b358b_4aa430a5","line":57,"updated":"2015-03-30 20:39:05.000000000","message":"What does this single element tuple do?","commit_id":"278398584ecf5d4f9bf63dc152b35172250af8ac"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"c1c0ff4e67f1113ea2e56e1e5cb7d2ed2caaeca4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        if args.decrypt:"},{"line_number":55,"context_line":"            entity \u003d self.app.client.secrets.get(args.URI,"},{"line_number":56,"context_line":"                                                 args.payload_content_type)"},{"line_number":57,"context_line":"            return ((\u0027Payload\u0027,),"},{"line_number":58,"context_line":"                    (entity.payload,))"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            entity \u003d self.app.client.secrets.get(secret_ref\u003dargs.URI)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da9b358b_4ab1d08e","line":57,"in_reply_to":"da9b358b_0a4aa8c5","updated":"2015-03-30 20:49:47.000000000","message":"I think it would be worthwhile to look into outputting the decrypted secret directly, instead of going through cliff.  The actual data would be infinitely more useful in a shell than having to parse through the ascii table.\n\nI think it\u0027s out of scope for this CR though.","commit_id":"278398584ecf5d4f9bf63dc152b35172250af8ac"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"988a3cfd3d113c8f0213102fb21a9e5b2f2a58e9","unresolved":false,"context_lines":[{"line_number":54,"context_line":"        if args.decrypt:"},{"line_number":55,"context_line":"            entity \u003d self.app.client.secrets.get(args.URI,"},{"line_number":56,"context_line":"                                                 args.payload_content_type)"},{"line_number":57,"context_line":"            return ((\u0027Payload\u0027,),"},{"line_number":58,"context_line":"                    (entity.payload,))"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            entity \u003d self.app.client.secrets.get(secret_ref\u003dargs.URI)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da9b358b_0a4aa8c5","line":57,"in_reply_to":"da9b358b_4aa430a5","updated":"2015-03-30 20:43:19.000000000","message":"looks like cliff wants a tuple of column names","commit_id":"278398584ecf5d4f9bf63dc152b35172250af8ac"}]}
