FLUME-1682: Improve logging message when encrypted file channel is unable to be initialized due to invalid key/keystore
Review Request #7902 - Created Nov. 6, 2012 and updated
The patch stores a salted SHA-512 hash of the encryption key in the log file metadata. On read that hash is verified and an error message printed out saying there will likely be errors.
Tests for verification functionality and a unit tests which easily allows you to verify the log message.