mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
HTML5: Enable mbedTLS module for Crypto object
Increases the size of the wasm by around 3% (~300-350 KiB). This enables using the Crypto object for hashing, signing and encryption, and therefore reduces the gap between the features of the HTML5 platform and other platforms. Closes https://github.com/godotengine/godot-proposals/issues/3574. (cherry picked from commit 3ff6d794c0aac0365f236cd078b5e5aeea0d996e)
This commit is contained in:
parent
0f9ab62c91
commit
ccf7e4374a
@ -6,7 +6,6 @@
|
|||||||
<description>
|
<description>
|
||||||
The CryptoKey class represents a cryptographic key. Keys can be loaded and saved like any other [Resource].
|
The CryptoKey class represents a cryptographic key. Keys can be loaded and saved like any other [Resource].
|
||||||
They can be used to generate a self-signed [X509Certificate] via [method Crypto.generate_self_signed_certificate] and as private key in [method StreamPeerSSL.accept_stream] along with the appropriate certificate.
|
They can be used to generate a self-signed [X509Certificate] via [method Crypto.generate_self_signed_certificate] and as private key in [method StreamPeerSSL.accept_stream] along with the appropriate certificate.
|
||||||
[b]Note:[/b] Not available in HTML5 exports.
|
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
# Print the result as hex string and array.
|
# Print the result as hex string and array.
|
||||||
printt(res.hex_encode(), Array(res))
|
printt(res.hex_encode(), Array(res))
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
[b]Note:[/b] Not available in HTML5 exports.
|
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
<description>
|
<description>
|
||||||
The X509Certificate class represents an X509 certificate. Certificates can be loaded and saved like any other [Resource].
|
The X509Certificate class represents an X509 certificate. Certificates can be loaded and saved like any other [Resource].
|
||||||
They can be used as the server certificate in [method StreamPeerSSL.accept_stream] (along with the proper [CryptoKey]), and to specify the only certificate that should be accepted when connecting to an SSL server via [method StreamPeerSSL.connect_to_stream].
|
They can be used as the server certificate in [method StreamPeerSSL.accept_stream] (along with the proper [CryptoKey]), and to specify the only certificate that should be accepted when connecting to an SSL server via [method StreamPeerSSL.connect_to_stream].
|
||||||
[b]Note:[/b] Not available in HTML5 exports.
|
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
@ -48,11 +48,6 @@ def get_flags():
|
|||||||
return [
|
return [
|
||||||
("tools", False),
|
("tools", False),
|
||||||
("builtin_pcre2_with_jit", False),
|
("builtin_pcre2_with_jit", False),
|
||||||
# Disabling the mbedtls module reduces file size.
|
|
||||||
# The module has little use due to the limited networking functionality
|
|
||||||
# in this platform. For the available networking methods, the browser
|
|
||||||
# manages TLS.
|
|
||||||
("module_mbedtls_enabled", False),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user