]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/rgw/rgw_multi: pass bytes to hmac.new()
authorKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 05:29:27 +0000 (13:29 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Jun 2020 08:34:52 +0000 (16:34 +0800)
commita93bbde47711de760d3ee69d3eb7c94cd06e0010
treea3e4e25d66235ffb6b2d87e672a3a29ff6575a1c
parentf9882ca7a70cc663516e61fcb25bfaf1bbfd720e
test/rgw/rgw_multi: pass bytes to hmac.new()

in Python3, `key` passed to `hmac.new()` should be bytes or bytearray

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit adfcf08588e6031be837602dc4d1f8d6d14d795b)
src/test/rgw/rgw_multi/zone_ps.py