Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactor event signing to work on dicts #4493

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

erikjohnston
Copy link
Member

This is in preparation for making EventBuilder format agnostic, which
means event signing should be done against the event dict rather than
the EventBuilder object.

This is in preparation for making EventBuilder format agnostic, which
means event signing should be done against the event dict rather than
the EventBuilder object.
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@erikjohnston erikjohnston merged commit 17709f8 into develop Jan 29, 2019
erikjohnston added a commit that referenced this pull request Jan 29, 2019
We currently pass FrozenEvent instead of `dict` to
`compute_event_signature`, which works by accident due to `dict(event)`
producing the correct result.

This fixes PR #4493 commit 855a151
@erikjohnston erikjohnston deleted the erikj/refactor_event_signing branch March 5, 2019 13:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants