in plugin mode: log only to a file and journal and in "debug" level by
default
in cli mode: respect the `--debug` flag and write to the stdout
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This will make debugging easier both while developing and in production.
No need to use it through the kcrypt binary anymore, because we might
not actually care about decrypting the disks but rather about getting
the passphrase from the KMS.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
- add new suite to the pipeline and fix Earthly to run tests
- read configuration from file
- the "kcrypt" section is our configuration now
- move configuration logic in `kcrypt` repository
Part of #399
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
in order to identify the partition. The label is not available before
the filesystem is descrypted (post-install). In that case the server can
look up the partition in the configuration using the name or the
mountpoint.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>