westonpace commented on PR #39216:
URL: https://github.com/apache/arrow/pull/39216#issuecomment-1865210877

   A few more details from the call that fails:
   
   ```
   499    if (!EVP_DecryptUpdate(
   500            ctx_, plaintext, &len, ciphertext + length_buffer_length_ + 
kNonceLength,
   501            ciphertext_len - length_buffer_length_ - kNonceLength - 
kGcmTagLength)) {
   502      throw ParquetException("Failed decryption update");
   503    }
   (gdb) p ctx_
   $1 = (EVP_CIPHER_CTX *) 0x555556cc7440
   (gdb) p plaintext
   $2 = (uint8_t *) 0x7fff44001180 "\274"
   (gdb) p len
   $3 = 0
   (gdb) p ciphertext
   $4 = (const uint8_t *) 0x7fff4802ac84 "*"
   (gdb) p length_buffer_length
   No symbol "length_buffer_length" in current context.
   (gdb) p length_buffer_length_ 
   $5 = 4
   (gdb) p kNonceLength
   $6 = 12
   (gdb) p ciphertext_len
   $7 = 46
   (gdb) p kGcmTagLength
   $8 = 16
   ```
   
   Sorry, I don't know the crypto stuff well.  `len` is 0 which might be 
suspicious or it might be completely normal.


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

Reply via email to