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

fix RSA key loading: p and q were being swapped #1723

Closed
wants to merge 1 commit into from

Conversation

alex
Copy link
Member

@alex alex commented Jul 18, 2020

This currently works, because OpenSSL simply re-computes iqmp when it doesn't match the p & q values. However a future pyca/cryptography patch enforces this.

This currently works, because OpenSSL simply re-computes iqmp when it doesn't match the p & q values. However a future pyca/cryptography patch enforces this.
@alex
Copy link
Member Author

alex commented Jul 18, 2020

fwiw, even though this currently runs without error, it's causing OpenSSL to constantly recompute iqmp, which makes it much slower. Twisted used to have a similar issue: twisted/twisted@737db21

@bitprophet
Copy link
Member

Cherry picked back to Paramiko 2.7. Thanks!

@bitprophet bitprophet closed this Aug 27, 2020
@alex
Copy link
Member Author

alex commented Aug 27, 2020

Thanks Jeff!

@nathanielmanistaatgoogle
Copy link

nathanielmanistaatgoogle commented Aug 29, 2020

I have some work affected by this as well. Excited to see that it is already fixed; is there an estimate for when a version containing the fix will appear on PyPI? 🙂

(Later edit: the answer to this question is now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants