How to determine whether Federal Information Processing Standard (FIPS) is enabled


When you use SSH algorithms (such as ED25519) to create SSH keys to be used with GIT in SAS Studio, errors might occur if you enable Federal Information Processing Standard (FIPS).

This issue occurs because not all SSH algorithms are FIPS-compliant.

To determine whether FIPS is enabled, run the following code:

Note: You need to enable NB ALLOWXCMD to be able to run the code.

filename fipschk pipe "cat /proc/sys/crypto/fips_enabled";

data _null_;   

 infile fipschk;   

input;   

put "FIPS mode: " _infile_;

run; 

The output will either be 0 or 1:

FIPS mode: 0

If FIPS is in place, to work around this issue, do either of the following: