diff --git a/vona/globals/__init__.py b/vona/globals/__init__.py index 112c1ad..622521c 100644 --- a/vona/globals/__init__.py +++ b/vona/globals/__init__.py @@ -111,7 +111,9 @@ def event_hash(event_object): event_json_bytes = canonical_json(event_object) - return base64.b64encode(hashlib.sha256(event_json_bytes).digest()).decode("utf-8") + return base64.b64encode( + hashlib.sha256(event_json_bytes).digest() + ).decode("utf-8").rstrip("=") def pubkey() -> str: