Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove direct refeferences to PyNaCl (use signedjson instead). (#12902) | Jacek Kuśnierz | 2022-06-01 | 1 | -12/+5 |
| | |||||
* | Fix typechecker problems exposed by signedjson 1.1.2 (#12326) | David Robertson | 2022-03-29 | 1 | -3/+3 |
| | |||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -4/+4 |
| | |||||
* | Deal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714) | David Robertson | 2022-01-10 | 1 | -1/+7 |
| | | | | | | | | | | | | * Deal with mypy errors w/ type-hinted pynacl 1.5.0 Fixes #11644. I really don't like that we're monkey patching pynacl SignedKey instances with alg and version objects. But I'm too scared to make the changes necessary right now. (Ideally I would replace `signedjson.types.SingingKey` with a runtime class which wraps or inherits from `nacl.signing.SigningKey`.) C.f. https://github.com/matrix-org/python-signedjson/issues/16 | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Add a `make_event_from_dict` method (#6858) | Richard van der Hoff | 2020-02-07 | 1 | -3/+3 |
| | | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors. | ||||
* | Pass room_version into add_hashes_and_signatures | Richard van der Hoff | 2020-01-30 | 1 | -2/+7 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -23/+23 |
| | |||||
* | Make add_hashes_and_signatures operate on dicts | Erik Johnston | 2019-01-29 | 1 | -30/+26 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -13/+6 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -6/+4 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Invoke EventBuilder directly instead of going via the EventBuilderFactory | Paul "LeoNerd" Evans | 2015-10-19 | 1 | -35/+3 |
| | |||||
* | Use assertIn() instead of assertTrue on the 'in' operator | Paul "LeoNerd" Evans | 2015-10-19 | 1 | -6/+6 |
| | |||||
* | Another signing test vector using an 'm.room.message' with content, so that ↵ | Paul "LeoNerd" Evans | 2015-10-19 | 1 | -1/+49 |
| | | | | the implementation will have to redact it | ||||
* | Initial minimial hack at a test of event hashing and signing | Paul "LeoNerd" Evans | 2015-10-19 | 1 | -0/+98 |