This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Suppress the trusted key server warning for matrix.org in the demo scripts #15527
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
af6f91e
Suppress the trusted key server warning for matrix.org in the demo sc…
anoadragon453 81d4b20
changelog
anoadragon453 4a1a0ad
Clarify our trusted_key_servers config
anoadragon453 c8d0f97
Request keys directly from federated servers instead
anoadragon453 41b67a1
Update the changelog to reflect the PR's new behaviour
anoadragon453 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Suppress the trusted key server warning when running the demo scripts. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -81,10 +81,13 @@ for port in 8080 8081 8082; do | |
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 '# Ignore keys from the trusted keys server.' | ||
echo '# Specifically, we do this by omitting the "verify_keys" option' | ||
echo '# and enabling "accept_keys_insecurely"' | ||
echo 'trusted_key_servers:' | ||
echo ' - server_name: "matrix.org"' | ||
echo ' accept_keys_insecurely: true' | ||
echo 'suppress_key_server_warning: true' | ||
|
||
echo '' | ||
|
||
# Allow the servers to communicate over localhost. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.