Skip to content

Conversation

ignatk
Copy link
Contributor

@ignatk ignatk commented Sep 2, 2022

In Go >= 1.19 the algorithm was changed as well as explicit randomization was added. While we could mitigate the explicit randomization with maybeNotReader, the algorithm itself breaks backwards compatibility.

Import the old algorithm into gokey instead.

Fixes #58

In Go >= 1.19 the algorithm was changed as well as explicit
randomization was added. While we could mitigate the explicit
randomization with maybeNotReader, the algorithm itself breaks backwards
compatibility.

Import the old algorithm into gokey instead.
This test was added to more easily track, when stdlib crypto/rsa
algorithm changes. This now happened in Go >= 1.19 (due to changes in
the math/big prime generation algorithm) and the test is correctly
failing.

Remove the test, so it does not confuse contributors anymore.
@ignatk ignatk merged commit 3875268 into cloudflare:main Sep 2, 2022
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.

Tests fail with go1.19
1 participant