code: def pre_fork(self, _):
          '''
          Pre-fork we need to create the zmq router device
          '''
          if 'aes' not in salt.master.SMaster.secrets:
              # TODO: This is still needed only for the unit tests
              # 'tcp_test.py' and 'zeromq_test.py'. Fix that. In normal
              # cases, 'aes' is already set in the secrets.
              salt.master.SMaster.secrets['aes'] = {
                  'secret': multiprocessing.Array(
                      ctypes.c_char,
                      salt.utils.stringutils.to_bytes(salt.crypt.Crypticle.generate_key_string())
                  ),
                  'reload': salt.crypt.Crypticle.generate_key_string
              f pre_fork(self, _):
          '''
          Pre-fork we need to create the zmq router device
          '''
          if 'aes' not in salt.master.SMaster.secrets:
              # TODO: This is still needed only for the unit tests
              # 'tcp_test.py' and 'zeromq_test.py'. Fix that. In normal
              # cases, 'aes' is already set in the secrets.
              salt.master.SMaster.secrets['aes'] = {
                  'secret': multiprocessing.Array(
                      ctypes.c_char,
                      salt.utils.stringutils.to_bytes(salt.crypt.Crypticle.generate_key_string())
                  ),
                  'reload': salt.crypt.Crypticle.generate_key_string
              }
docs: Pre-fork we need to create the zmq router device