-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
BIP-85: Add language code & dice app, TPRV guidance, warn on BIP-32 divergence, grammar & clarity #1679
Conversation
@jonatack @scgbckbone Please have look. |
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.
wrong entropy is in base64 pwd application, currently:
d7ad61d4a76575c5bad773feeb40299490b224e8e5df6c8ad8fe3d0a6eed7b85ead9fef7bcca8160f0ee48dc6e92b311fc71f2146623cc6952c03ce82c7b63fe
correct:
74a2e87a9ba0cdd549bdd2f9ea880d554c6c355b08ed25088cfa88f3f1c4f74632b652fd4a8f5fda43074c6f6964a3753b08bb5210c8f5e75c07a4c2a20bf6e9
could you possibly split this into "b64 entropy fix only PR" and "the rest" ? |
Yeah |
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.
Thank you for opening this, was going to ask. If this is to be done, seems best to do it before updating the BIP status to Final in #1676.
-
Can you prefix each commit message with
BIP85:
or refer to it in the commit title? -
Consider doing the test vector correction in a separate commit with a full explanation of what was incorrect and the fix.
-
Can you also provide an explanation of the Base64 entropy fix in the commit message.
-
Please provide a better commit message for the "add warning" commit.
-
Did you want to make the changes in the abstract and definitions sections that you did in BIP85: Clarify spec, correct test vectors, add Portuguese language code, add dice application #1600?
cc @nvk for review
@jonatack this is my bug when I was adding base64 app to the BIP, seems it went unnoticed for long time... |
I want to |
Might be good to add a changelog in this pull, as previously in #1600. |
Co-authored-by: Jon Atack <jon@atack.com>
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.
Ok, I see that https://github.com/akarve/bipsea has been updated.
@jonatack thanks for the careful reviews. i think we're g2g. do committers squash and merge? if not should i rebase this? I was asked to preface all commits with BIP-85, and these commits are all orthogonal and semantic, but I personally would prefer a rebase because a lot of this is TMI for |
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.
do committers squash and merge? if not should i rebase this? I was asked to preface all commits with BIP-85, and these commits are all orthogonal and semantic, but I personally would prefer a rebase because a lot of this is TMI for master, agree?
People have different preferences. I prefer when the PR author organizes the commits in a logical, hygienic manner; and otherwise, I might squash in the merge to one commit.
Co-authored-by: Jon Atack <jon@atack.com>
…password example to dice
@@ -370,16 +429,42 @@ The reason for running the derived key through HMAC-SHA512 and truncating the re | |||
|
|||
Many thanks to Peter Gray and Christopher Allen for their input, and to Peter for suggesting extra application use cases. | |||
|
|||
==Change Log== |
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.
@jonatack i've added a real changelog so that the semvers are more... semantic. i could go deeper in terms of detail (fixes, etc.) but this seems complete enough to be useful and importantly puts this commit at semver 1.3.0.
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.
Suggest "Changelog" (no space), with entries ordered by most recent first (see https://keepachangelog.com/en/1.1.0/).
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.
Seems close, modulo a couple suggestions.
Pinging @scgbckbone @nvk @Rob1Ham @luisschwab for review/comments.
Reviewers: suggest looking at the whole change, not commit-by-commit.
* JavaScript library implementation: [https://github.com/hoganri/bip85-js] | ||
* 1.3.0 Python 3.x library implementation: [https://github.com/akarve/bipsea] | ||
* 1.1.0 Python 2.x library implementation: [https://github.com/ethankosakovsky/bip85] | ||
* 1.0.0 JavaScript library implementation: [https://github.com/hoganri/bip85-js] |
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.
Perhaps it would be easier for readers to reference these versions by moving this Reference Implementation
section to just above the Changelog
(and move the Acknowledgements
section further down toward the end).
@@ -370,16 +429,42 @@ The reason for running the derived key through HMAC-SHA512 and truncating the re | |||
|
|||
Many thanks to Peter Gray and Christopher Allen for their input, and to Peter for suggesting extra application use cases. | |||
|
|||
==Change Log== |
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.
Suggest "Changelog" (no space), with entries ordered by most recent first (see https://keepachangelog.com/en/1.1.0/).
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.
ACK (but expect #1676 to follow)
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.
Thanks for looking @scgbckbone.
ACK 0e5f2da
Reloading this PR with minimal, backward-compatible changes.