👁 查看:fips-setup-helper
路径:/usr/libexec/fips-setup-helper
大小:333 B · 修改:2026-02-24 11:47:32 · 权限:0755 · 只读
#!/usr/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later

# Private interface, subject to change, do not use.

set -ueo pipefail
context=$1
[[ "$context" == 'anaconda' ]]

FIPS_MODE_SETUP_SKIP_WARNING=1 exec fips-mode-setup --enable --no-bootcfg

# In the future, it should be reduced to just
# update-crypto-policies --set FIPS