]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw:When KMS encryption is used and the key does not exist, we should not throw ERR_... 37184/head
authorwangyingbin <wangyingbin@inspur.com>
Wed, 16 Sep 2020 07:15:45 +0000 (15:15 +0800)
committerwangyingbin <wangyingbin@inspur.com>
Wed, 16 Sep 2020 07:15:45 +0000 (15:15 +0800)
commit40dbc29984d67a3f4946a0b30d53f3db19952bf0
tree9c204f7c608293d5420f0803ee41bc6d2013b602
parent6607cd853869e6b2b806e053cd973d69e6e44e42
rgw:When KMS encryption is used and the key does not exist, we should not throw ERR_ INVALID_ ACCESS_ Key error code.

When kms encryption is used, the key_id is null or the actual_key size is wrong, we should not throw "ERR_INVALID_ACCESS_KEY " error code, instead of "EINVAL"error code, is used to indicate parameter error.

Signed-off-by: wangyingbin <wangyingbin@inspur.com>
src/rgw/rgw_crypt.cc