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

   ### What changes were proposed in this pull request?
   
   This change adds AES-GCM as an optional AES cipher mode for RPC encryption. 
The current default is using AES-CTR without any authentication. That would 
allow someone on the network to easily modify RPC contents on the wire and 
impact Spark behavior. See 
[SPARK-47172](https://issues.apache.org/jira/browse/SPARK-47172) for more 
details.
   
   ### Why are the changes needed?
   
   The current default is using AES-CTR without any authentication. That would 
allow someone on the network to easily modify RPC contents on the wire and 
impact Spark behavior. 
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it adds an additional configuration flag is reflected in the 
documentation.
   
   ### How was this patch tested?
   Existing unit tests are all ensured to pass. New unit tests are written to 
explicitly test GCM support and to verify that modifying ciphertext content 
will cause an exception and fail.
   
   `build/sbt "network-common/test:testOnly"`
   `build/sbt "network-common/test:testOnly 
org.apache.spark.network.crypto.AuthIntegrationSuite"`
   `build/sbt "network-common/test:testOnly 
org.apache.spark.network.crypto.AuthEngineSuite"`
   
   ### Was this patch authored or co-authored using generative AI tooling?
   Nope.


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to