From 900e68b2914f9c198540bbdf4dde0691bb4d22eb Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Fri, 28 Jan 2022 23:57:38 +0100 Subject: [PATCH] Get rid of openssl warning during PCK encryption setup (#5568) --- .../compiling/compiling_with_script_encryption_key.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/development/compiling/compiling_with_script_encryption_key.rst b/development/compiling/compiling_with_script_encryption_key.rst index d96982b5f..b16fc9a9f 100644 --- a/development/compiling/compiling_with_script_encryption_key.rst +++ b/development/compiling/compiling_with_script_encryption_key.rst @@ -24,15 +24,13 @@ Step by step :: - openssl enc -aes-256-cbc -k secret -P -md sha1 > godot.gdkey + openssl rand -hex 32 > godot.gdkey - This should output the following to ``godot.gdkey`` file: + The output in ``godot.gdkey`` should be similar to: :: - salt=5786FE8B91CA048A - key=D2F90FCC4FCA64B8990F916EF5A73230C1841601D1EA06B2380EC0F530E4EF85 - iv =047C353AEC9E6C211515E3341BF9C61B + aeb1bc56aaf580cc31784e9c41551e9ed976ecba10d315db591e749f3f64890f You can generate the key without redirecting the output to a file, but that way you can minimize the risk of exposing the key.