Alain St-Denis
41785c2fdc
Refactor jsonld context management. Move LD signing to entities/activitypub. Move jsonld document_loader caching to __init__.py. Fix tests.
2023-03-24 18:34:15 -04:00
Alain St-Denis
913bc300df
Catch TypeError for import_key.
2023-03-14 20:39:31 -04:00
Alain St-Denis
0d42bb7018
Implement LD signatures for outbound payloads.
2023-03-14 20:20:44 -04:00
Alain St-Denis
f787c2f998
Truncate zeros for XSD_DOUBLE values.
2023-03-14 16:03:57 -04:00
Alain St-Denis
3e0259a35e
Turn float values with a zero fraction to integers.
2023-03-14 12:47:39 -04:00
Alain St-Denis
d27f38dee5
Return if a profile can't be retrieved.
2023-03-13 07:46:38 -04:00
Alain St-Denis
012db475e1
Implement LD signature verification.
2023-03-12 17:15:47 -04:00
Alain St-Denis
49b29f6ab4
Initial commit
2023-03-12 10:11:37 -04:00
Alain St-Denis
52c96532dc
Update http signatures processing
2023-01-21 15:35:48 +00:00
Alain St-Denis
58c8f95e54
Add audio and video media objects and much more.
2022-08-19 17:01:44 +00:00
Jason Robinson
e0d818f724
Allow HTTP Signature verification to pass if signature is 24 hours old
...
Previously requirement was 30 seconds, which caused loss of messages
where signature validation didn't happen immediately, but in
a background worker which didn't immediately process the job.
Refs: https://git.feneas.org/socialhome/socialhome/issues/563
2019-11-27 23:21:31 +02:00
Jason Robinson
d8a067a691
Fix erronous typing of UserType.private_key
...
Code expects an RSA object, typing was shown as str.
2019-03-17 03:13:47 +02:00
Jason Robinson
fddb22facc
Ensure public key passed to requests-http-signatures is bytes
2019-03-16 03:35:39 +02:00
Jason Robinson
2fb2da6955
Work on ActivityPub HTTP signatures and payload delivery
...
Also removes some legacy cruft for the failed Diaspora URI's as ID's experiment.
Refs: #7
2019-03-06 22:42:33 +02:00