fallintoplace opened a new pull request, #1045: URL: https://github.com/apache/arrow-go/pull/1045
## What changed Check the secure-random read used to generate Parquet AES nonces and stop encryption if nonce generation fails. ## Why The encryptor previously ignored the result of `crypto/rand.Read`. On Go versions where that function returns an error, encryption could continue with an all-zero or partially filled nonce. Reusing a nonce undermines the security guarantees of both AES-GCM and AES-CTR. The test uses a package-local random-read seam to inject an entropy failure without replacing the process-wide random reader. It covers both supported cipher modes. ## Validation `go test ./parquet/internal/encryption` -- 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]
