xanderbailey opened a new issue, #18219: URL: https://github.com/apache/iceberg/issues/18219
We're in the process of implementing the encryption spec in rust and python and have noticed something in the spec wording https://github.com/apache/iceberg/blob/1504ddd5d5119e934e7cbcaed82b9384caf35b82/format/gcm-stream-spec.md#cipher-block-structure `The last block has a non-zero length <= BlockLength` but Java `AesGcmOutputStream` will actually write an empty block and `AesGcmInputFile` will reject anything shorter than `MIN_STREAM_LENGTH` https://github.com/apache/iceberg/blob/1504ddd5d5119e934e7cbcaed82b9384caf35b82/core/src/main/java/org/apache/iceberg/encryption/AesGcmInputFile.java#L68-L74 So java seems to disagree in both directions? -- 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]
