yandrey321 commented on code in PR #9344:
URL: https://github.com/apache/ozone/pull/9344#discussion_r2557367230


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/security/STSTokenIdentifier.java:
##########
@@ -193,6 +256,10 @@ public String getSessionPolicy() {
     return sessionPolicy;
   }
 
+  public void setEncryptionKey(byte[] encryptionKey) {

Review Comment:
   how are we protecting key in memory? how long would it be stored in memory? 
We zeroing out buffers but do nothing with key, which is more sensitive. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to