sweisdb opened a new pull request #33790:
URL: https://github.com/apache/spark/pull/33790


   AuthEngineSuite was passing on some platforms (MacOS), but failing on others 
(Linux) with an InvalidKeyException stemming from this line. We should 
explicitly pass AES as the key format.
   
   ### What changes were proposed in this pull request?
   
   Changes the AuthEngine SecretKeySpec from "RAW" to "AES".
   
   ### Why are the changes needed?
   
   Unit tests were failing on some platforms with InvalidKeyExceptions when 
this key was used to instantiate a Cipher. 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Unit tests on a MacOS and Linux platform.


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