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

topdown/buitins: io.jwt.encode_sign uses BuiltinContext random source #3738

Merged

Conversation

srenatus
Copy link
Contributor

It didn't before, so we had not much control over the entropy that is getting into the signature for ecdsa.

This is useful if you want reproducible outcomes over multiple policy evaluations, such as in testing.

Signed-off-by: Stephan Renatus <[email protected]>
@srenatus srenatus force-pushed the sr/builtins/ecdsa-should-use-our-rand branch from 590c7c6 to 48d9d01 Compare August 16, 2021 08:38
@srenatus srenatus force-pushed the sr/builtins/ecdsa-should-use-our-rand branch from 48d9d01 to 033feae Compare August 16, 2021 08:43
@srenatus srenatus merged commit e732b0b into open-policy-agent:main Aug 19, 2021
@srenatus srenatus deleted the sr/builtins/ecdsa-should-use-our-rand branch August 19, 2021 05:43
jgchn pushed a commit to jgchn/opa that referenced this pull request Aug 20, 2021
…open-policy-agent#3738)

It didn't before, so we had not much control over the entropy that is getting into the signature for ecdsa.

This is useful if you want reproducible outcomes over multiple policy evaluations, such as in testing.

Signed-off-by: Stephan Renatus <[email protected]>
dolevf pushed a commit to dolevf/opa that referenced this pull request Nov 4, 2021
…open-policy-agent#3738)

It didn't before, so we had not much control over the entropy that is getting into the signature for ecdsa.

This is useful if you want reproducible outcomes over multiple policy evaluations, such as in testing.

Signed-off-by: Stephan Renatus <[email protected]>
Signed-off-by: Dolev Farhi <[email protected]>
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.

2 participants