Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include domain tag when signing transactions #61

Closed
2 tasks
psiemens opened this issue Jun 18, 2020 · 2 comments · Fixed by #184
Closed
2 tasks

Include domain tag when signing transactions #61

psiemens opened this issue Jun 18, 2020 · 2 comments · Fixed by #184

Comments

@psiemens
Copy link
Contributor

When signing a transaction, the message being signed should be prefixed with the transaction domain tag (TBD).

The tag should be prepended to the byte slice returned by the PayloadMessage() and EnvelopeMessage() functions on flow.Transaction.

Definition of Done

  • PayloadMessage produces a message that is prefixed with the transaction domain tag
  • EnvelopeMessage produces a message that is prefixed with the transaction domain tag

cc @tarakby

@janezpodhostnik
Copy link
Contributor

janezpodhostnik commented Mar 3, 2021

Is this something every SDK will need? I assume so. Where can I read more about this? is this connected to a flow-go change? @psiemens

@sudojbird
Copy link

@psiemens is this planned for Sprint 34?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants