summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2018-04-18 15:08:55 +0530
committerAmar Tumballi <amarts@redhat.com>2018-04-20 05:09:17 +0000
commitef8f9ad76a5a1c9495a77e7e83b7fd05a9a7e757 (patch)
tree4ba002191b6d13ff03c5502fecd0a5763b9f8c0e /xlators
parent9e7082b756058fe04d79c046fbd6dcbfa75a1716 (diff)
eventsapi: Handle Unicode string during signing
Python 2.7 HMAC does not support Unicode strings. Secret is read from file so it is possible that glustereventsd reads the content as Unicode. This patch converts the secret to `str` type before generating HMAC signature. Fixes: bz#1568820 Change-Id: I7daa64499ac4ca02544405af26ac8af4b6b0bd95 Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions