method="lookup_name"
params=["bytemaster"]
result=
{
"last_update" : ${SECONDS_1970}
"master_key" : "HEX"
"active_key" : "HEX"
"revoked" : true | false
"age" : # of first block in which the name was registered
"repute" : points associated with name
"name_hash" : "HEX 8-byte hash of name"
"name" : "If known, the reverse of the name_hash"
}
method = "verify_signature"
params = ["sha256 digest hex", "hex ecc compact signature" ]
result = ["hex ECC PUBLIC KEY"]
method = "sign_message"
params = ["name", "256 digest hex" ]
result = "hex ecc compact signature"
Server will generate a random challenge.
Client will combine the random challenge with random data and sign the result
Client will send random data + random challenge + signature + keyhotee ID to Server
Server will lookup keyhotee ID, call verify_signature and check that the active_key == result of verify signature.