Skip to content

crypto: use stdlib crypto/rand. ref #2099#2669

Merged
ebuchman merged 2 commits intodevelopfrom
bucky/2099-dont-use-mix-entropy
Oct 19, 2018
Merged

crypto: use stdlib crypto/rand. ref #2099#2669
ebuchman merged 2 commits intodevelopfrom
bucky/2099-dont-use-mix-entropy

Conversation

@ebuchman
Copy link
Contributor

Ref #2099

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

@codecov-io
Copy link

codecov-io commented Oct 18, 2018

Codecov Report

Merging #2669 into develop will decrease coverage by 0.16%.
The diff coverage is 40%.

@@             Coverage Diff             @@
##           develop    #2669      +/-   ##
===========================================
- Coverage     61.7%   61.53%   -0.17%     
===========================================
  Files          207      207              
  Lines        16928    16923       -5     
===========================================
- Hits         10445    10414      -31     
- Misses        5616     5643      +27     
+ Partials       867      866       -1
Impacted Files Coverage Δ
crypto/random.go 18.6% <40%> (-52.23%) ⬇️
privval/ipc_server.go 64.15% <0%> (-3.78%) ⬇️
privval/tcp_server.go 78.57% <0%> (-2.86%) ⬇️
consensus/reactor.go 72.12% <0%> (-0.13%) ⬇️

crypto/random.go Outdated
@@ -26,6 +27,7 @@ func init() {
gRandInfo.MixEntropy(randBytes(32)) // Init
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer if we commented out this as well, to mitigate confusion.

@ebuchman ebuchman merged commit 9d62bd0 into develop Oct 19, 2018
@ebuchman ebuchman deleted the bucky/2099-dont-use-mix-entropy branch October 19, 2018 18:29
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.

4 participants