Skip to content

Commit

Permalink
mention base64 *standard* encoding for HMAC salt
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 8, 2023
1 parent c7f1c08 commit 8dadd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keygen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dadd0a

Please sign in to comment.