Commit Graph

22 Commits

Author SHA1 Message Date
renovate[bot]
98c0620d40 Update module github.com/kairos-io/kairos-sdk to v0.0.24 2024-02-01 22:34:55 +00:00
renovate[bot]
366724e0cb
Update module github.com/onsi/gomega to v1.31.1 (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 10:02:30 +01:00
renovate[bot]
d6c3e42b43
Update module github.com/onsi/ginkgo/v2 to v2.15.0 (#44)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 10:01:11 +01:00
renovate[bot]
8d52ffab85
Update module github.com/onsi/ginkgo/v2 to v2.14.0 2024-01-11 22:04:59 +00:00
renovate[bot]
96d9945ef9 Update module github.com/kairos-io/kairos-sdk to v0.0.23 2024-01-08 23:12:49 +00:00
renovate[bot]
fc40b9d37c Update module github.com/kairos-io/kairos-sdk to v0.0.22 2024-01-06 00:09:50 +00:00
renovate[bot]
27e8a5f08e Update module github.com/kairos-io/kairos-sdk to v0.0.21 2024-01-03 22:20:56 +00:00
renovate[bot]
b9c4f3eeb3 Update module github.com/onsi/ginkgo/v2 to v2.13.2 2024-01-03 15:27:45 +00:00
renovate[bot]
f4a8e271ce
Update module github.com/onsi/gomega to v1.30.0 2024-01-03 12:57:52 +00:00
renovate[bot]
12a8d5d33c Update module github.com/kairos-io/kairos-sdk to v0.0.18 2023-12-06 23:19:13 +00:00
renovate[bot]
ce877a2a7f Update module github.com/kairos-io/kairos-sdk to v0.0.16 2023-11-30 22:29:59 +00:00
renovate[bot]
e86d8e5595 Update module github.com/urfave/cli to v1.22.14 2023-11-30 13:45:11 +00:00
Itxaka
e43da08f2d Allow passing flags to luksify
flags for luks version and use tpm

Signed-off-by: Itxaka <itxaka@kairos.io>
2023-11-30 11:01:39 +01:00
renovate[bot]
4ec8386ac8 Update module github.com/kairos-io/kairos-sdk to v0.0.15 2023-10-29 02:43:40 +00:00
Itxaka
166b8802ea Drop kairos lib and use sdk instead
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-14 15:03:31 +02:00
Itxaka
36f861fd0c Use reproducible UUIDs for partition identification
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-04 12:07:21 +02:00
Dimitris Karakasilis
ff42570ec7
Fix go.sum/go.mod with go mod tidy
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-29 17:29:41 +03:00
Mauro Morales
f977f72e8d
Switch to using new collector pkg
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:27:55 +03:00
Dimitris Karakasilis
11bfa53dc1
Bump go-pluggable to show output from kcrypt-challenger when something fails
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-08 16:15:05 +02:00
Dimitris Karakasilis
018322ff00
Move from partition_info to config package
Now the kcrypt configuration will be just a block (`kcrypt`) in the regular
kairos configuration files.

We will use the config mechanism of looking up in multiple directories
becase the old code was only looking at `/oem` but at boot time
(initramfs) the configuration was present in `/sysroot/oem`.

The reason it "worked" was that we had a bug and a sealedvolume was
matching our request simply because we sent an empty UUID/Label/Name
and the sealedvolume had and empty UUID (empty matches empty, right?)

With that fixed on the challenger server side, it became obvious that we
never actually read the partition_info file because we were looking for
it at the wrong place.

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-01-18 14:55:25 +02:00
Dimitris Karakasilis
82c6e8fcd0
Create parition info parsing library
to be used both here (when trying to find the partition UUID using a
label) and on the kairos side when updating the file after calling
kcrypt to encrypt a partition (which causes the UUID to change).

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2022-11-11 10:55:46 +02:00
mudler
b05d3c1e54 Initial import 2022-10-03 11:03:48 +02:00