docs: def GetLocalU2FInterface(origin=socket.gethostname()):
    """Obtains a U2FInterface for the first valid local U2FHID device found."""
    hid_transports = hidtransport.DiscoverLocalHIDU2FDevices()
    for t in hid_transports:
      try:
        return U2FInterface(security_key=hardware.SecurityKey(transport=t),
                            origin=origin)
      except errors.UnsupportedVersionException:
        # Skip over devices that don't speak the proper version of the protocol.
        pass
  
    # Unable to find a device
    raise errors.NoDeviceFoundError()