Skip to content
代码片段 群组 项目
未验证 提交 a5c78650 编辑于 作者: talyz's avatar talyz
浏览文件

Use the exactly 32 byte long version of db_key_base with aes-256-gcm

Treewide, usage of a truncated version of db_key_base has been common
and it works fairly well with `aes-256-cbc`. However, with
`aes-256-gcm` the key must be exactly 32 bytes long - if it's longer
it has to be truncated, but if it's shorter it has to be padded. For
this reason the such a version of the key,
`attr_encrypted_db_key_base_32`, was introduced in
777b6713. This changes all occurrences
of `attr_encrypted_db_key_base_truncated` being used with
`aes-256-gcm`.
上级 69f6e347
No related branches found
No related tags found
加载中
显示
49 个添加47 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册