Github user omalley commented on the issue:
https://github.com/apache/orc/pull/227
Ok, I significantly updated this patch.
* I added tests for both the InMemoryKeyProvider and the Hadoop-based
KeyProvider.
* I allowed the user to pass in a Random implementation for the
KeyProvider. That allows me to control the random for tests.
* I added a lot of documentation about what I was doing and why.
* I fixed an issue where the HadoopShimsFactory wasn't creating the right
version of the shim.
* I changed the InMemoryKeyProvider to use AES/CBC/NoPadding to encrypt and
decrypt the local keys. Thus like the AWS KMS, the operations for encryption
and decryption aren't symmetric.
---