Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for signatures and auth on /send_join etc #734

Merged
merged 3 commits into from
Oct 30, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 28, 2019

Make sure that incoming /send_join and /send_leave check origins and signatures on the incoming event; also make sure that outgoing /invite does some sanity checking on the response.

Tests for matrix-org/synapse#6262.

This should help avoid the idiocy where logging the body of a federation
request turns the numbers into strings (which then screws up their later use in
other JSON-encoded things).
Make sure that incoming /send_join and /send_leave check origins and signatures
on the incoming event; also make sure that outgoing /invite does some sanity
checking on the response.
@richvdh richvdh requested a review from a team October 28, 2019 11:57
@richvdh richvdh merged commit 5c7ea15 into develop Oct 30, 2019
@richvdh richvdh deleted the rav/send_join_sigs branch October 30, 2019 10:49
anoadragon453 added a commit that referenced this pull request Mar 18, 2020
…ase-v1.6.x

* origin/release-v1.6.1: (32 commits)
  Move scripts which aren't in docker out of `docker` (#752)
  README.md: don't forget to update dendrite:latest
  fix another results.tap
  Fix path to results.tap for dendrite build
  remove redundant (and failing) tap-to-junit
  Don't modify source volumes when running in docker (#748)
  Fix a flaky cross-signing test (#749)
  Add tests for 3PID registration (#695)
  Update the SyTest Docker files (#744)
  rejected state test (#742)
  Add test for rooms transferring on groups after room upgrade (#737)
  test pushes of rejected events (#738)
  Tests for room tags and push rules after upgrading a remote room (#721)
  Test that a room is depublished from the public rooms list upon room upgrade (#729)
  Review comments
  Tests for signatures and auth on /send_join etc (#734)
  Wrap in retry loop as room dir is updated async
  Tests room dir search
  Wrap numbers in JSON bodies (#733)
  Add frontend proxy worker
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants