absurdfarce commented on PR #1288:
URL: 
https://github.com/apache/cassandra-python-driver/pull/1288#issuecomment-4427650648

   Took _quite_ a bit of doing but I finally got to a reproducible test case.  
I went down the path of trying to get a Docker image containing a FIPS-aware 
OpenSSL build but that kept falling apart for unrelated build reasons.  Finally 
just settled on a local OpenSSL build with FIPS enabled and a local Python 
build referencing that OpenSSL build and after mucking about with some configs 
I got to something workable.
   
   ```
   $ OPENSSLDIR=~/local/openssl-3.1.2-fips/ssl 
LD_LIBRARY_PATH=/home/me/local/openssl-3.1.2-fips/lib 
~/local/python-3.12.11-fips/bin/python3
   Python 3.12.11 (main, May 11 2026, 22:01:52) [GCC 14.2.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> from hashlib import md5
   >>> foo = md5()
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   _hashlib.UnsupportedDigestmodError: [digital envelope routines] unsupported
   ```
   
   So the import does appear to be fine... the problem comes about when we call 
md5() to get to a local hash object.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to