)]}'
{"barbican/plugin/kmip_secret_store.py":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"55bd28c8765c04ab41227a5142bcc0930a019406","unresolved":false,"context_lines":[{"line_number":518,"context_line":"                certificate_type\u003denums.CertificateTypeEnum.X_509,"},{"line_number":519,"context_line":"                certificate_value\u003dnormalized_secret)"},{"line_number":520,"context_line":"        elif object_type \u003d\u003d enums.ObjectType.OPAQUE_DATA:"},{"line_number":521,"context_line":"            opaque_type \u003d Opaque.OpaqueDataType(enums.OpaqueDataType.NONE)"},{"line_number":522,"context_line":"            opaque_value \u003d Opaque.OpaqueDataValue(normalized_secret)"},{"line_number":523,"context_line":"            kmip_object \u003d Opaque(opaque_type, opaque_value)"},{"line_number":524,"context_line":"        elif (object_type \u003d\u003d enums.ObjectType.SYMMETRIC_KEY or"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba3cc151_e80a1c27","line":521,"updated":"2015-07-10 19:51:06.000000000","message":"What does enums.OpaqueDataType.NONE mean?","commit_id":"b1991a6c62529b1a0dfe0061997b2d25030961eb"},{"author":{"_account_id":7764,"name":"Peter Hamilton","email":"peter.hamilton@jhuapl.edu","username":"Peter"},"change_message_id":"360c63d2a07c44b3f676bcd01b989232abbc2438","unresolved":false,"context_lines":[{"line_number":518,"context_line":"                certificate_type\u003denums.CertificateTypeEnum.X_509,"},{"line_number":519,"context_line":"                certificate_value\u003dnormalized_secret)"},{"line_number":520,"context_line":"        elif object_type \u003d\u003d enums.ObjectType.OPAQUE_DATA:"},{"line_number":521,"context_line":"            opaque_type \u003d Opaque.OpaqueDataType(enums.OpaqueDataType.NONE)"},{"line_number":522,"context_line":"            opaque_value \u003d Opaque.OpaqueDataValue(normalized_secret)"},{"line_number":523,"context_line":"            kmip_object \u003d Opaque(opaque_type, opaque_value)"},{"line_number":524,"context_line":"        elif (object_type \u003d\u003d enums.ObjectType.SYMMETRIC_KEY or"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_203b2dd3","line":521,"in_reply_to":"ba3cc151_e80a1c27","updated":"2015-07-13 11:51:05.000000000","message":"It is the only valid opaque data type available in PyKMIP. The KMIP specification does not specify any specific examples for opaque data; all definitions and details are left open as extensions to the spec to be supported by specific vendors, if they so choose.\n\nenums.OpaqueDataType.NONE is really a placeholder that, in theory, will work with any backend KMIP appliance that supports opaque data.","commit_id":"b1991a6c62529b1a0dfe0061997b2d25030961eb"},{"author":{"_account_id":7764,"name":"Peter Hamilton","email":"peter.hamilton@jhuapl.edu","username":"Peter"},"change_message_id":"360c63d2a07c44b3f676bcd01b989232abbc2438","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        \"\"\""},{"line_number":639,"context_line":"        if (kmip_type \u003d\u003d enums.ObjectType.SYMMETRIC_KEY or"},{"line_number":640,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.SECRET_DATA or"},{"line_number":641,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.OPAQUE_DATA):"},{"line_number":642,"context_line":"            flags \u003d [enums.CryptographicUsageMask.ENCRYPT,"},{"line_number":643,"context_line":"                     enums.CryptographicUsageMask.DECRYPT]"},{"line_number":644,"context_line":"        elif (kmip_type \u003d\u003d enums.ObjectType.PUBLIC_KEY or"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_60b055de","line":641,"updated":"2015-07-13 11:51:05.000000000","message":"Would opaque data really be used for encryption/decryption? I\u0027m wondering if export or content commitment is more appropriate here? We could also try omitting the mask entirely, since usage masks really only apply to cryptographic objects (which opaque data is not).","commit_id":"b1991a6c62529b1a0dfe0061997b2d25030961eb"},{"author":{"_account_id":7764,"name":"Peter Hamilton","email":"peter.hamilton@jhuapl.edu","username":"Peter"},"change_message_id":"fdeadb1b0f600118916d34913949ad3bf8e13954","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        \"\"\""},{"line_number":639,"context_line":"        if (kmip_type \u003d\u003d enums.ObjectType.SYMMETRIC_KEY or"},{"line_number":640,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.SECRET_DATA or"},{"line_number":641,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.OPAQUE_DATA):"},{"line_number":642,"context_line":"            flags \u003d [enums.CryptographicUsageMask.ENCRYPT,"},{"line_number":643,"context_line":"                     enums.CryptographicUsageMask.DECRYPT]"},{"line_number":644,"context_line":"        elif (kmip_type \u003d\u003d enums.ObjectType.PUBLIC_KEY or"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_f4fe5937","line":641,"in_reply_to":"9a41bdd9_39059a79","updated":"2015-07-13 15:33:18.000000000","message":"Hmmm, good point. The mask is used in a couple of ways. It is used to identify whether or not an object can be used in a certain operation (e.g., to wrap a key). It also signifies what the user intends to use it for, in which case it doesn\u0027t really matter what the mask is since the user can simply retrieve the object and work with it on the client side as needed, in whatever operation they want.\n\nI\u0027m wondering what types of cryptographic operations (e.g., encrypting, wrapping, hashing) Barbican will want/need down the road. This isn\u0027t really an issue right now but something to keep in mind.","commit_id":"b1991a6c62529b1a0dfe0061997b2d25030961eb"},{"author":{"_account_id":6783,"name":"Nathan Reller","email":"nathan.s.reller@gmail.com","username":"rellerreller"},"change_message_id":"fdb67f3694d05204a10d3965a66e61bad53c2787","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        \"\"\""},{"line_number":639,"context_line":"        if (kmip_type \u003d\u003d enums.ObjectType.SYMMETRIC_KEY or"},{"line_number":640,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.SECRET_DATA or"},{"line_number":641,"context_line":"                kmip_type \u003d\u003d enums.ObjectType.OPAQUE_DATA):"},{"line_number":642,"context_line":"            flags \u003d [enums.CryptographicUsageMask.ENCRYPT,"},{"line_number":643,"context_line":"                     enums.CryptographicUsageMask.DECRYPT]"},{"line_number":644,"context_line":"        elif (kmip_type \u003d\u003d enums.ObjectType.PUBLIC_KEY or"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_39059a79","line":641,"in_reply_to":"9a41bdd9_60b055de","updated":"2015-07-13 15:09:33.000000000","message":"I think there could be many keys created that are not labeled appropriately. I think people may use these for encryption and decryption.\n\nI should also point out that opaque objects in Barbican may not necessarily have the same meaning as for KMIP. In Barbican these types are a little les defined. Essentially opaque means that we do not care about the type, but I do get the sense that it is likely a cryptographic object.","commit_id":"b1991a6c62529b1a0dfe0061997b2d25030961eb"}]}
