NAME
App::MatrixTool::KeyStore
- storage of remote server signing keys
DESCRIPTION
Provides a simple flat-file database that stores remote server signing keys, indexed by server name and key ID. This database persists on a human-readable text file, by default in the user's home directory under $ENV{HOME}/.matrix/server-keys.
METHODS
get_keys
%keys = $keystore->get_keys( server_name => $name )
Returns a kvlist associating key IDs to byte strings containing the given remote server's signing keys.
put_key
$keystore->put_key( server_name => $name, key_id => $id, public_key => $bytes )
Stores a byte string representing the given server's key.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>