Mercurial > hgrepos > Python > apps > py-cutils
view shasum.py @ 75:a31de3c65877
Remove the use of "hmac.compare_digest()": there are no secrets to protect here
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 27 Feb 2022 15:42:34 +0100 |
| parents | 6cec638c995c |
| children | 6378ba9ae949 |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2020-2022 Franz Glasner # :License: BSD-3-Clause # :- r"""Pure Python implementation of `shasum` """ from __future__ import absolute_import import sys import cutils.shasum sys.exit(cutils.shasum.main())
