Skip to content

Add test suite in case of FIPS is enabled #747

@phracek

Description

@phracek

It would be nice to test in upstream also python container in case of FIPS is enabled on host machine.

  1. In case of FIPS mode is disabled on host, then Python FIPS mode should not be execute at all or it should fail.
  2. In case of FIPS mode is enabled on host, then detection if FIPS mode from python point of view has to passed.

The detection of FIPS mode is present in this file /proc/sys/crypto/fips_enabled.

It would be nice to have two test cases.

A similar pull request in s2i-nodejs-container is here: github.com/sclorg/s2i-nodejs-container/pull/493, where you can take inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions