-
Notifications
You must be signed in to change notification settings - Fork 94
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
use OS generated secrets #1753
use OS generated secrets #1753
Conversation
7d74fce
to
9aa583d
Compare
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 the fix! Only one question.
@Alrighttt can you please check if this PR fixes the issue? |
Signed-off-by: ozkanonur <work@onurozkan.dev>
Sorry for the delay. Consider this me signing off for approval. I will add manual testing of this to my backlog of tasks. It's unlikely we would ever fail to generate a secret, but I am curious to know when exactly that scenario is possible. I would like to investigate how this could impact various platforms. |
#1753 (comment), but even failing to generate a secret won't cause any problems since the swap won't start. |
use OS generated secrets in
maker_swap
andtendermint_coin::get_sender_trade_fee_for_denom
to achieve cryptographically secure randomness