fix: inconsistent key handling in encryption
#9868
Merged
Loading
key handling in encryption
#9868