From 8d51a3c7a82405c76df26154b321465fa4c6cb07 Mon Sep 17 00:00:00 2001 From: "liang.he" Date: Thu, 19 Dec 2024 16:49:44 +0800 Subject: [PATCH] use a random secret key (#3971) --- tests/fuzz/wasm-mutator-fuzz/server/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fuzz/wasm-mutator-fuzz/server/app/main.py b/tests/fuzz/wasm-mutator-fuzz/server/app/main.py index d8a0955e..620625dd 100644 --- a/tests/fuzz/wasm-mutator-fuzz/server/app/main.py +++ b/tests/fuzz/wasm-mutator-fuzz/server/app/main.py @@ -56,7 +56,7 @@ app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv( app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False -app.secret_key = "hwhefsewljfejrlesjfl" +app.secret_key = os.urandom(12).hex() db = SQLAlchemy(app)