Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.52 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.52 KB

🐳 Docker FIPS for NodeJS and Python

Pulls Pulls CircleCI

Docker Python NodeJS FIPS

Images are available at: https://hub.docker.com/r/filigran/python-nodejs-fips.

Tag OpenSSL version Python version Node.js version Distro
latest 3.1.5 3.11.8 20.11.1 alpine
python3.11-nodejs20 3.1.5 3.11.8 20.11.1 alpine

Docker Python FIPS

Images are available at: https://hub.docker.com/r/filigran/python-fips.

Tag OpenSSL version Python version Distro
latest 3.1.5 3.11.8 alpine
python3.11 3.1.5 3.11.8 alpine

Use the images

  • For Python, bindings are automatically mapped to the OpenSSL FIPS 140-2 library, just run your Python scripts as usual.
  • For NodeJS, ensure to run your NodeJS programs with --enable-fips or --force-fips.

Proof of Concept / testing

$ docker run -it filigran/python-nodejs-fips:latest /bin/sh
$ openssl version
OpenSSL 3.1.5 30 Jan 2024 (Library: OpenSSL 3.1.5 30 Jan 2024)
$ node --enable-fips -p 'crypto.getFips()'
1
$ python3 -c "import ssl; print(ssl.OPENSSL_VERSION);"
OpenSSL 3.1.5 30 Jan 2024