-
Notifications
You must be signed in to change notification settings - Fork 122
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/746 - Updates for Ledger HW (shielded keys) #1471
Merged
jurevans
merged 7 commits into
feat/ledger-masp-integration-branch
from
feat/746-ledger-shielded-keys
Jan 21, 2025
Merged
feat/746 - Updates for Ledger HW (shielded keys) #1471
jurevans
merged 7 commits into
feat/ledger-masp-integration-branch
from
feat/746-ledger-shielded-keys
Jan 21, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6430110
to
94667e1
Compare
6f8d9b0
to
05608ba
Compare
jurevans
commented
Jan 9, 2025
@@ -20,7 +20,7 @@ type Props = { | |||
status?: CompletionStatus; | |||
statusInfo: string; | |||
parentAccountStore?: AccountStore; | |||
shieldedAccount?: DerivedAccount; | |||
paymentAddress?: string; |
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.
was just simplifying here - we do not need to track the whole shielded account, only the payment address to display in confirmation
9f74c59
to
14cd8e6
Compare
14cd8e6
to
3ea76fe
Compare
mateuszjasiuk
approved these changes
Jan 21, 2025
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.
Tested and LGTM!
3ea76fe
to
c0308b4
Compare
278292b
into
feat/ledger-masp-integration-branch
7 checks passed
mateuszjasiuk
pushed a commit
that referenced
this pull request
Jan 27, 2025
* feat: bump to latest Ledger package * feat: begin hooking up shielded keys import * feat: split proof-gen and viewing key calls, fix paths * fix: fix tests * feat: stealing Mateusz code, show payment address in confirmation * feat: validate semver of installed app for Zip32 * feat: begin implementing import approval steps
mateuszjasiuk
pushed a commit
that referenced
this pull request
Feb 10, 2025
* feat: bump to latest Ledger package * feat: begin hooking up shielded keys import * feat: split proof-gen and viewing key calls, fix paths * fix: fix tests * feat: stealing Mateusz code, show payment address in confirmation * feat: validate semver of installed app for Zip32 * feat: begin implementing import approval steps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #746
Also this implements a stepped process, so users can know what's happening on the ledger (now that there's 3 approvals instead of 1):
See #1458 from @mateuszjasiuk - We'll also need these changes.
@zondax/ledger-namada
package (currently at2.0.0
)getViewingKey
andgetProofGenerationKey
(split upgetShieldedKeys
so that we may turn these into steps, as they are separate approvals)xfvk
)zvknam1
)xfvk
,ak
andnsk
TESTING
yarn
on this branch to get updated packagesv2.0.2
of Ledger app (via https://hub.zondax.ch/namada for now) NOTE This will require that you are on the latest firmware, so update if needed!DESIGNS
Approval steps
![image](https://private-user-images.githubusercontent.com/330911/401150433-4398d744-7c14-4525-a0c3-288b7339c646.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzA0NTAsIm5iZiI6MTczOTMzMDE1MCwicGF0aCI6Ii8zMzA5MTEvNDAxMTUwNDMzLTQzOThkNzQ0LTdjMTQtNDUyNS1hMGMzLTI4OGI3MzM5YzY0Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEy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xMDIxMWQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.7Zm-zI8bYHaeI3rJIt4K84qVhcRGkzt5o2tE6GTWGLE)
2.0.0
is the correct min-version, I just did this as a test since I am already upgraded to the latest Ledger app):