pub(super) fn rekey_registry( conn: &Connection, registry: &Registry, ) -> Result<RekeyStats, String>