Commit graph

9 commits

Author SHA1 Message Date
Adam Kelly
5cfc9aa8de Fetch updated key if old key is invalid. 2020-05-22 13:49:56 +01:00
Adam Kelly
17734940ac Use get_or_create_remote_user from get_public_key. 2020-05-21 16:51:01 +01:00
Adam Kelly
b1516f18be Check that the date in the signature isn't too old. 2020-05-20 15:29:51 +01:00
Adam Kelly
58630a053f Add digests for outgoing messages, and testing. 2020-05-19 21:33:47 +01:00
Adam Kelly
b212456d0d Move signature code into fedireads.signatures. 2020-05-15 11:18:41 +01:00
Mouse Reeve
3e02123a0d Updates for broadcast changes 2020-05-13 18:23:54 -07:00
Adam Kelly
4974fe4e5b Add tests for remote actors (fetch keys via http.) 2020-05-13 12:39:55 +01:00
Adam Kelly
2db4da4061 Check all signatures are signed by the right actor. 2020-05-13 12:36:06 +01:00
Adam Kelly
10efe4d1b4 Add test for use of the wrong signature. 2020-05-13 12:36:06 +01:00