mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-05-25 18:32:23 +08:00
mention required key length for HMAC encryption to user (#1956)
Following on from a discussion in discord, a small tweak to make the required key length for a HMAC key more obvious
This commit is contained in:
committed by
Shahidh K Muhammed
parent
cab1aa0cb1
commit
a7eabe034c
@@ -138,7 +138,8 @@ public keys are not yet supported.
|
||||
``key``
|
||||
^^^^^^^
|
||||
- In case of symmetric key (i.e. HMAC based key), the key as it is. (e.g. -
|
||||
"abcdef...").
|
||||
"abcdef..."). The key must be long enough for the algorithm chosen,
|
||||
(e.g. for HS256 it must be at least 32 characters long).
|
||||
- In case of asymmetric keys (RSA etc.), only the public key, in a PEM encoded
|
||||
string or as a X509 certificate.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user