Commit Graph

108 Commits

Author SHA1 Message Date
renovate[bot]
64a7bfceb6
Update module github.com/urfave/cli to v1.22.14 (#77)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 01:17:07 +00:00
renovate[bot]
bbee8a854c
Update module github.com/urfave/cli to v2 (#76)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 22:15:12 +00:00
renovate[bot]
2870428fe1
Update module github.com/urfave/cli to v1.22.14 (#75)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 22:14:01 +00:00
renovate[bot]
b1e5a5e216
Update module github.com/urfave/cli to v2 (#73)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 04:20:00 +00:00
renovate[bot]
8ba74d9b71
Update module github.com/urfave/cli to v1.22.14 (#71)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:18:17 +00:00
renovate[bot]
ed614fe9db
Update module gopkg.in/yaml.v1 to v3 (#68)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:17:32 +00:00
renovate[bot]
087f75d1a7
Update module github.com/urfave/cli to v2 (#72)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:15:42 +00:00
renovate[bot]
ab6ca18ebc
Update module github.com/urfave/cli to v2 (#70)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 23:20:39 +00:00
renovate[bot]
72a6cc004d
Update module github.com/urfave/cli to v1.22.14 (#69)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 23:19:29 +00:00
renovate[bot]
70067c9e5b
Update module github.com/urfave/cli to v2 (#67)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 13:15:13 +00:00
renovate[bot]
3828d4261f
Update module github.com/kairos-io/kairos-sdk to v0.1.0 (#65)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 13:12:40 +00:00
renovate[bot]
0d953c48c7
Update module github.com/urfave/cli to v1.22.14 (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 13:10:24 +00:00
renovate[bot]
11e87b839c
Update module github.com/urfave/cli to v2 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:51:32 +00:00
renovate[bot]
e18aa51c47
Update module gopkg.in/yaml.v1 to v3 (#30)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:50:17 +00:00
renovate[bot]
66d8bd752d
Update module github.com/onsi/ginkgo/v2 to v2.17.1 (#51)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:48:45 +00:00
renovate[bot]
c0fa3e5690
Update module k8s.io/apimachinery to v0.29.3 (#36)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:46:49 +00:00
renovate[bot]
6ea10abdc5
Update module github.com/otiai10/copy to v1.14.0 (#27)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:44:59 +00:00
dependabot[bot]
e2a5d3b2e9
Bump github.com/docker/docker (#55)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.5+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.5...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:33:14 +00:00
Ettore Di Giacinto
9a533c82ed
Merge pull request #52 from kairos-io/renovate/github.com-onsi-gomega-1.x
Update module github.com/onsi/gomega to v1.32.0
2024-04-15 12:31:18 +02:00
Ettore Di Giacinto
37e601bf9e
Merge pull request #25 from kairos-io/renovate/github.com-jaypipes-ghw-0.x
Update module github.com/jaypipes/ghw to v0.12.0
2024-04-15 12:30:50 +02:00
renovate[bot]
694a62be4b
Update module github.com/onsi/gomega to v1.32.0 2024-04-15 10:29:33 +00:00
renovate[bot]
efa40fd4aa
Update module github.com/jaypipes/ghw to v0.12.0 2024-04-15 10:29:18 +00:00
renovate[bot]
085e05c9e8
Update github.com/anatol/luks.go digest to fb3724e 2024-04-15 10:29:13 +00:00
Ettore Di Giacinto
693d13a1a1
Merge pull request #57 from kairos-io/dependabot/go_modules/google.golang.org/protobuf-1.33.0
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0
2024-04-15 12:28:38 +02:00
dependabot[bot]
ebed6d3c47
Bump golang.org/x/crypto from 0.16.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 10:25:41 +00:00
dependabot[bot]
fdd32a17fd
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 10:24:59 +00:00
dependabot[bot]
8c7c1a2a37
Bump github.com/docker/distribution (#56)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 12:23:25 +02:00
renovate[bot]
448860b21a Update module github.com/kairos-io/kairos-sdk to v0.0.30 2024-04-12 23:23:07 +00:00
renovate[bot]
05628aef6d Update module github.com/kairos-io/kairos-sdk to v0.0.29 2024-04-08 22:39:23 +00:00
renovate[bot]
d8eafb6833 Update module github.com/kairos-io/kairos-sdk to v0.0.28 2024-03-28 04:20:57 +00:00
renovate[bot]
fd707b8535 Update module github.com/kairos-io/kairos-sdk to v0.0.27 2024-03-23 00:25:48 +00:00
renovate[bot]
4715d081ec Update module github.com/kairos-io/kairos-sdk to v0.0.26 2024-03-01 00:16:23 +00:00
renovate[bot]
6b1652b8fa Update module github.com/kairos-io/kairos-sdk to v0.0.25 2024-02-20 01:19:26 +00:00
Dimitris Karakasilis
fcf834a5b0
Add wrapper method to pass down a logger to UnlockAll
so that when called from immucore, we can write to the immucore log file

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-02-19 12:27:54 +02:00
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
Mauro Morales
57aef89b02
⬆️ bump go version to 1.20.2
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 16:59:56 +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
Ettore Di Giacinto
06a8eff25f Minor fixups 2022-10-04 17:08:20 +00:00
mudler
b05d3c1e54 Initial import 2022-10-03 11:03:48 +02:00