Challenge approval
If the user approves the challenge request, the PKSA must create a challenge_ack_data object
The structure of the challenge_ack_data is:
challenge_ack_data
{
pubkey: string,
challenge: string
}pubkey: the account public keychallenge: the signed challenge
The PKSA will then encrypt the challenge_ack_data object using the encryption key previously shared with the APP (auth_key).
Finally, the PKSA then inform the HAS of the user's approval by sending the following message:
challenge_ack
{
cmd: "challenge_ack",
uuid: string,
data: string,
pok: string
}uuid: thechallenge_reqrequest identifierdata:challenge_ack_dataencrypted with theauth_keyand converted to Base64pok: theuuidencrypted using the account private key and the HAS server public key (see Proof of Key)
Last updated