Skip to content

Commit

Permalink
make sure tpm is disabled for now
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Oct 17, 2022
1 parent 8df5a51 commit 5b8a59b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/identity/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import (

const (
seedName = "seed.txt"
// disableTpm support completely for now
// until all tests (PRC changes) are covered
disableTpm = true
)

// NewStore tries to build the best key store available
Expand All @@ -22,7 +25,7 @@ const (
// deleted (only if delete is set to true)
func NewStore(root string, delete bool) (store.Store, error) {
file := store.NewFileStore(filepath.Join(root, seedName))
if !store.IsTPMEnabled() {
if disableTpm || !store.IsTPMEnabled() {
return file, nil
}

Expand Down

0 comments on commit 5b8a59b

Please sign in to comment.