Hi,
At fil0crypt.cc there is
fil_crypt_needs_rotation(uint key_version, const key_state_t *key_state)
{
// TODO(jonaso): Add support for rotating encrypted => unencrypted
if (key_version == 0 && key_state->key_version != 0) {
/* this is rotation unencrypted => encrypted
* ignore rotate_key_age */
return true;
}Thus to me it is not clear is the support for rotating encrypted => unencrypted really missing or not and furthermore, see attached test case for this,encrypted + insert + grep : okencrypted => unencrypted + grep: okunencrypted => encrypted + grep: not okR: Jan