summary refs log tree commit diff
path: root/tests/crypto (follow)
Commit message (Expand)AuthorAgeFilesLines
* Improve robustness when handling a perspective key response by deduplicating ...reivilibre2023-04-131-2/+2
* Add final type hint to tests.unittest. (#15072)Patrick Cloke2023-02-141-11/+11
* Add missing type hints to tests. (#14687)Patrick Cloke2022-12-282-54/+74
* Stop using deprecated `keyIds` param on /key/v2/server (#14525)Richard van der Hoff2022-11-301-13/+1
* Fix /key/v2/server calls with URL-unsafe key IDs (#14490)David Robertson2022-11-181-0/+12
* Remove direct refeferences to PyNaCl (use signedjson instead). (#12902)Jacek KuĊ›nierz2022-06-012-13/+6
* Fix typechecker problems exposed by signedjson 1.1.2 (#12326)David Robertson2022-03-291-3/+3
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-282-7/+7
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-5/+5
* Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714)David Robertson2022-01-101-1/+7
* Fix perspectives requests for multiple keys for the same server (#11440)Richard van der Hoff2021-11-291-0/+71
* Fix verification of objects signed with old local keys (#11379)Richard van der Hoff2021-11-191-3/+53
* Fetch verify key locally rather than trying to do so over federation if origi...Shay2021-10-281-0/+12
* Rewrite the KeyRing (#10035)Erik Johnston2021-06-021-84/+86
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-143-3/+0
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
* Record more information into structured logs. (#9654)Patrick Cloke2021-04-081-12/+11
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+7
* Add type hints to the crypto module. (#8999)Patrick Cloke2021-01-041-5/+5
* Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-021-2/+4
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-4/+2
* Create a mechanism for marking tests "logcontext clean" (#8399)Richard van der Hoff2020-09-281-0/+3
* Fix occasional "Re-starting finished log context" from keyring (#8398)Richard van der Hoff2020-09-251-64/+56
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-2/+2
* Convert the crypto module to async/await. (#8003)Patrick Cloke2020-08-031-23/+16
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-7/+4
* Fix some spelling mistakes / typos. (#7811)Patrick Cloke2020-07-091-1/+1
* Clean up some LoggingContext stuff (#7120)Richard van der Hoff2020-03-241-4/+3
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-3/+3
* Pass room_version into add_hashes_and_signaturesRichard van der Hoff2020-01-301-2/+7
* Fix exception when fetching notary server's old keys (#6625)Richard van der Hoff2020-01-061-44/+95
* Review commentsErik Johnston2019-10-301-2/+2
* Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
* Refactor Keyring._start_key_lookupsRichard van der Hoff2019-07-191-29/+0
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-5/+8
* Run Black. (#5482)Amber Brown2019-06-201-23/+23
* Fix key verification when key stored with null valid_until_msErik Johnston2019-06-101-1/+49
* Stop hardcoding trust of old matrix.org key (#5374)Richard van der Hoff2019-06-061-15/+28
* Associate a request_name with each verify request, for loggingRichard van der Hoff2019-06-051-10/+8
* Don't bomb out on direct key fetches as soon as one failsRichard van der Hoff2019-06-041-7/+5
* Enforce validity period on server_keys for fed requests. (#5321)Richard van der Hoff2019-06-031-27/+108
* Merge pull request #5251 from matrix-org/rav/server_keys/01-check_sigRichard van der Hoff2019-05-281-9/+75
|\
| * Require sig from origin server on perspectives responsesRichard van der Hoff2019-05-231-9/+75
* | Simplification to Keyring.wait_for_previous_lookups. (#5250)Richard van der Hoff2019-05-241-2/+2
|/
* Factor out KeyFetchers from KeyRingRichard van der Hoff2019-05-231-6/+28
* Store key validity time in the storage layerRichard van der Hoff2019-05-231-8/+14
* Rewrite store_server_verify_key to store several keys at once (#5234)Richard van der Hoff2019-05-231-2/+12
* Run Black on the tests again (#5170)Amber Brown2019-05-101-1/+2
* Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-1/+1
* Fix from_server buglet in get_keys_from_perspectivesRichard van der Hoff2019-04-081-0/+1
* test for get_keys_from_perspectivesRichard van der Hoff2019-04-041-0/+67
* add a test for get_keys_from_serverRichard van der Hoff2019-04-041-0/+63
* Rewrite KeyringTestCase as a HomeServerTestCase (#4986)Richard van der Hoff2019-04-031-107/+104
* Make add_hashes_and_signatures operate on dictsErik Johnston2019-01-291-30/+26
* Check logcontexts before and after each test (#4190)Richard van der Hoff2018-11-271-6/+12
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-4/+2
* fix up a forced long lineAmber Brown2018-08-111-1/+2
* Run black.black2018-08-102-43/+22
* run isortAmber Brown2018-07-092-9/+11
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-4/+5
* Make tests py3 compatibleAdrian Tschira2018-04-161-1/+1
* Create dbpool as normal in testsRichard van der Hoff2018-01-271-2/+2
* Optimise LoggingContext creation and copyingRichard van der Hoff2018-01-161-7/+7
* Add some more tests for KeyringRichard van der Hoff2017-09-201-37/+140
* Fix concurrent server_key requests (#2458)Richard van der Hoff2017-09-191-3/+55
* Clean up and document handling of logcontexts in Keyring (#2452)Richard van der Hoff2017-09-181-0/+74
* Fix flake8 warnings for testsMark Haines2016-02-191-1/+0
* copyrightsMatthew Hodgson2016-01-072-2/+2
* Invoke EventBuilder directly instead of going via the EventBuilderFactoryPaul "LeoNerd" Evans2015-10-191-35/+3
* Capture __init__.pyPaul "LeoNerd" Evans2015-10-191-0/+15
* Use assertIn() instead of assertTrue on the 'in' operatorPaul "LeoNerd" Evans2015-10-191-6/+6
* Another signing test vector using an 'm.room.message' with content, so that t...Paul "LeoNerd" Evans2015-10-191-1/+49
* Initial minimial hack at a test of event hashing and signingPaul "LeoNerd" Evans2015-10-191-0/+98