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

fix: enhance pod password generation with zero byte check and update crypto-js to 4.2.0 #281

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

IgorShadurin
Copy link
Collaborator

Closes: #212

Issue affected the node version of fdp-storage. It was related to the random number shim created for ether.js. Later on, crypto-js was added, which required the shim to generate more random bytes. The shim was initially generating random numbers for uint8array, which is only 1/4 of the required bytes for uint32array. As a result, the remaining bytes were zeros in the node version, while everything worked fine in the browser version.

For autonomous detection of similar errors related to incorrect crypto data providers, a self-check method has been added to verify the generated bytes.

@IgorShadurin IgorShadurin marked this pull request as ready for review October 25, 2023 13:07
@IgorShadurin IgorShadurin requested a review from nugaon as a code owner October 25, 2023 13:07
@IgorShadurin IgorShadurin merged commit 589df71 into master Oct 25, 2023
3 checks passed
@IgorShadurin IgorShadurin deleted the fix/212-pod-password-for-node branch October 25, 2023 13:34
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.

Pod password a bit strange
2 participants