mention base64 *standard* encoding for HMAC salt

This commit is contained in:
or-else
2023-01-07 17:24:05 -08:00
parent c7f1c08708
commit 8dadd0a103

View File

@ -7,7 +7,7 @@ A command-line utility to generate an API key for [Tinode server](../server/)
* `sequence`: Sequential number of the API key. This value can be used to reject previously issued keys.
* `isroot`: Currently unused. Intended to designate key of a system administrator.
* `validate`: Key to validate: check previously issued key for validity.
* `salt`: [HMAC](https://en.wikipedia.org/wiki/HMAC) salt, 32 random bytes base64 encoded; must be present for key validation; optional when generating the key: if missing, a cryptographically-strong salt will be automatically generated.
* `salt`: [HMAC](https://en.wikipedia.org/wiki/HMAC) salt, 32 random bytes base64 standard encoded; must be present for key validation; optional when generating the key: if missing, a cryptographically-strong salt will be automatically generated.
## Usage