fips

Python add column with new value when 2 conditions match

Python add column with new value when 2 conditions match Question: I am trying to add a new column to my data with a FIPS code in it (5 digit number). Basically when County from maindata.csv matches County from fipsdata.tsv, I want the FIPS code (fipsCountyFIPS) to land in a new column i.e. data[fips] (so …

Total answers: 1

PyInstaller FATAL FIPS SELFTEST FAILURE

PyInstaller FATAL FIPS SELFTEST FAILURE Question: I have used PyInstaller to package up a python application. When I run the application I receive this error: crypto/fips/fips.c:154: OpenSSL internal error: FATAL FIPS SELFTEST FAILURE Abort (core dumped) If I run the script via "python3 scriptname.py" it runs fine. I do not use OpenSSL in my python …

Total answers: 4

OpenSSL FIPS_mode_set not working in Python cryptography library

OpenSSL FIPS_mode_set not working in Python cryptography library Question: According to Python Cryptography library’s documentation [1], it is possible to build a custom cryptography wheel with OpenSSL statically linked. I tried doing this with an OpenSSL installation built with FIPS object module and was able to successfully build the wheel but found out that it …

Total answers: 1

How to implement FIPS_mode() and FIPS_mode_set() in Python 3.6's ssl module?

How to implement FIPS_mode() and FIPS_mode_set() in Python 3.6's ssl module? Question: I am trying to implement the FIPS_mode and FIPS_mode_set functions in Python’s ssl module since those are not present by default. A patch for Python 3.4 has already been submitted and rejected due to various using reasons. Using that patch as an inspiration, …

Total answers: 1