-
Notifications
You must be signed in to change notification settings - Fork 18
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
Added signer authorization generation option that uses standard Ethereum app #65
Added signer authorization generation option that uses standard Ethereum app #65
Conversation
italo-sampaio
commented
Jul 1, 2022
- Added new "eth" option to signap.py
- Added DongleEth class to handle communication with the Ethereum app
- Added unit tests for DongleEth class
- Added unit tests for the new signapp.py "eth" operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, I think we should make some minor tweaks and then we should be good to go.
…app to generate signer authorization - Added new "eth" option to signap - Added DongleEth class to handle communication with the Ethereum app - Added unit tests for DongleEth class - Added unit tests for the new signapp "eth" operation
…ptions of signapp.py
- Added new option to to_binary() method that allows encoding to little-endian or big-endian - Using existing classes to parse the eth path on dongle_eth
14edda1
to
ae0b400
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
A validation and additional minor comment I think we could address for readability purposes, but nothing major. Great stuff!
- Added meaningful error messages to dongle_eth.py - Added new -b/--pubkey flag to signapp.py to retrieve public key from eth app - Added new unit tests for specific exceptions from songle_eth.py - Some names changed for clarity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!