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

#12095 Increase RSA keys generated in tests #12095

Merged
merged 1 commit into from Jan 28, 2024

Conversation

alex
Copy link
Member

@alex alex commented Jan 28, 2024

This will allow pyca/cryptography to increase the minimum key size. 512-bit keys are wildly insecure, so we want to disallow them.

This will allow pyca/cryptography to increase the minimum key size. 512-bit keys are wildly insecure, so we want to disallow them.
@adiroiban
Copy link
Member

Thanks Alex. Let me know when this is ready for review.

I guess that this is a change needes as in the future cryptography will no longer allow keys below 1k.

Cheers

@alex
Copy link
Member Author

alex commented Jan 28, 2024

This is ready for review now (unless you think it's missing something?)

And yes, this is to keep twisted tests green on a future release -- twisted itself is fine, just the tests are impacted

Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to have this merged.
Much appreciated for including twisted into the cryptography test suite.


Is there a GitHub issue, or discussion related to this change?

I guess that this is a follow up of PR #1487 ... this updates KEX part.


I know that in the past @glyph has insisted on created a separate/dedicated issue for each change.
But I think that for these code cleanup, it's ok to only have a PR, as long as the PR has a descriptions.

This PR has no description, so I would prefer to merge this only after we add a few words about these changes from here.

thanks again!

PS: Many thanks for the cryptography 42 release :p

@alex
Copy link
Member Author

alex commented Jan 28, 2024

Ooops, there was some extra text in teh commit message that I acciddentally removed from the PR description.

Let me know if that looks good -- if so I'll merge.

@adiroiban adiroiban changed the title Increase RSA keys generated in tests #12095 Increase RSA keys generated in tests Jan 28, 2024
@adiroiban adiroiban merged commit f35f891 into twisted:trunk Jan 28, 2024
23 checks passed
@alex alex deleted the increase-rsa-key-sizes branch January 28, 2024 18:32
@adiroiban
Copy link
Member

Many thanks. I have merged this.

@exarkun
Copy link
Member

exarkun commented Jan 29, 2024

I know that in the past @glyph has insisted on created a separate/dedicated issue for each change. But I think that for these code cleanup, it's ok to only have a PR, as long as the PR has a descriptions.

This isn't just glyph's insistence. This is project policy. It's part of the responsibility of committers to adhere to project policy. If you think there should be a variance, take it up on the list to get an exception or have the overall policy changed.

@adiroiban
Copy link
Member

True. Thanks for the heads up.
I start a discussion to change the policy at https://mail.python.org/archives/list/twisted@python.org/thread/L6GEKQYSWUX4NBIHYEML3AKB2PXDD56N/

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

4 participants