code: def add_signing_key_to_project(
      self, context: AuthedServiceContext, project: Project
  ) -> Union[Project, SyftError]:
      # Automatically infuse signing key of user
      # requesting get_all() or creating the project object
  
      user_service = context.node.get_service("userservice")
      user = user_service.stash.get_by_verify_key(
          credentials=context.credentials,
          verify_key=context.credentials,
      )
      if user.is_err():
          return SyftError(message=str(user.err()))
  
      user = user.ok()
      if not user:
          return SyftError(
              message="User not found! Kindly register user first"
          )
  
      project.user_signing_key = user.signing_key
  
      return project
  
imports: from typing import List
  from typing import Union
  from ...serde.serializable import serializable
  from ...store.document_store import DocumentStore
  from ...store.linked_obj import LinkedObject
  from ...types.uid import UID
  from ...util.telemetry import instrument
  from ..context import AuthedServiceContext
  from ..notification.notification_service import NotificationService
  from ..notification.notifications import CreateNotification
  from ..response import SyftError
  from ..response import SyftNotReady
  from ..response import SyftSuccess
  from ..service import AbstractService
  from ..service import SERVICE_TO_TYPES
  from ..service import TYPE_TO_SERVICE
  from ..service import service_method
  from ..user.user_roles import GUEST_ROLE_LEVEL
  from ..user.user_roles import ONLY_DATA_SCIENTIST_ROLE_LEVEL
  from ..user.user_roles import ServiceRole
  from .project import Project
  from .project import ProjectEvent
  from .project import ProjectRequest
  from .project import ProjectSubmit
  from .project import create_project_hash
  from .project_stash import ProjectStash
label_desc: Use image node_id 10 for calling the ProjectService obj's underlying member method code with example usage: obj.add_signing_key_to_project(context, project) and returns: project, SyftError, SyftError