Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Suppress the trusted key server warning for matrix.org in the demo sc…
Browse files Browse the repository at this point in the history
…ripts (#15527)
  • Loading branch information
anoadragon453 authored May 3, 2023
1 parent a7b3e9c commit 9890f23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelog.d/15527.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't use a trusted key server when running the demo scripts.
10 changes: 3 additions & 7 deletions demo/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ for port in 8080 8081 8082; do
echo ''

# Warning, this heredoc depends on the interaction of tabs and spaces.
# Please don't accidentaly bork me with your fancy settings.
# Please don't accidentally bork me with your fancy settings.
listeners=$(cat <<-PORTLISTENERS
# Configure server to listen on both $https_port and $port
# This overides some of the default settings above
Expand Down Expand Up @@ -80,12 +80,8 @@ for port in 8080 8081 8082; do
echo "tls_certificate_path: \"$DIR/$port/localhost:$port.tls.crt\""
echo "tls_private_key_path: \"$DIR/$port/localhost:$port.tls.key\""

# Ignore keys from the trusted keys server
echo '# Ignore keys from the trusted keys server'
echo 'trusted_key_servers:'
echo ' - server_name: "matrix.org"'
echo ' accept_keys_insecurely: true'
echo ''
# Request keys directly from servers contacted over federation
echo 'trusted_key_servers: []'

# Allow the servers to communicate over localhost.
allow_list=$(cat <<-ALLOW_LIST
Expand Down

0 comments on commit 9890f23

Please sign in to comment.