Skip to content

[v2] Update RSA private key size to 2048 in CloudTrail unit test#8903

Merged
kdaily merged 1 commit intoaws:v2from
kdaily:kdaily-fix-cloudtrail-rsa-test
Sep 6, 2024
Merged

[v2] Update RSA private key size to 2048 in CloudTrail unit test#8903
kdaily merged 1 commit intoaws:v2from
kdaily:kdaily-fix-cloudtrail-rsa-test

Conversation

@kdaily
Copy link
Copy Markdown
Member

@kdaily kdaily commented Sep 6, 2024

Issue #, if available:

#8895

Description of changes:

This is required to unblock updating our cryptography pin as a unit test for a CloudTrail customization is failing:

#8895

This test was ported 5 years ago as is using a key size of 512:

#4846

As of cryptography==43.0.0 the minimum key size allowed is 1024:

pyca/cryptography@83dcbc1

This change bumps it up to a more modern value of 2048. This has only a couple hundredths of a second time difference to generate as tested on my Mac.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is required to unblock updating our
`cryptography` pin:

aws#8895

This test was ported 5 years ago as is using a key
size of 512:

aws#4846

As of `cryptography==43.0.0` the minimum key size
allowed is 512:

pyca/cryptography@83dcbc1

This change bumps it up to a more reasonable value
of 2048. This has only a couple hundredths of a
second time difference to generate as tested on my
Mac.
Copy link
Copy Markdown
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

:shipit:

@AishwaryJain07
Copy link
Copy Markdown

:shipit:

🐧
haha

@AishwaryJain07
Copy link
Copy Markdown

:shipit:

ohh, just now i got that this is " ship it"
used on GitHub to symbolize the approval and readiness to deploy code changes
noice
i thought it's humourous, my mistake👍

@kdaily
Copy link
Copy Markdown
Member Author

kdaily commented Sep 18, 2024

I think you're right on both accounts - It's the "ship it squirrel" symbol, and is humorous! 😃

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.

3 participants