44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
|
|
# A relay that serves events with their signatures stripped, which is what makes the client buffer
|
||
|
|
# them and ask whether the space is trusted. Everything else matches space.toml.
|
||
|
|
#
|
||
|
|
# `host` must equal the Host header the harness sends, which is the hostname of the url the client
|
||
|
|
# is given; anything else gets a 404 from the dispatcher instead of a relay. Keep it in step with
|
||
|
|
# `tenants` in harness/zooid/config.ts, and see harness/zooid/transport.ts for why it is a name
|
||
|
|
# that resolves nowhere.
|
||
|
|
host = "unsigned.test"
|
||
|
|
schema = "e2e_unsigned"
|
||
|
|
secret = "5169ed0000000000000000000000000000000000000000000000000000000007"
|
||
|
|
|
||
|
|
[info]
|
||
|
|
# Served to the client as nip-11. `name` is what a spec sees as the space's name, so it matches the
|
||
|
|
# name scenarios pass to `relay()`. `pubkey` is the owner, and here it is the relay's own key (the
|
||
|
|
# pubkey for `secret`) so that [roles.admin] below is the only thing granting a test identity
|
||
|
|
# can_manage.
|
||
|
|
name = "unsigned"
|
||
|
|
pubkey = "a3708596a61d275e9c825c09e616ff075eca5d276053dcb5e720f8863b1d84a9"
|
||
|
|
description = "Throwaway relay for Flotilla's end-to-end suite."
|
||
|
|
|
||
|
|
[policy]
|
||
|
|
public_read = false
|
||
|
|
public_write = false
|
||
|
|
public_join = true
|
||
|
|
strip_signatures = true
|
||
|
|
|
||
|
|
[groups]
|
||
|
|
enabled = true
|
||
|
|
|
||
|
|
[management]
|
||
|
|
enabled = true
|
||
|
|
|
||
|
|
# Blossom and push are off, and [livekit] is omitted entirely, because each of them would have
|
||
|
|
# the relay or the client talk to a service the test did not create.
|
||
|
|
[blossom]
|
||
|
|
enabled = false
|
||
|
|
|
||
|
|
[push]
|
||
|
|
enabled = false
|
||
|
|
|
||
|
|
[roles.admin]
|
||
|
|
pubkeys = ["6ada7b6eabb3a8349f88667d278a275c704b553a7c57f9d8156555986884a08e"]
|
||
|
|
can_manage = true
|