matrixtool server-key - Fetch a server's signing key
$ matrixtool server-key my-server.org
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.
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
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
Paul Evans <leonerd@leonerd.org.uk>
To install App::MatrixTool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MatrixTool
CPAN shell
perl -MCPAN -e shell install App::MatrixTool
For more information on module installation, please visit the detailed CPAN module installation guide.