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:

{ cmd: "key_req" }

The HAS responds with the following message:

key_ack

{ 
    cmd: "key_ack", 
    key: string
}
  • key: The server public key to use to perform asymmetric encryption.

Last updated