Skip to content

Commit aa69968

Browse files
committed
doc: README.md detailed
1 parent 31065fe commit aa69968

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ python main.py --fingerprint '198e9fe586114844f6a4eaca5069b41a7ed43fb5a2df84892b
1111

1212
## Normal config:
1313
* Your fingerprint should be the hash of the serial number of your machine (you can execute the program to see it) computed with **SHA3_512** ([Online Converter](https://emn178.github.io/online-tools/sha3_512.html)).
14-
* Replace the public key from [keygen.sh](keygen.sh) line 63 of `main.py`.
14+
* Replace the public key from [keygen.sh](keygen.sh) line 66 of `main.py`.
1515
* Get your machine file on [keygen.sh](keygen.sh) and put the raw license key in a new file named `license.lic`.
1616
* Put your `machine.lic` & `license.lic` in the same folder as `main.py` and run:
1717

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ def get_serial_number():
6060
serial_number = str(serial_number)
6161
hash_serial = hashlib.sha3_512(serial_number.encode())
6262
args.fingerprint = hash_serial.hexdigest()
63-
args.public_key = '7757a98a8188c31ae7a21d76a865800bf77bcf3476f7abbbdf5bb6a4afbe9a23'
63+
64+
print("Replace \"PUBLIC_KEY\" line 66 with your public key (\"Ed25519 128-bit Verify Key\") available in https://app.keygen.sh/settings. Then comment lines 64 & 65 and run again.")
65+
sys.exit(1) # Comment this line to continue
66+
args.public_key = 'PUBLIC_KEY'
6467

6568
# Read the license key file
6669
try:

0 commit comments

Comments
 (0)