Skip to content

Commit

Permalink
chore: update dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Walter <[email protected]>
  • Loading branch information
walterchris committed Aug 12, 2024
1 parent 899d725 commit e276767
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion cmd/core/txt-prov/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"
"github.com/google/go-tpm/tpm"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
log "github.com/sirupsen/logrus"
"golang.org/x/term"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/core/txt-suite/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/9elements/converged-security-suite/v2/pkg/test"
"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"

"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/bruteforcer"
"github.com/9elements/converged-security-suite/v2/pkg/registers"
"github.com/9elements/converged-security-suite/v2/pkg/uefi"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

// Command is the implementation of `commands.Command`.
Expand Down
2 changes: 1 addition & 1 deletion cmd/exp/pcr0tool/commands/pcrread/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"

"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm/pcr"
"github.com/9elements/converged-security-suite/v2/pkg/tpm"
Expand Down
2 changes: 1 addition & 1 deletion cmd/exp/pcr0tool/commands/sum/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/registers"
"github.com/9elements/converged-security-suite/v2/pkg/tpmeventlog"
"github.com/facebookincubator/go-belt/tool/logger"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

func usageAndExit() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/actions/tpmactions/tpm_extend.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm"
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm/pcr"
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/types"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

// TPMExtend is a representation of `TPM2_PCR_Extend`.
Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/steps/intelsteps/measure_pcr0_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/types"
"github.com/9elements/converged-security-suite/v2/pkg/registers"
"github.com/9elements/converged-security-suite/v2/pkg/tpmeventlog"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
pkgbytes "github.com/linuxboot/fiano/pkg/bytes"
manifest "github.com/linuxboot/fiano/pkg/intel/metadata/cbnt"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/subsystems/trustchains/tpm/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/facebookincubator/go-belt/tool/logger"
"github.com/facebookincubator/go-belt/tool/logger/implementation/logrus"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/subsystems/trustchains/tpm/pcr/algorithm.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pcr

import "github.com/google/go-tpm/tpm2"
import "github.com/google/go-tpm/legacy/tpm2"

// Algorithm is just a type-alias.
type Algorithm = tpm2.Algorithm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/tpmeventlog"
"github.com/facebookincubator/go-belt/tool/experimental/errmon"
"github.com/facebookincubator/go-belt/tool/logger"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
pkgbytes "github.com/linuxboot/fiano/pkg/bytes"
"github.com/xaionaro-go/unhash/pkg/unhash"
"golang.org/x/exp/constraints"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/facebookincubator/go-belt/tool/logger"
"github.com/facebookincubator/go-belt/tool/logger/implementation/logrus"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/subsystems/trustchains/tpm/pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"hash"
"sync"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

var hasherPools = [0xffff]sync.Pool{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/bootflow/subsystems/trustchains/tpm/tpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm/pcr"
"github.com/9elements/converged-security-suite/v2/pkg/bootflow/types"
"github.com/9elements/converged-security-suite/v2/pkg/tpmeventlog"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/auxdefine.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

tpm2 "github.com/google/go-tpm/tpm2"
tpm2 "github.com/google/go-tpm/legacy/tpm2"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

tpm2 "github.com/google/go-tpm/tpm2"
tpm2 "github.com/google/go-tpm/legacy/tpm2"
tpmutil "github.com/google/go-tpm/tpmutil"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/psdefine.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

tpm2 "github.com/google/go-tpm/tpm2"
tpm2 "github.com/google/go-tpm/legacy/tpm2"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/psdelete.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/google/go-tpm/tpmutil"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/pswrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"

"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/google/go-tpm/tpmutil"

log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"

tools "github.com/9elements/converged-security-suite/v2/pkg/tools"
tpm2 "github.com/google/go-tpm/tpm2"
tpm2 "github.com/google/go-tpm/legacy/tpm2"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/provisioning/txt/structures.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package txt
import (
"crypto"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/google/go-tpm/tpmutil"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/test/test_preset.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

// PreSet set of pre-defined assumptions
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

func TestTest_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/tpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/tools"
"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"
tpm1 "github.com/google/go-tpm/tpm"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

// nolint
Expand Down
2 changes: 1 addition & 1 deletion pkg/tools/acm.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"io"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/linuxboot/fiano/pkg/intel/metadata/fit"

log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tools/lcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"

log "github.com/sirupsen/logrus"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tpm/read_pcr_from_tpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/9elements/converged-security-suite/v2/pkg/errors"
"github.com/9elements/go-linux-lowlevel-hw/pkg/hwapi"
tpm1 "github.com/google/go-tpm/tpm"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/marcoguerri/go-tpm-tcti/abrmd"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/tpmeventlog/replay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm/pcr"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/tpmeventlog/tpm_event_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/9elements/converged-security-suite/v2/pkg/bootflow/subsystems/trustchains/tpm/pcr"
"github.com/google/go-attestation/attest"
"github.com/google/go-tpm/tpm2"
"github.com/google/go-tpm/legacy/tpm2"
)

// TPMEventLog is a parsed EventLog.
Expand Down

0 comments on commit e276767

Please sign in to comment.