FiligranHQ / docker-python-nodejs-fips

Docker images for NodeJS and Python using FIPS OpenSSL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐳 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

About

Docker images for NodeJS and Python using FIPS OpenSSL

License:Apache License 2.0