diff --git a/go.mod b/go.mod index 74706ccf70..180cf3e71f 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/atotto/clipboard v0.1.4 github.com/blang/semver/v4 v4.0.0 github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b - github.com/cenkalti/backoff v2.2.1+incompatible + github.com/cenkalti/backoff/v4 v4.3.0 github.com/dustin/go-humanize v1.0.1 github.com/ergochat/readline v0.1.0 github.com/fatih/color v1.16.0 @@ -53,7 +53,6 @@ require ( filippo.io/edwards25519 v1.1.0 // indirect github.com/alessio/shellescape v1.4.2 // indirect github.com/boombuler/barcode v1.0.1 // indirect - github.com/cenkalti/backoff/v4 v4.3.0 // indirect github.com/cloudflare/circl v1.3.7 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect github.com/danieljoos/wincred v1.2.1 // indirect diff --git a/go.sum b/go.sum index 8be91afa92..46dc449a91 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,6 @@ github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b h1:2K3B6Xm7/lnhOugeGB3nIk50bZ9zhuJvXCEfUuL68ik= github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b/go.mod h1:4rP9T6iHCuPAIDKdNaZfTuuqSIoQQvFctNWIAUI1rlg= -github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= -github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= diff --git a/internal/updater/download.go b/internal/updater/download.go index 6d0a2f0098..93fabd5b7f 100644 --- a/internal/updater/download.go +++ b/internal/updater/download.go @@ -9,7 +9,7 @@ import ( "net/http" "time" - "github.com/cenkalti/backoff" + "github.com/cenkalti/backoff/v4" "github.com/gopasspw/gopass/pkg/ctxutil" "github.com/gopasspw/gopass/pkg/debug" "github.com/gopasspw/gopass/pkg/termio" diff --git a/pkg/tempfile/mount_darwin.go b/pkg/tempfile/mount_darwin.go index 9b075dc85a..b3dcdb54a9 100644 --- a/pkg/tempfile/mount_darwin.go +++ b/pkg/tempfile/mount_darwin.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/cenkalti/backoff" + "github.com/cenkalti/backoff/v4" "github.com/gopasspw/gopass/pkg/debug" )