HMACAlgorithm ignores its digest method when digest method is None
HMACAlgorithm ignores its digest method when digest method is None: a task in repo2rlenv-swe-smith (Harbor dataset). HMACAlgorithm.get signature passes self.digest method as the digestmod argument to hmac.new . When HMACAlgorithm is constructed without an explicit digest method (i.e. digest method…
The task
`HMACAlgorithm.get_signature` passes `self.digest_method` as the `digestmod` argument to `hmac.new`. When `HMACAlgorithm` is constructed **without** an explicit `digest_method` (i.e. `digest_method` is `None`), `hmac.new` receives `digestmod=None`, which raises:
Part of FineEnvs/repo2rlenv-swe-smith.