Licence keys
- A licence key is stored only as an HMAC-SHA-256 digest, under a secret kept in the server’s environment rather than its database. A copy of the database alone does not contain a usable key.
- The readable key is shown once, when it is issued, and is never written to a log.
- A key bought through a payment waits for its email encrypted, and is removed once it has been delivered. The background job that sends it carries only a reference to it.
- A key is an entitlement to a product. It is never a way into anybody’s account.