)]}'
{"test/unit/common/middleware/crypto/test_encryption.py":[{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"0433c1b4f0ca145dd28317ee9d8d6c5c384cb1ce","unresolved":true,"context_lines":[{"line_number":281,"context_line":"        self._check_match_requests(\u0027HEAD\u0027, self.crypto_app)"},{"line_number":282,"context_line":"        self._check_listing(self.crypto_app)"},{"line_number":283,"context_line":""},{"line_number":284,"context_line":"    def test_write_with_crypto_read_with_crypto_empty_body(self):"},{"line_number":285,"context_line":"        # verify that user metadata and sensitive sysmeta headers are encrypted"},{"line_number":286,"context_line":"        # and decrypted even when there is no body"},{"line_number":287,"context_line":"        self._create_container(self.proxy_app, policy_name\u003d\u0027one\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"f940770a_1c6c5cef","line":284,"updated":"2026-10-30 03:23:28.000000000","message":"we have existing test case ``test_PUT_with_sensitive_sysmeta_and_empty_body`` in test_encrypter.py which covers sensitive sysmeta encryption with an empty body, and ``test_GET_sensitive_sysmeta_no_body_crypto_meta`` in test_decrypter.py which covers decryption sensitive sysmeta without body crypto metadata. and this test is a full test with both.","commit_id":"45d7bcde8b97d5de9bc292f2e9fb1a2a4c55a514"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"44fd20fbad34b4b28396e63a1391cdde3c12024b","unresolved":true,"context_lines":[{"line_number":281,"context_line":"        self._check_match_requests(\u0027HEAD\u0027, self.crypto_app)"},{"line_number":282,"context_line":"        self._check_listing(self.crypto_app)"},{"line_number":283,"context_line":""},{"line_number":284,"context_line":"    def test_write_with_crypto_read_with_crypto_empty_body(self):"},{"line_number":285,"context_line":"        # verify that user metadata and sensitive sysmeta headers are encrypted"},{"line_number":286,"context_line":"        # and decrypted even when there is no body"},{"line_number":287,"context_line":"        self._create_container(self.proxy_app, policy_name\u003d\u0027one\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"2e8c231a_c974e672","line":284,"in_reply_to":"f940770a_1c6c5cef","updated":"2026-10-30 10:22:11.000000000","message":"fair enough, although I quite like the end to end testing where the decrypter receives exactly what the encrypter wrote down rather than synthesised test responses.","commit_id":"45d7bcde8b97d5de9bc292f2e9fb1a2a4c55a514"},{"author":{"_account_id":34930,"name":"Jianjian Huo","email":"jhuo@nvidia.com","username":"jhuo"},"change_message_id":"0433c1b4f0ca145dd28317ee9d8d6c5c384cb1ce","unresolved":true,"context_lines":[{"line_number":288,"context_line":"        headers \u003d {\u0027Content-Type\u0027: \u0027application/test\u0027,"},{"line_number":289,"context_line":"                   \u0027x-object-meta-foo\u0027: \u0027bar\u0027,"},{"line_number":290,"context_line":"                   SENSITIVE_HEADER: SENSITIVE_VALUE}"},{"line_number":291,"context_line":"        req \u003d Request.blank("},{"line_number":292,"context_line":"            str_to_wsgi(self.object_path), method\u003d\u0027PUT\u0027, body\u003db\u0027\u0027,"},{"line_number":293,"context_line":"            headers\u003ddict(headers))"},{"line_number":294,"context_line":"        resp \u003d req.get_response(self.crypto_app)"}],"source_content_type":"text/x-python","patch_set":1,"id":"8164da89_1ffd9668","line":291,"updated":"2026-10-30 03:23:28.000000000","message":"this could reuse test helper","commit_id":"45d7bcde8b97d5de9bc292f2e9fb1a2a4c55a514"}]}
