)]}'
{"doc/source/plugin/crypto.rst":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"The ``barbican.plugin.crypto`` module contains the classes needed to implement"},{"line_number":24,"context_line":"a custom plugin.  These classes include the ``crypto.CryptoPluginBase``"},{"line_number":25,"context_line":"abstract base class which custom plugins should inherit from, as well as"},{"line_number":26,"context_line":"several Data Transfer Object (DTO) classes used to transfer data between"},{"line_number":27,"context_line":"Barbican and the plugin."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_123befd1","line":24,"updated":"2014-10-23 05:02:13.000000000","message":"You refer to CryptoPluginBase without the module name under the Plugin Base Class section and I think it looks a little better that way. Thoughts?","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"The DTO classes are used to wrap data that is passed from Barbican to the"},{"line_number":33,"context_line":"plugin as well as data that is returned from the plugin back to Barbican."},{"line_number":34,"context_line":"They provide a level of isolation between the plugins and Barbican\u0027s interal"},{"line_number":35,"context_line":"data models."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":".. autoclass:: KEKMetaDTO"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_d20a4720","line":34,"updated":"2014-10-23 05:02:13.000000000","message":"\"interal\" should be \"internal\"","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":59,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"The sequence that Barbican invokes methods on ``CryptoPluginBase``"},{"line_number":62,"context_line":"depends on the requested action as detailed next."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"**For secret storage actions**, Barbican core calls the following methods:"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_d2588734","line":62,"updated":"2014-10-23 05:02:13.000000000","message":"Perhaps it would sound better if it said \"detailed below\" instead of \"next\".","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"**For secret storage actions**, Barbican core calls the following methods:"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"1. ``supports()`` - Asks plugin if it can support the"},{"line_number":67,"context_line":"   ``barbican.plugin.crypto.crypto.PluginSupportTypes.ENCRYPT_DECRYPT``"},{"line_number":68,"context_line":"   operation type."},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_5263b7db","line":66,"updated":"2014-10-23 05:02:13.000000000","message":"Should be: \"Asks the plugin...\"","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":73,"context_line":"   into Barbican\u0027s data store on behalf of the plugin, and then provided back to"},{"line_number":74,"context_line":"   the plugin for subsequent calls."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"3. ``encrypt()`` - Asks plugin to perform encryption of an unencrypted secret"},{"line_number":77,"context_line":"   payload, utilizing the KEK bound to the project-ID above. Barbican core will"},{"line_number":78,"context_line":"   then persist the encrypted data returned from this method for later"},{"line_number":79,"context_line":"   retrieval. The name of the plugin used to perform this encryption is also"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_b2786390","line":76,"updated":"2014-10-23 05:02:13.000000000","message":"Asks the","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"**For symmetric key generation**, Barbican core calls the following methods:"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"1. ``supports()`` - Asks plugin if it can support the"},{"line_number":91,"context_line":"   ``barbican.plugin.crypto.crypto.PluginSupportTypes.SYMMETRIC_KEY_GENERATION``"},{"line_number":92,"context_line":"   operation type."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_12b04f42","line":90,"updated":"2014-10-23 05:02:13.000000000","message":"Asks the","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"2. ``bind_kek_metadata()`` - Same comments as for secret storage above."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"3. ``generate_symmetric()`` - Asks plugin to both generate a symmetric key, and"},{"line_number":97,"context_line":"   then encrypted it with the project-ID KEK. Barbican core persists this"},{"line_number":98,"context_line":"   newly generated and encrypted secret similar to secret storage above."},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_f2a90be0","line":96,"updated":"2014-10-23 05:02:13.000000000","message":"Asks the","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":97,"context_line":"   then encrypted it with the project-ID KEK. Barbican core persists this"},{"line_number":98,"context_line":"   newly generated and encrypted secret similar to secret storage above."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"**Finally, for asymmetric key generation**, Barbican core calls the following methods:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"1. ``supports()`` - Asks plugin if it can support the"},{"line_number":103,"context_line":"   ``barbican.plugin.crypto.crypto.PluginSupportTypes.ASYMMETRIC_KEY_GENERATION``"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_12692fbe","line":100,"updated":"2014-10-23 05:02:13.000000000","message":"I would remove the \"Finally\" so that it looks consistent.","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":"**Finally, for asymmetric key generation**, Barbican core calls the following methods:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"1. ``supports()`` - Asks plugin if it can support the"},{"line_number":103,"context_line":"   ``barbican.plugin.crypto.crypto.PluginSupportTypes.ASYMMETRIC_KEY_GENERATION``"},{"line_number":104,"context_line":"   operation type."},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_72b51b30","line":102,"updated":"2014-10-23 05:02:13.000000000","message":"Asks the","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"2. ``bind_kek_metadata()`` - Same comments as for secret storage above."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"3. ``generate_asymmetric()`` - Asks plugin to generate and encrypt asymmetric"},{"line_number":109,"context_line":"   public and private key (and optional passphrase) information, which Barbican"},{"line_number":110,"context_line":"   core will persist as a container of separate encrypted secrets."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_92835f55","line":108,"updated":"2014-10-23 05:02:13.000000000","message":"Asks the","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"}],"doc/source/plugin/index.rst":[{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"This guide describes how to develop custom plugins for use by Barbican. While"},{"line_number":5,"context_line":"Barbican provides useful plugin implementations, some OpenStack operators may"},{"line_number":6,"context_line":"require a custom backend that delivers features in a particular manner. This"},{"line_number":7,"context_line":"approach also gives flexibility to operators of OpenStack clouds by allowing"},{"line_number":8,"context_line":"them to choose the right implementation for their cloud."},{"line_number":9,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_778fcdcc","line":6,"updated":"2014-10-23 05:02:13.000000000","message":"You might want to define what you mean by a \"custom backend\". I know what you mean by that, but someone just reading this doc without the proper context might get confused.","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":8,"context_line":"them to choose the right implementation for their cloud."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Barbican utilizes a plugin architecture that enables developers to create their"},{"line_number":11,"context_line":"own implementations of features, such as secret storage and generation, SSL"},{"line_number":12,"context_line":"certificate generation and event handling. The plugin pattern used defines an"},{"line_number":13,"context_line":"abstract class, whose methods are invoked by Barbican logic (referred to as"},{"line_number":14,"context_line":"Barbican \u0027core\u0027 in this guide) in a particular sequence. Typically plugins do"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_37ac6535","line":11,"updated":"2014-10-23 05:02:13.000000000","message":"It could be me, but I think this sentence could use a little love. I\u0027m not sure the comma after \"features\" is needed. Also, I think there should be a comma after \"certificate generation\"?","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"3aa0d64324d915e9872dd0d912ff91ffb1131932","unresolved":false,"context_lines":[{"line_number":8,"context_line":"them to choose the right implementation for their cloud."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Barbican utilizes a plugin architecture that enables developers to create their"},{"line_number":11,"context_line":"own implementations of features, such as secret storage and generation, SSL"},{"line_number":12,"context_line":"certificate generation and event handling. The plugin pattern used defines an"},{"line_number":13,"context_line":"abstract class, whose methods are invoked by Barbican logic (referred to as"},{"line_number":14,"context_line":"Barbican \u0027core\u0027 in this guide) in a particular sequence. Typically plugins do"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_14459216","line":11,"in_reply_to":"9aa7fdbe_37ac6535","updated":"2014-10-23 13:06:00.000000000","message":"Ha, that last comma is my preference, but I think the more modern way is to leave it off. That said, it is confusing without it.","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"},{"author":{"_account_id":7262,"name":"John Vrbanac","email":"john.vrbanac@linux.com","username":"john.vrbanac"},"change_message_id":"dceab440e7afa8833c15c355c6d286a08870048e","unresolved":false,"context_lines":[{"line_number":16,"context_line":"persisting any required information on the plugin\u0027s behalf."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"In general, Barbican core will invoke a variation of the plugin\u0027s"},{"line_number":19,"context_line":"\u0027supports()\u0027 method to determine if a requested action can be implemented by"},{"line_number":20,"context_line":"the plugin. Once a supporting plugin is selected, Barbican core will invoke one"},{"line_number":21,"context_line":"or more methods on the plugin to complete the action."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9aa7fdbe_b735b5f8","line":19,"updated":"2014-10-23 05:02:13.000000000","message":"You might surround \"supports()\" with backquotes instead of singlequotes.","commit_id":"cc9a7c20a88811a36de12c5ff5747d4efabfd9f9"}]}
