Skip to content

v0.3.7

Latest

Choose a tag to compare

@panyam panyam released this 09 Nov 08:00

Go apps can mint relay tokens with massrelay's own signer.

Added

  • middleware.RelaySigner (issue 78). A Go app mints relay tokens with
    Mint(subject, rooms), which writes the claims RelayAuthenticator reads,
    and gets the matching authenticator from Authenticator or the key store
    from KeyStore. It signs HS256, with a key generated per process unless
    one is passed. Nothing changes on the wire.