Skip to content

Conversation

@willholley
Copy link
Member

#1445 introduced a shim to
enable CouchDB to be compiled to use the Erlang MD5 function.
This allows CouchDB to run in FIPS environments where the crypto
module is restricted such that crypto:hash(md5,..) is blocked
(fails with notsup error).

This commit replaces usage of crypto:hash(md5, ..) introduced since
the original PR with the shim function.

Overview

Testing recommendations

Related Issues or Pull Requests

Checklist

#1445 introduced a shim to
enable CouchDB to be compiled to use the Erlang MD5 function.
This allows CouchDB to run in FIPS environments where the crypto
module is restricted such that `crypto:hash(md5,..)` is blocked
(fails with `notsup` error).

This commit replaces usage of `crypto:hash(md5, ..)` introduced since
the original PR with the shim function.
@willholley willholley merged commit 2d734f3 into master Dec 2, 2019
@willholley willholley deleted the couch_hash_update branch December 2, 2019 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants