Fix docs link and clarify server-side fingerprint hashing in README

This commit is contained in:
Keysat
2026-06-17 15:24:55 -05:00
parent 94a39b7064
commit 5d6adb6192
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -25,6 +25,7 @@ ISSUER_PUBKEY_PEM = open("assets/issuer.pub").read() # bake this into your app
verifier = Verifier(PublicKey.from_pem(ISSUER_PUBKEY_PEM))
ok = verifier.verify(key_from_user) # raises LicensingError on bad sig
# ok.expires_at is a unix timestamp; 0 = perpetual
print(f"licensed for product {ok.product_id}, expires {ok.expires_at}")
```
@@ -93,7 +94,7 @@ replayed against someone else's licensing server:
```python
fp_input = f"{APP_NAME}|{machine_id}"
# The SDK SHA-256s this for you when you pass it to validate(...).
# Pass this raw string to validate(...); the server SHA-256s it before storing.
```
## License