Signature Verification
Everykey/check success is signed with the project’s Ed25519 private key. The client verifies the signature before running the script. This is the layer that makes fake responses detectable.
Signed payload
The signature is computed oversha256 of the following, joined with |:
nonce_echo— thenonce_echofrom the response (must equal the nonce you sent).hwid— thehwidyou sent in the request (not from the response).expiresAtUnix—expires_atas Unix seconds, or0whenexpires_atisnull.project_id— theproject_idfrom the response.
Verification steps
- Confirm
nonce_echomatches the nonce you sent. If not, reject. - Build the payload string exactly as above.
hash = sha256(payload)valid = ed25519_verify(public_key, base64decode(signature), hash)- If
validis false, do not run the script.