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

Stax Support #4

Merged
merged 106 commits into from
Jul 17, 2024
Merged

Stax Support #4

merged 106 commits into from
Jul 17, 2024

Conversation

chris124567
Copy link

@chris124567 chris124567 commented Feb 22, 2024

Checklist

  • App update process has been followed
  • Target branch is develop
  • Application version has been bumped

This PR:

  • Adds Stax support
  • Removes transaction streaming and instead loads transaction data up front in the case of signing a transaction
  • Rewrites things according to the new guidelines

These changes have been reviewed here previously: SiaFoundation#3

@chris124567
Copy link
Author

chris124567 commented Jun 25, 2024

I did the SIA-02 (potential out of bounds write) and SIA-03 (blind signing enabled by default) changes requested in the audit. I made there be an option to enable hash signing which is disabled by default. I also fixed the errors in the APDU documentation, and replaced the tutorial with a link to our newer one which is much more detailed.

README.md Outdated Show resolved Hide resolved
src/getPublicKey.c Outdated Show resolved Hide resolved
src/signHash.c Outdated Show resolved Hide resolved
src/calcTxnHash_nbgl.c Outdated Show resolved Hide resolved
src/calcTxnHash_nbgl.c Outdated Show resolved Hide resolved
Copy link

@tdejoigny-ledger tdejoigny-ledger left a comment

Choose a reason for hiding this comment

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

Last comments (and we should be able to deploy the app):

@chris124567
Copy link
Author

Fixed the linter issue and the icons look much better now!

stax_app_sia_big.gif Outdated Show resolved Hide resolved
@tdejoigny-ledger tdejoigny-ledger merged commit 7b1b096 into LedgerHQ:develop Jul 17, 2024
28 of 31 checks passed
@tdejoigny-ledger
Copy link

@chris124567
I merged too quickly, I didn't realize that the toml file wasn't updated with Stax, so the CI didn't pass, and there are still things to fix.
Please refer to #5

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