diff --git a/scitt_emulator/federation_activitypub_bovine.py b/scitt_emulator/federation_activitypub_bovine.py index 5c5044d6..3cebd84b 100644 --- a/scitt_emulator/federation_activitypub_bovine.py +++ b/scitt_emulator/federation_activitypub_bovine.py @@ -231,10 +231,16 @@ async def handle( if data.get("type") != "Create": return - # TODO Send federated claim / receipt to SCITT obj = data.get("object") if not isinstance(obj, dict): return + + # Send federated claim / receipt to SCITT + content = obj.get("content") + + # TODO Entry ID? + receipt = base64.b64decode(content.encode()) + logger.info("Federation received new receipt: %r", receipt) except Exception as ex: logger.error(ex) logger.exception(ex)