Skip to content

miniproto.auth.key_exchange.ResPQ

ResPQ(nonce: int, server_nonce: int, pq: bytes, server_public_key_fingerprints: tuple[int, ...]) -> None

Decoded resPQ response received at the start of key exchange.

Parameters:

  • nonce (int) – Client nonce echoed by Telegram.
  • server_nonce (int) – Server’s random 128-bit nonce.
  • pq (bytes) – Big-endian composite factorization challenge.
  • server_public_key_fingerprints (tuple[int, …]) – RSA key fingerprints offered by the server.