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

Metadata Signatures #94

Open
pgebheim opened this issue Jul 12, 2022 · 1 comment
Open

Metadata Signatures #94

pgebheim opened this issue Jul 12, 2022 · 1 comment
Assignees
Labels

Comments

@pgebheim
Copy link

pgebheim commented Jul 12, 2022

@Wolog2021 -- Can you update this issue to include a description?

TLDR; Signed transaction metadata would allow the ledger to validate the metadata without having it all hardcoded on device. This could be extended with FLIP-934 if that gets the relevant support.

Assuming support for FLIP-934 this might be an answer to #33

@relatko
Copy link
Contributor

relatko commented Jul 13, 2022

Each transaction type has metadata associated with it. It consists of

  • script hash
  • transaction name to be displayed on the device
  • argument information (type + string to be displayed on the device)
    As of now, these data are hardcoded in the app. Instead, the app may contain a set of public keys and it will receive the metadata signed with one of these public keys. Then the app may validate the signature (and possibly show the authority that signed the metadata) and use the metadata to process the transaction.

A decision was made to implement Merkle trees solution first. But this is something that we expect to develop this year.

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

No branches or pull requests

3 participants