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

mbedtls: Backport Windows fix to use bcrypt for entropy #84042

Conversation

akien-mga
Copy link
Member

@akien-mga akien-mga commented Oct 27, 2023

We had a slightly older version of it for UWP, as the wincrypt API isn't allowed there. We removed this with UWP in #81416, but since this was enabled inconditionally before, this actually changed behavior for Windows compared to Godot 4.1 and earlier. Backport of Mbed-TLS/mbedtls#8047 (included in mbedtls 3.5.0), which the upstream version of their older unmerged PR 1453 we had backported for years.

This change is also needed to properly supported Windows Store.

Follow-up to #81416, only relevant for 4.2+.

We had a slightly older version of it for UWP, as the wincrypt API isn't allowed there.
We removed this with UWP in godotengine#81416, but since this was enabled inconditionally before,
this actually changed behavior for Windows compared to Godot 4.1 and earlier.

This change is also needed to properly supported Windows Store.
Copy link
Collaborator

@Faless Faless left a comment

Choose a reason for hiding this comment

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

LGTM 👍 !

@akien-mga akien-mga merged commit 868392f into godotengine:master Oct 31, 2023
15 checks passed
@akien-mga akien-mga deleted the mbedtls-backport-windows-entropy-bcrypt branch October 31, 2023 19:20
@akien-mga akien-mga added the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Mar 9, 2024
@akien-mga
Copy link
Member Author

Cherry-picked for 4.1.4.

@akien-mga akien-mga removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Mar 9, 2024
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.

2 participants