)]}'
{"specs/in_progress/at_rest_encryption.rst":[{"author":{"_account_id":17156,"name":"Hamdi Roumani","email":"roumani@ca.ibm.com","username":"hroumani"},"change_message_id":"2810a02c85620e031c3e2365fd759fe024d3d0b2","unresolved":false,"context_lines":[{"line_number":313,"context_line":" * a keymaster may accept a client supplied header that enables/disables"},{"line_number":314,"context_line":"   encryption and transform that to system metadata that it subsequently"},{"line_number":315,"context_line":"   inspects on each request to that resource."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"If encryption is specified per-object then the decision may be based on the"},{"line_number":318,"context_line":"object\u0027s name or based on client supplied header(s)."},{"line_number":319,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_e01013ab","line":316,"updated":"2015-09-24 16:01:22.000000000","message":"Maybe another point to bring up is why utilizing user container metadata itself as an option can be problematic due to inconsistency issues in the system (as opposed to storage policies).","commit_id":"46a171a37e07b2693b1571a6cdf65b05da571ce8"},{"author":{"_account_id":17156,"name":"Hamdi Roumani","email":"roumani@ca.ibm.com","username":"hroumani"},"change_message_id":"da2771930c58bea68800870ec321bdc4e40502af","unresolved":false,"context_lines":[{"line_number":324,"context_line":"single key for an entire cluster is not disallowed but would not be"},{"line_number":325,"context_line":"recommended). The specification of crypto metadata storage below is flexible"},{"line_number":326,"context_line":"enough to support any of those choices."},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"If a keymaster chooses to specify a unique key for each object then it will"},{"line_number":329,"context_line":"clearly need to be capable of managing as many keys as there are objects in the"},{"line_number":330,"context_line":"cluster. For performance reasons it should also be capable of retrieving any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_a05bfb53","line":327,"updated":"2015-09-24 16:07:11.000000000","message":"I think another point to bring up is if the key is \u0027object based\u0027 that is we generate a new key per object as opposed to \u0027path based\u0027 where path X always uses the same key, there are various issues due to the eventual consistency nature of swift e.g. someone does another PUT on top of an existing path, for some time both objects will exists and use different keys, if both keys remain kicking around, and you have some scheme to identify which key belongs to which version of the object, it can work.  Just something to keep in mind.","commit_id":"46a171a37e07b2693b1571a6cdf65b05da571ce8"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"15c80147f429d14d302ac37ddf51f86dba387a5c","unresolved":false,"context_lines":[{"line_number":329,"context_line":"clearly need to be capable of managing as many keys as there are objects in the"},{"line_number":330,"context_line":"cluster. For performance reasons it should also be capable of retrieving any"},{"line_number":331,"context_line":"object\u0027s key in a timely fashion when required. A keymaster *might* choose to"},{"line_number":332,"context_line":"store encrypted keys in Swift itself: for example, an object\u0027s unique key could"},{"line_number":333,"context_line":"be encrypted using its container key before storing perhaps as object metadata."},{"line_number":334,"context_line":"However, although scalable, such a solution might not provide the desired"},{"line_number":335,"context_line":"properties for \u0027secure deletion\u0027 of keys since the deletion of an object in"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_e858108c","line":332,"updated":"2015-10-09 22:01:43.000000000","message":"Have you considered storing keys in Barbican?  It sounds like the keymaster you are proposing contains some logic to decided whether or not to use encryption based on a policy, but for the underlying functionality of storing, creating, and deleting keys, I would suggest Barbican.\n\nAdditionally, I\u0027ve been working on a key manager interface library Castellan that has a Barbican backend.  The bones of this library are based on the key manager interfaces in Cinder and Nova, and hopefully we will be replacing those with Castellan soon.  The purpose of the library is create an easy way for other projects to manage their keys.","commit_id":"46a171a37e07b2693b1571a6cdf65b05da571ce8"},{"author":{"_account_id":12279,"name":"Janie Richling","email":"jrichli@us.ibm.com","username":"jrichli"},"change_message_id":"87fd5628c3005cfd3cc343161c4cf0855affc4ca","unresolved":false,"context_lines":[{"line_number":329,"context_line":"clearly need to be capable of managing as many keys as there are objects in the"},{"line_number":330,"context_line":"cluster. For performance reasons it should also be capable of retrieving any"},{"line_number":331,"context_line":"object\u0027s key in a timely fashion when required. A keymaster *might* choose to"},{"line_number":332,"context_line":"store encrypted keys in Swift itself: for example, an object\u0027s unique key could"},{"line_number":333,"context_line":"be encrypted using its container key before storing perhaps as object metadata."},{"line_number":334,"context_line":"However, although scalable, such a solution might not provide the desired"},{"line_number":335,"context_line":"properties for \u0027secure deletion\u0027 of keys since the deletion of an object in"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7a2fa921_20193122","line":332,"in_reply_to":"7a2fa921_e858108c","updated":"2015-10-10 21:35:56.000000000","message":"Hello Kaitlin!  Yes, we are planning to use Castellan.  And we are planning to have the production keymaster use Barbican.  However, it would probably only store a root key there.  I think the scalability was an issue when it was last discussed.  So, the keys stored in swift would be \"wrapped\" by either a root key in Barbican or some other similar scheme.\n\nThere are etherpads that describe the proposals and possible schemes:\n\nProduction Keymaster Overview: https://etherpad.openstack.org/p/swift_production_keymaster_overview\n\n Production Keymaster Discussion: https://etherpad.openstack.org/p/swift_production_keymaster_issues","commit_id":"46a171a37e07b2693b1571a6cdf65b05da571ce8"},{"author":{"_account_id":17156,"name":"Hamdi Roumani","email":"roumani@ca.ibm.com","username":"hroumani"},"change_message_id":"424cc01d862a3c11657314a7f513fd5d57d1e5ab","unresolved":false,"context_lines":[{"line_number":359,"context_line":" * For objects that are not to be encrypted/decrypted, Vinz adds the variable"},{"line_number":360,"context_line":"   ``swift.crypto.override\u003dTrue`` to the request environ."},{"line_number":361,"context_line":""},{"line_number":362,"context_line":""},{"line_number":363,"context_line":"6 Encryption of Object Body"},{"line_number":364,"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"},{"line_number":365,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a50d1a3_a58ef6cd","line":362,"updated":"2015-07-22 16:18:55.000000000","message":"Would it be worthwhile to also walk through an object DELETE codepath simply to illustrate a keymanger can decide to delete the secret key assuming a per-object key is utilized ?","commit_id":"46a171a37e07b2693b1571a6cdf65b05da571ce8"}]}
