godot/core
David Nikdel 4d498e18ec Remove nondeterminism in pck_packer
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding.

Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway.

If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled.
remove Math::rand() calls in editor_export_platform.cpp

follow up to make consistent with pck_packer

(cherry picked from commit 067807c1cb)
2023-10-24 16:33:53 +02:00
..
config Fix `root_node_layout_direction` setting not enum 2023-08-31 20:19:30 +02:00
crypto mbedTLS: disable weak crypto and TLS versions. 2023-05-10 11:13:19 +02:00
debugger Fix infinite loop on EOF in the command line debugger 2023-06-11 04:20:22 -07:00
error Fix incorrect index error macros 2023-01-22 12:23:56 +01:00
extension Fix version check for GDExtension 2023-09-21 15:14:04 +02:00
input Ensure `joy_connection_changed` is emitted on the main thread 2023-09-21 15:28:23 +02:00
io Remove nondeterminism in pck_packer 2023-10-24 16:33:53 +02:00
math Fix various typos with codespell 2023-10-03 20:45:35 +02:00
object Add check to ensure registered classes are declared 2023-09-21 13:50:25 +02:00
os Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-10-24 16:07:42 +02:00
string Support loading of translations on threads 2023-10-19 21:06:12 +02:00
templates Handle RID validator overflow 2023-06-20 13:20:17 +02:00
variant Fix comparison of `Callable`s with binds 2023-10-24 16:07:42 +02:00
SCsub FreeType: Update to version 2.13.1 2023-08-31 19:26:48 +02:00
core_bind.cpp Merge pull request #78000 from RandomShaper/let_users_mess_up 2023-06-10 12:12:13 +02:00
core_bind.h Let user scripts disable thread safety checks 2023-06-09 18:24:01 +02:00
core_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
core_constants.cpp Add missing YEN, SECTION and OPENURL names to keycode mappings 2023-10-24 16:07:42 +02:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
doc_data.h Display `BitField[Enum]` in docs to distinguish from `Enum` 2023-06-15 17:23:02 +03:00
register_core_types.cpp Properly free core types in reverse order 2023-05-30 17:47:12 +02:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
typedefs.h Fix several clang-tidy bool literal conversion warnings 2023-03-04 16:38:35 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-12 22:08:49 +02:00