Description
CockroachDB Encryption-At-Rest (EAR) provides automatic data key rotation at a configurable interval, defaulting to every week. While the store key is set by the operator when they start CockroachDB, data keys are managed by CockroachDB’s EAR layer. Data key rotation improves data security by reducing the effect of any single exposed data key, as newer data files would be encrypted with newer keys. A bug in initialization of store and data keys on node restart led to data key rotation getting inadvertently disabled if the store key specified in the--enterprise-encryption flag hadn’t changed since the last node start.

