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

Bip85 #1066

Merged
merged 3 commits into from
Dec 28, 2023
Merged

Bip85 #1066

merged 3 commits into from
Dec 28, 2023

Conversation

benma
Copy link
Collaborator

@benma benma commented May 18, 2023

No description provided.

@benma benma marked this pull request as ready for review May 18, 2023 03:07
@benma benma force-pushed the bip85-2 branch 8 times, most recently from 0518f0e to ada8c8c Compare May 18, 2023 03:52
@benma
Copy link
Collaborator Author

benma commented May 18, 2023

Note: add the word confirmation step like when showing the main mnemonic.

@benma
Copy link
Collaborator Author

benma commented May 18, 2023

Note: add the word confirmation step like when showing the main mnemonic.

Done

@benma benma mentioned this pull request May 29, 2023
In BIP-85, the user needs to specify the index at which to derive a
secret. This change allows the keyboard input to be used to enter
integers.
@benma benma force-pushed the bip85-2 branch 3 times, most recently from cf7d1db to 7325573 Compare December 27, 2023 13:54
@benma benma requested a review from asi345 December 27, 2023 13:59
Copy link
Collaborator

@asi345 asi345 left a comment

Choose a reason for hiding this comment

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

The implementation conforms with what specified in https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki#bip39. tACK

See
https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki#bip39.

Some of the other "apps" (derived secrets) using BIP-85 are not added
with this commit and may be added in the future. For now we add the
app that is probably used the most, which is deriving BIP-39
mnemonics.

The new protobuf messages are empty messages instead of reusing
e.g. the `Success {}` message so they can be extended in the future
without having to return different types of response
messages (e.g. Success OR a custom message).
This moves the mnemonic word confirmation code from the api module to
the workflow module, so it can be used by both the show_mnemonic API
call and the bip85 API call.
@benma benma merged commit 460c7bd into BitBoxSwiss:master Dec 28, 2023
1 check passed
@benma benma deleted the bip85-2 branch December 28, 2023 15:09
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