Challenge request
When an APP request the PKSA to sign a challenge, it will receive the following message:
{
cmd: "challenge_req",
account: string,
token: string,
data: string,
uuid: string,
expire: number
}
Properties
account
: the Hive account nametoken
: the authentication tokendata
: the Base64 representation of an encryptedchallenge_data
objectuuid
{string} the transaction request identifierexpire
{Number} UNIX time when the request will expire
The PKSA must decrypt the
challenge_data
object using the encryption key previously shared with the APP (auth_key
)The structure of the
challenge_data
is:{
key_type: string,
challenge: string
}
Properties
key_type
: the key type required to sign the transactions. It can be one ofposting
|active
|memo
.challenge
: a string to be signed
Last modified 1yr ago