Commit Graph

116 Commits (45f45404de2d0c4d68954eddc2dc905e50dfafe9)

Author SHA1 Message Date
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Hubert Chathi b47d10dc46
Support unprefixed versions of fallback key property names. (#11541) 3 years ago
Hubert Chathi 8541809cb9
Send and handle cross-signing messages using the stable prefix. (#10520) 3 years ago
Erik Johnston af784644c3
Include cross-signing signatures when syncing remote devices for the first time (#11234) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
Patrick Cloke 01c88a09cd
Use direct references for some configuration variables (#10798) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Patrick Cloke 11846dff8c
Limit the number of in-flight /keys/query requests from a single device. (#10144) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 44bb881096
Add type hints to expiring cache. (#9730) 4 years ago
Jonathan de Jong e2b8a90897
Update mypy configuration: `no_implicit_optional = True` (#9742) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke a78016dadf
Add type hints to E2E handler. (#9232) 4 years ago
Jonas Jelten 2e380f0f18
e2e: ensure we have both master and self-signing key (#8455) 4 years ago
Hubert Chathi 3cd78bbe9e
Add support for MSC2732: olm fallback keys (#8312) 4 years ago
Patrick Cloke aec294ee0d
Use slots in attrs classes where possible (#8296) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Richard van der Hoff 45e8f7726f
Rename `get_e2e_device_keys` to better reflect its purpose (#8205) 4 years ago
Patrick Cloke eebf52be06
Be stricter about JSON that is accepted by Synapse (#8106) 4 years ago
Patrick Cloke e739b20588
Fix up types and comments that refer to Deferreds. (#7945) 4 years ago
Patrick Cloke b11450dedc
Convert E2E key and room key handlers to async/await. (#7851) 4 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Brendan Abolivier 33c39ab93c
Process cross-signing keys when resyncing device lists (#7594) 5 years ago
Andrew Morgan f89ad3b6df
Query missing cross-signing keys on local sig upload (#7289) 5 years ago
Richard van der Hoff d41c8f6d4d Revert "Query missing cross-signing keys on local sig upload" 5 years ago
Andrew Morgan 72fe2affb6 Query missing cross-signing keys on local sig upload 5 years ago
Andrew Morgan ac6a84818f Only register devices edu handler on the master process (#7255) 5 years ago
Andrew Morgan fef82f4e22
Only register devices edu handler on the master process (#7255) 5 years ago
Erik Johnston 2cad8baa70
Fix bug when querying remote user keys that require a resync. (#6796) 5 years ago
Hubert Chathi cb2db17994
look up cross-signing keys from the DB in bulk (#6486) 5 years ago
Neil Johnson adfdd82b21
Back out perf regression from get_cross_signing_keys_from_cache. (#6494) 5 years ago
Erik Johnston c16e192e2f Fix caching devices for remote servers in worker. 5 years ago
Amber Brown 020add5099
Update black to 19.10b0 (#6304) 5 years ago
Hubert Chathi bc32f102cd black 5 years ago
Hubert Chathi d78b1e339d apply changes as a result of PR review 5 years ago
Hubert Chathi ff05c9b760 don't error if federation query doesn't have cross-signing keys 5 years ago
Hubert Chathi 480eac30eb black 5 years ago
Hubert Chathi 404e8c8532 vendor-prefix the EDU name until MSC1756 is merged into the spec 5 years ago
Hubert Chathi 1fabf82d50 update to work with newer code, and fix formatting 5 years ago
Hubert Chathi 41ad35b523 add missing param 5 years ago
Hubert Chathi cfdb84422d make black happy 5 years ago
Hubert Chathi 8d3542a64e implement federation parts of cross-signing 5 years ago
Hubert Chathi 125eb45e19 fix doc strings 5 years ago
Hubert Chathi 7a0dce9259 make sure we actually return something 5 years ago
Hubert Chathi 4908fb3b30 make storage layer in charge of interpreting the device key data 5 years ago
Hubert Chathi c3635c9459 make isort happy 5 years ago
Hubert Chathi f4b6d43ec3 add some comments 5 years ago
Hubert Chathi 39864f45ec drop some logger lines to debug 5 years ago
Hubert Chathi 26113fb7de make changes based on PR feedback 5 years ago