docs: def stderr_handle():
      """Generate debug-level appropriate stderr context for
      executing things through subprocess. Normally stderr gets
      sent to dev/null but when debugging it is sent to stdout."""
      gpg_stderr = None
      handle = None
      if LOGGER.getEffectiveLevel() > logging.DEBUG:
          handle = open(os.devnull, 'wb')
          gpg_stderr = handle
  
      return handle, gpg_stderr