Skip to content
代码片段 群组 项目
  • talyz's avatar
    a5c78650
    Use the exactly 32 byte long version of db_key_base with aes-256-gcm · a5c78650
    talyz 创作于
    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`.
    未验证
    a5c78650
    历史
    Use the exactly 32 byte long version of db_key_base with aes-256-gcm
    talyz 创作于
    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`.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。