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

NamadaApp::sign_masp_spends sometimes returns Ledger | App Error: | 28417 apdu sign verify error #76

Closed
murisi opened this issue Sep 30, 2024 · 1 comment

Comments

@murisi
Copy link
Contributor

murisi commented Sep 30, 2024

The call NamadaApp::sign_masp_spends returns Ledger | App Error: | 28417 apdu sign verify error for some transaction blobs. When this error occurs, it's always after the transaction has been displayed on the hardware wallet and "approve" has been pressed. See attached some test vectors showing some examples of successfully signed transactions and an example of a failing transaction.

Looking at the test vectors, it seems that the convert_indices field in the Tx metadata is a predictor of whether signing will be successful. If this vector is empty or contains exactly one element, signing seems to always be successful. If the vector has 2 elements and the first is 0, signing also seems to always be successful. Otherwise signing is most likely to fail. This suggests to me that there may be an issue in the fetching of convert descriptions (in Transactions) that correspond to convert description information objects (in the metadata).

sign_convert_failure.txt

@ainhoa-a
Copy link
Member

ainhoa-a commented Oct 4, 2024

Can be closed once #69 gets merged

@chcmedeiros chcmedeiros mentioned this issue Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants