HiveAuth
Search…
Server encryption key Retrieval
This step is implemented to secure the communication between the PKSA and the HAS and provide a way to later authenticate user accounts with certainty.
The PKSA asks the HAS for its public encryption key by sending the following message:
1
{ cmd: "key_req" }
Copied!
The HAS responds with the following message:

key_ack

1
{
2
cmd: "key_ack",
3
key: string
4
}
Copied!
Properties
  • key: The server public key to use to perform asymmetric encryption.
Copy link
Contents
key_ack