Update README.md

This commit is contained in:
Return
2024-05-21 21:30:32 +03:30
committed by GitHub
parent 9426c9db3c
commit 92eaab3d0c

View File

@ -40,6 +40,17 @@ base64_encoded = base64.b64encode(binary_data).decode('utf-8')
print("sha256/" +base64_encoded) print("sha256/" +base64_encoded)
``` ```
Create the `generate.py` file with the `nano` editor
Copy the code above and replace the placeholder with your own SHA-256 fingerprint in the `sha256 Fingerprint=6F:CX:9A:FE:32:2B:J9:8V:.............` section
`nano generate.py`
And run the file with the command:
`python3 generate.py`
example result : `sha256/CMn3/tZqjIRUnclf0mFi/bOq7radMYjrOqLxlxqfXFN0=` example result : `sha256/CMn3/tZqjIRUnclf0mFi/bOq7radMYjrOqLxlxqfXFN0=`
Now use the sha256-key in the config file (pinSHA256). Now use the sha256-key in the config file (pinSHA256).