# Dvc add data file not possible: “ERROR: unexpected error - \[digital envelope routines: EVP\_DigestInit\_ex\] disabled for FIPS”

**URL:** <https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905>\
**Category:** Questions\
**Created:** [December 28, 2023, 2:29pm UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905 "2023-12-28T14:29:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Johannes](https://discuss.dvc.org/u/Johannes)\
**Post date:** [December 28, 2023, 2:29pm UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/1 "2023-12-28T14:29:53Z")

</div>

Hi,

I did “pip install dvc” and did the “dvc init” and now I want to add my first file (“dvc add data.dat”).

It doesn’t work and I get the following error message:

“ERROR: unexpected error - [digital envelope routines: EVP\_DigestInit\_ex] disabled for FIPS”

I receive the same error message with “dvc status”.

Any ideas?

---

<div class="post-metadata">

**Author:** ![pmrowla](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@pmrowla](https://discuss.dvc.org/u/pmrowla)\
**Post date:** [December 29, 2023, 2:00am UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/2 "2023-12-29T02:00:34Z")

</div>

It looks like you are using Python with a FIPS enabled OpenSSL installation. DVC uses MD5 in a non-cryptographic use case (for computing file checksums) but MD5 is unavailable in FIPS enabled OpenSSL (since MD5 is insecure for cryptographic use cases).

In order to install DVC via pip you would have to switch to using a Python installation with a default (non-FIPS) OpenSSL. If this is not an option in your environment (i.e. you are limited to only installing Python with FIPS enabled OpenSSL for security or compliance reasons), you will need to use one of the DVC binary package installations instead of installing via pip.

---

<div class="post-metadata">

**Author:** ![Johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Johannes](https://discuss.dvc.org/u/Johannes)\
**Post date:** [January 5, 2024, 12:55pm UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/3 "2024-01-05T12:55:48Z")

</div>

Thank you very much @pmrowla !

We installed on Red hat linux 8.8  
dvc-3.37.0-1.x86\_64.rpm  
with Python 3.9.13

but got following error:

Error loading Python lib ‘/usr/lib/dvc/libpython3.10.so.1.0’: dlopen: libcrypt.so.2: cannot open shared object file: No such file or directory

can you tell us which binary we should install and which dependencies we need?

Otherwise could you give us a link for an older version which is compliant with libcrypt.so.1? That should work for us as well.

---

<div class="post-metadata">

**Author:** ![kupruser](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kupruser](https://discuss.dvc.org/u/kupruser)\
**Post date:** [January 10, 2024, 4:50pm UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/4 "2024-01-10T16:50:26Z")

</div>

Sorry, no particular link for that that we can provide, as figuring it out is not trivial for us.

Unfortunately, you are on your own here and will have to play around to make it work in your environment.

---

<div class="post-metadata">

**Author:** ![josiahrohrer](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@josiahrohrer](https://discuss.dvc.org/u/josiahrohrer)\
**Post date:** [February 7, 2024, 7:46am UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/5 "2024-02-07T07:46:06Z")

</div>

Thanks a lot. Do you or anybody else know about where we might be able to download older versions of the binaries?

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [February 7, 2024, 8:33pm UTC](https://discuss.dvc.org/t/dvc-add-data-file-not-possible-error-unexpected-error-digital-envelope-routines-evp-digestinit-ex-disabled-for-fips/1905/6 "2024-02-07T20:33:34Z")

</div>

There’s a download button on [https://dvc.org](https://dvc.org) that links to the current binaries, and you can easily edit those URLs to find the version you want.
