Skip to content

Commit d49273c

Browse files
committed
docs/cosa/run.md: document how to test FIPS mode
This question came up in an internal chat.
1 parent bcac132 commit d49273c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/cosa/run.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,23 @@ $ cosa run --kargs 'foo bar'
109109
foo bar
110110
```
111111

112+
### FIPS mode
113+
114+
For example, to test FIPS mode:
115+
116+
```
117+
$ cosa run --kargs 'fips=1 boot=LABEL=boot'
118+
...
119+
[core@cosa-devsh ~]$ grep -o 'fips' /proc/cmdline
120+
fips
121+
[root@cosa-devsh ~]# update-crypto-policies --show
122+
FIPS
123+
[root@cosa-devsh ~]# fips-mode-setup --check
124+
FIPS mode is enabled.
125+
[root@cosa-devsh ~]# cat /proc/sys/crypto/fips_enabled
126+
1
127+
```
128+
112129
## Simulating a CoreOS install
113130

114131
With `--qemu-iso` and `--add-disk`, it's possible to run through the interactive

0 commit comments

Comments
 (0)