code: async def get_password_tty(device, options):
      
      # TODO: make this a TRUE async
      text = _('Enter password for {0.device_presentation}: ', device)
      try:
          return getpass.getpass(text)
      except EOFError:
          print("")
          return None
docs: Get the password to unlock a device from terminal.