Skip to content

Commit

Permalink
fix: fix deprecated ecdsa support in verify (#408)
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <asraa@google.com>

Signed-off-by: Asra Ali <asraa@google.com>
  • Loading branch information
asraa authored Sep 27, 2022
1 parent a30f801 commit 7b3e489
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/verify/app/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ import (
"github.com/theupdateframework/go-tuf/client"
"github.com/theupdateframework/go-tuf/data"
"github.com/theupdateframework/go-tuf/verify"

// Allow deprecated ECDSA key formats for v5.
// TODO(https://github.com/sigstore/root-signing/issues/381): Cleanup after v5
_ "github.com/theupdateframework/go-tuf/pkg/deprecated/set_ecdsa"
)

type bufferDestination struct {
Expand Down

0 comments on commit 7b3e489

Please sign in to comment.