empiredan opened a new pull request, #2223:
URL: https://github.com/apache/zookeeper/pull/2223

   C client has provided zoo_sasl_make_basic_callbacks() function to help users 
initialize SASL callbacks with the password in the specified file. The client 
would use this password directly for SASL authentication.
   
   However, considering the security of the production environment, the 
password in a file is usually encrypted. Also, security software also scans 
files in the system and will issue an alert if it detects an unencrypted 
password. Therefore, we need a mechanism to read the encrypted text from the 
file and decrypt it to obtain the real password.
   
   To achieve this, a helper function is introduced to decrypt the encrypted 
text in the file using a user-provided custom callback. A handback object is 
also introduced to provide necessary information for the decryption.


-- 
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]

Reply via email to