Commit Graph

11 Commits

Author SHA1 Message Date
Itxaka
ae2e2d7758
Override the ghw paths on ghw mock (#496) 2024-09-17 13:10:26 +02:00
Itxaka
64886b7301
Clean up ghw (#494) 2024-09-16 15:54:10 +02:00
Itxaka
ea5c6c7028
Bring GHW clone and partition type into sdk (#492) 2024-09-12 15:25:19 +02:00
Itxaka
a0c7d13520
Port signature utils to sdk from agent (#117)
It was added first to agent as it was needed for upgrade but if we are
gonna reuse this to check for signature validity in random files, we
better have it on sdk so we can use it both on agent and immucore and
works exactly the same

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-06-04 08:31:00 +02:00
Itxaka
6364d90a12
Add a method to return full certs (#103)
* Add a method to return full certs

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix lint

Signed-off-by: Itxaka <itxaka@kairos.io>

* Rework the cert extraction

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-18 13:11:52 +00:00
Itxaka
599359ec30
Print the EFI certs in the state command (#98)
* Print the EFI certs in the state command

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix key for yaml/json output

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix go.mod

Signed-off-by: Itxaka <itxaka@kairos.io>

* Move things around

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix format

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-17 14:57:57 +00:00
Itxaka
d729cc787c
Provide a util method to get the certs in the system (#96) 2024-04-17 14:00:34 +02:00
Itxaka
1c55cf24d3
This makes it so it implements other logger interfaces fully (#72) 2024-03-01 11:53:08 +01:00
Itxaka
b3dfedfacb Add milliseconds to log files
Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-01 09:35:17 +01:00
Itxaka
e0ea9975a4
New logger (#70) 2024-02-28 09:29:02 +01:00
Itxaka
9e420d9015
Add KairosFS type and detectBoot with FS (#46) 2023-09-01 15:31:04 +03:00