-
Notifications
You must be signed in to change notification settings - Fork 42
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
fix: activation flow #2114
fix: activation flow #2114
Conversation
Um... Unfortunately our activation key which consists of privatekey/address pair, the latter doesn't addresses former, instead, using activationKeyNonce for generating that for some reason, so basically in order to 'properly' validate if this is proper activation key, that we need to query the nonce value and do... some weird stuff. I did try once, but seems not worth the effort much, since mostly users are going to be copypasting. |
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.
Except that, this LGTM!
Just for clarification of the bug that occured in the internal QA. (cc: @Gilhwan) For more easy understanding, let's say
resulting the person who is in QA to make a change Since the regex does not check the length on the left side of the |
Some big changes:
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Fixed
Not fixed
The regex used for activation key check is
/^[0-9a-f]+\/[0-9a-f]{40}$/
, but it does not exclude private key validation.Need to use more strict activation key check.