Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIPS enabled Kairos flavors #361

Closed
2 tasks done
Tracked by #113 ...
mudler opened this issue Nov 2, 2022 · 8 comments
Closed
2 tasks done
Tracked by #113 ...

FIPS enabled Kairos flavors #361

mudler opened this issue Nov 2, 2022 · 8 comments
Assignees
Labels
area/security documentation Improvements or additions to documentation

Comments

@mudler
Copy link
Member

mudler commented Nov 2, 2022

We want to enable and document the building of FIPS enabled Kairos flavors.

For this we need to:

  • Build all our binaries with golang flags that enable FIPS.
  • Document how to build a flavor with those packages.

aside the current ones which are statically built, needed for #116, we need the same binaries that we add to the rootfs built with fips to support BYOI:

  • Ubuntu 20.04
  • Ubuntu 22.04 (is not available yet)
  • RH

Aside : we pack as a static binary, even if CGO_ENABLED=1 ?

Depends on #1498

@mudler mudler mentioned this issue Nov 2, 2022
4 tasks
This was referenced May 23, 2023
@jimmykarily jimmykarily moved this to Under review 🔍 in 🧙Issue tracking board May 29, 2023
@jimmykarily jimmykarily moved this from Under review 🔍 to Todo 🖊 in 🧙Issue tracking board May 29, 2023
@Itxaka
Copy link
Member

Itxaka commented Jun 5, 2023

Couple of things.

  • we now got fips packages for our golang stuff that its included in the system (kcrypt,kcrypt-challenger, immucore, kairos-agent)
  • only ubuntu 20.04 and lower is supported for fips
  • you need a ubuntu pro subscription to enable fips
  • you need to activate the pro subcription and run the enable-fips which will install packages, including kernel.
  • AFAIK if you are in container mode, it will refuse to install the kernel.

So a bit problematic IMHO, pro subscription has to be done on runtime so we can enable fips and bundle the packages in the rootfs. But that would make us miss the fips kernel?

@jimmykarily
Copy link
Contributor

jimmykarily commented Jun 6, 2023

Let's do our part:

  • Provide fips enabled binaries for kairos-agent et al (?)
  • Enable this in "factory" (make sure it's possible to build)
  • Document how people can build fips enabled ubuntu flavors
  • Done

@jimmykarily jimmykarily moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Jun 6, 2023
@jimmykarily jimmykarily moved this from In Progress 🏃 to Todo 🖊 in 🧙Issue tracking board Jun 6, 2023
@jimmykarily
Copy link
Contributor

We need to try the same things with RHEL. Same plan as above. We try that and we document it.

@jimmykarily jimmykarily moved this from Todo 🖊 to Under review 🔍 in 🧙Issue tracking board Jun 12, 2023
@jimmykarily jimmykarily moved this from Under review 🔍 to Todo 🖊 in 🧙Issue tracking board Jun 12, 2023
@jimmykarily jimmykarily changed the title Packages built with fips Fips enabled Kairos flavors Jun 12, 2023
@Itxaka
Copy link
Member

Itxaka commented Jun 15, 2023

Packages are all built now under the fips category

@jimmykarily
Copy link
Contributor

jimmykarily commented Jun 22, 2023

Created PR to build a fips framework image so that users can build their own flavor following our docs: #1544

Docs: https://kairos.io/docs/reference/build-from-scratch/

@mauromorales mauromorales moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Jun 22, 2023
@jimmykarily
Copy link
Contributor

Framework image is there, docs are there. Done.

@github-project-automation github-project-automation bot moved this from In Progress 🏃 to Done ✅ in 🧙Issue tracking board Jun 26, 2023
@jimmykarily
Copy link
Contributor

Let's add a "fips" specific section in the docs page. Re-opening.

@jimmykarily jimmykarily reopened this Jun 26, 2023
@github-project-automation github-project-automation bot moved this from Done ✅ to Under review 🔍 in 🧙Issue tracking board Jun 26, 2023
@jimmykarily jimmykarily moved this from Under review 🔍 to Todo 🖊 in 🧙Issue tracking board Jun 26, 2023
@jimmykarily jimmykarily moved this from Todo 🖊 to Under review 🔍 in 🧙Issue tracking board Jun 26, 2023
@jimmykarily jimmykarily moved this from Under review 🔍 to Todo 🖊 in 🧙Issue tracking board Jun 26, 2023
@jimmykarily jimmykarily added the documentation Improvements or additions to documentation label Jun 26, 2023
@jimmykarily jimmykarily moved this from Todo 🖊 to In Progress 🏃 in 🧙Issue tracking board Jun 26, 2023
@jimmykarily jimmykarily self-assigned this Jun 26, 2023
@mauromorales
Copy link
Member

Closing since documentation has been added

@github-project-automation github-project-automation bot moved this from Under review 🔍 to Done ✅ in 🧙Issue tracking board Jun 27, 2023
@mauromorales mauromorales changed the title Fips enabled Kairos flavors FIPS enabled Kairos flavors Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/security documentation Improvements or additions to documentation
Projects
Archived in project
Development

No branches or pull requests

4 participants