MCPcopy Index your code
hub / github.com/saltstack/salt / fips_enabled

Function fips_enabled

salt/crypt.py:97–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def fips_enabled():
98 if HAS_CRYPTOGRAPHY:
99 import cryptography.hazmat.backends.openssl.backend
100
101 return cryptography.hazmat.backends.openssl.backend._fips_enabled
102 return False
103
104
105def clean_key(key):

Callers 4

_write_privateFunction · 0.85
gen_keysFunction · 0.85
_enforce_fipsMethod · 0.85
verifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected