gravatar: support the FIPS security mode
commit5ae40d21279b73c1b35ce4f84c6abb075c50d3e2
authorDavid Aguilar <davvid@gmail.com>
Fri, 3 Sep 2021 22:03:53 +0000 (3 15:03 -0700)
committerDavid Aguilar <davvid@gmail.com>
Fri, 3 Sep 2021 22:03:53 +0000 (3 15:03 -0700)
tree8a3befba1fc71dc05a0efa6a498ff3bef6164412
parent50b47f4a444468cd34b46c030a02da7541c66abb
gravatar: support the FIPS security mode

Use the `usedforsecurity=False` flag when interating with FIPS-enabled
Python versions. This includes Python3.9+ and the the patched Python3.6
used by centos8 / rhel8.

Closes #1157
Reported-by: Audrey Yeena Toskin <audrey@tosk.in>
Signed-off-by: David Aguilar <davvid@gmail.com>
CHANGES.rst
cola/gravatar.py
share/doc/git-cola/git-cola.rst