[Cryptography-dev] build. cryptography with fips openssl and enable fips mode

2019-01-10 Thread Krishna Kumar
Hi I am new to python and I am trying to run mitmproxy in fips mode. It uses cryptography . Since its built on top of python i thought we need to make my python use fips openssl and enable fips mode in it. I compiled pyt

Re: [Cryptography-dev] build. cryptography with fips openssl and enable fips mode

2019-01-10 Thread Scott Sturdivant
Hi Krishna, You will need to build the cryptography library from source to avoid using the static library that ships with the wheel package. I recommend using a virtual environment to do this. Some commands: $ python3 -m venv /tmp/venv $ source /tmp/venv/bin/activate $ pip install cryptography -