alpenlabs / strata

Rust implementation of the Strata protocol
https://docs.stratabtc.org
Apache License 2.0
23 stars 1 forks source link

Use secure RNG #386

Closed AaronFeickert closed 1 month ago

AaronFeickert commented 1 month ago

Description

This PR updates an Rng trait bound to require a cryptographically-secure generator.

Type of Change

Checklist

Related Issues

None.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 57.33%. Comparing base (2486f5c) to head (dfc58e0). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
bin/datatool/src/main.rs 0.00% 3 Missing :warning:
@@            Coverage Diff             @@
##             main     #386      +/-   ##
==========================================
- Coverage   57.35%   57.33%   -0.02%     
==========================================
  Files         255      255              
  Lines       26953    26954       +1     
==========================================
- Hits        15459    15455       -4     
- Misses      11494    11499       +5     
Files with missing lines Coverage Δ
bin/datatool/src/main.rs 0.00% <0.00%> (ø)

... and 5 files with indirect coverage changes