summary refs log tree commit diff
path: root/synapse/crypto/event_signing.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* run isortAmber Brown2018-07-091-5/+5
|
* Fix 500 when joining matrix-devRichard van der Hoff2017-11-291-3/+10
| | | | | | | matrix-dev has an event (`$/6ANj/9QWQyd71N6DpRQPf+SDUu11+HVMeKSpMzBCwM:zemos.net`) which has no `hashes` member. Check for missing `hashes` element in events.
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-4/+5
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-1/+2
|
* More bug fixesErik Johnston2014-12-081-1/+1
|
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-1/+1
|
* WIP for new way of managing events.Erik Johnston2014-12-031-18/+21
|
* Use module loggers rather than the root logger. Exceptions caused by bad ↵Mark Haines2014-11-201-1/+1
| | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str'
* Merge PDUs and Events into one objectMark Haines2014-11-141-12/+3
|
* Fix PDU and event signaturesMark Haines2014-11-141-1/+10
|
* Validate signatures on incoming eventsMark Haines2014-11-141-4/+14
|
* Tidy up some of the unused sql tablesErik Johnston2014-11-101-2/+0
|
* Finish redaction algorithm.Erik Johnston2014-11-101-5/+2
|
* Add hash of current state to eventsErik Johnston2014-11-071-1/+10
|
* Fix bugs in generating event signatures and hashingErik Johnston2014-11-031-62/+38
|
* Don't assume event has hashes key alreadyErik Johnston2014-11-031-0/+2
|
* Sign evnetsErik Johnston2014-10-311-0/+20
|
* Make prev_event signing work again.Erik Johnston2014-10-311-1/+12
|
* fix pyflakes warningsMark Haines2014-10-271-4/+4
|
* Remove signatures from pdu when computing hashes to use for prev pdus, make ↵Mark Haines2014-10-171-1/+5
| | | | sure is_state is a boolean.
* Rename 'meta' to 'unsigned'Mark Haines2014-10-171-1/+3
|
* Hash the same content covered by the signature when referencing previous ↵Mark Haines2014-10-171-5/+14
| | | | PDUs rather than reusing the PDU content hashes
* Sign outgoing PDUs.Mark Haines2014-10-161-2/+2
|
* persist hashes and origin signatures for PDUsMark Haines2014-10-151-0/+70