NAME

matrixtool server-key - Fetch a server's signing key

SYNOPSIS

$ matrixtool server-key my-server.org

DESCRIPTION

This command fetches the keys from a Matrix homeserver. This helps you test whether the server is basically configured correctly, responding to basic federation key requests.

OPTIONS

The following additional options are recognised

--v1, -1

Restrict to the v1 key API

--v2, -2

Restrict to the v2 key API

--no-store, -n

Don't cache the received key in the key store

EXAMPLES

For example, fetching the keys from a server:

$ matrixtool server-key matrix.org
[INFO] Connected to 83.166.64.33:8448
Keys from matrix.org

Key id ed25519:auto
  base64::aBcDeFgHiJ...
[INFO] Matches cached key

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>