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

Feat/sig format #6

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Feat/sig format #6

merged 4 commits into from
Jan 26, 2024

Conversation

chcmedeiros
Copy link
Collaborator

  • add fuzzer fixes
  • signature in rsv format, similar to the object returned by the signEthTransaction
  • rename ETH methods to EVM

app/src/crypto.c Outdated Show resolved Hide resolved
@chcmedeiros chcmedeiros force-pushed the feat/sig-format branch 2 times, most recently from f797767 to 8573537 Compare January 26, 2024 17:31
@@ -107,9 +109,13 @@ export default class FlareApp extends GenericApp {
}

if (returnCode === LedgerError.NoErrors && response.length > 2) {
signature = response.slice(0, response.length - 2);
r = response.subarray(0, 32);
Copy link

Choose a reason for hiding this comment

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

check that response is >= 65

@chcmedeiros chcmedeiros merged commit 732871b into main Jan 26, 2024
41 of 43 checks passed
@chcmedeiros chcmedeiros deleted the feat/sig-format branch January 26, 2024 17:53
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

Successfully merging this pull request may close these issues.

2 participants