You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kirill Sizov (Jira)" <ji...@apache.org> on 2022/10/17 14:35:00 UTC

[jira] [Created] (HDDS-7342) Move encryption-related code to OzoneCryptoInputStream

Kirill Sizov created HDDS-7342:
----------------------------------

             Summary: Move encryption-related code to OzoneCryptoInputStream
                 Key: HDDS-7342
                 URL: https://issues.apache.org/jira/browse/HDDS-7342
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Kirill Sizov
             Fix For: 1.3.0


In case of an encrypted MPU key {{MultipartCryptoKeyInputStream}} is combining the parts, where each is decrypted with {{OzoneCryptoInputStream}}.

The issue is that the code that aligns the bytes with crypto buffer boundary, while being part-specific, resides in {{MultipartCryptoKeyInputStream}}. 
The proposed solution is to move encryption into {{OzoneCryptoInputStream}} itself.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org