Fix typo in secrets module (#1734)
* Fix typo in secrets module Introduced in #1695. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
b136b357e0
commit
38260aabcc
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify the format of account data objects for secret storage.
|
|
@ -84,7 +84,7 @@ When storing a key, clients SHOULD:
|
||||||
differences in AES-CTR implementations), and use this as the AES
|
differences in AES-CTR implementations), and use this as the AES
|
||||||
initialization vector (IV).
|
initialization vector (IV).
|
||||||
|
|
||||||
3. Encrypt a message consisting of 32 byutes of 0, using AES-CTR-256 using the
|
3. Encrypt a message consisting of 32 bytes of 0, using AES-CTR-256 using the
|
||||||
AES key and IV generated above.
|
AES key and IV generated above.
|
||||||
|
|
||||||
4. Pass the raw encrypted data through HMAC-SHA-256 using the MAC key
|
4. Pass the raw encrypted data through HMAC-SHA-256 using the MAC key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue