Closed volovyks closed 1 year ago
@volovyks have you checked this? https://developers.ledger.com/docs/embedded-app/maintenance/
@kaifeur filled the form
I opened the original PR on Aug 21 2022 and the feature is still not on my Ledger yet :) @jibeee, @sgliner-ledger or @xchapron-ledger could you help with this one?
I opened the original PR on Aug 21 2022 and the feature is still not on my Ledger yet :) @jibeee, @sgliner-ledger or @xchapron-ledger could you help with this one?
Sorry for the late reply. We will have a look into this soon will working on some adaptation for Stax device.
@xchapron-ledger, do you have any updates on this? It's a highly anticipated change within the NEAR ecosystem.
@volovyks @PierreLeGuen, did you test this code ? it seems that it's not working... It seems that the issue is here :
static int check_overflow(unsigned int processed, unsigned int size) {
PRINTF("check_overflow %d %d %d\n", processed, size, tmp_ctx.signing_context.buffer_used);
if (size > tmp_ctx.signing_context.buffer_used || processed + size > tmp_ctx.signing_context.buffer_used) {
return SIGN_PARSING_ERROR;
}
return 0;
}
Always return SIGN_PARSING_ERROR
Any feedback on this? How should we proceed?