From 1f861d897598622d44fa38f3907d6c6bdf046621 Mon Sep 17 00:00:00 2001 From: G3niuR <33048622+JohnRyk@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:39:12 +0800 Subject: [PATCH] Update README.md Using python3 command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81d6d84..4d6869b 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Build all the binaries (adjust the domain_name and the encryption_key to your ne ``` -$ export ENCRYPTION_KEY=$(python -c 'from os import urandom; print(urandom(32).encode("hex"))') +$ export ENCRYPTION_KEY=$(python -c 'from os import urandom;print("".join([hex(ord(char))[2:] for char in urandom(32).decode("latin-1")]))') $ export DOMAIN_NAME=c.sysdream.com $ make build-all ``` @@ -140,4 +140,4 @@ For more verbose messages, add `TAGS=debug` at the end of the make command. ## Credits -* Nicolas Chatelain \ No newline at end of file +* Nicolas Chatelain