mirror of
https://github.com/kairos-io/kcrypt.git
synced 2025-09-08 10:20:51 +00:00
Several improvements
Bump cli from v2 to v3 Drop several outdated commands Drop unused libraries like config Improve the log process by unifying into a single one witht he same name Bump all deps Add a version command so its inline with our other binaries Add commit and go build info to version command Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
@@ -14,7 +14,6 @@ import (
|
||||
"github.com/jaypipes/ghw"
|
||||
"github.com/jaypipes/ghw/pkg/block"
|
||||
"github.com/kairos-io/kairos-sdk/types"
|
||||
configpkg "github.com/kairos-io/kcrypt/pkg/config"
|
||||
)
|
||||
|
||||
func CreateLuks(dev, password string, cryptsetupArgs ...string) error {
|
||||
@@ -90,7 +89,7 @@ func Luksify(label string, logger types.KairosLogger, argsCreate ...string) (str
|
||||
return "", err
|
||||
}
|
||||
|
||||
return configpkg.PartitionToString(b), nil
|
||||
return fmt.Sprintf("%s:%s:%s", b.FilesystemLabel, b.Name, b.UUID), nil
|
||||
}
|
||||
|
||||
// LuksifyMeasurements takes a label and a list if public-keys and pcrs to bind and uses the measurements
|
||||
|
Reference in New Issue
Block a user