alamb commented on code in PR #7439: URL: https://github.com/apache/arrow-rs/pull/7439#discussion_r2078463957
########## parquet/tests/encryption/encryption.rs: ########## @@ -60,6 +60,43 @@ fn test_non_uniform_encryption_plaintext_footer() { verify_encryption_test_file_read(file, decryption_properties); } +#[test] +fn test_plaintext_footer_signature_verification() { + let test_data = arrow::util::test_util::parquet_test_data(); + let path = format!("{test_data}/encrypt_columns_plaintext_footer.parquet.encrypted"); + let file = File::open(path.clone()).unwrap(); + + let footer_key = "0000000000000000".as_bytes(); // 128bit/16 + let column_1_key = "1234567890123450".as_bytes(); + let column_2_key = "1234567890123451".as_bytes(); + + let decryption_properties = FileDecryptionProperties::builder(footer_key.to_vec()) + .disable_footer_signature_verification() Review Comment: 👍 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org