Skip to content

Commit

Permalink
Merge pull request #51 from smallstep/upgrade-crypto
Browse files Browse the repository at this point in the history
Upgrade go.step.sm/crypto and Go version
  • Loading branch information
maraino authored Mar 7, 2023
2 parents 39ba7d0 + 83325bd commit e98325b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PKG?=github.com/smallstep/step-kms-plugin
BINNAME?=step-kms-plugin
GOLANG_CROSS_VERSION?=v1.20
GOLANG_CROSS_VERSION?=v1.20.1

# Set V to 1 for verbose output from the Makefile
Q=$(if $V,,@)
Expand Down Expand Up @@ -111,15 +111,15 @@ release-dev:
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PKG) \
-w /go/src/$(PKG) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION}
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION}

release-dry-run:
$Q @docker run --rm --privileged -e CGO_ENABLED=1 \
--entrypoint /go/src/$(PKG)/docker/build/entrypoint.sh \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PKG) \
-w /go/src/$(PKG) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
--clean --skip-validate --skip-publish

release:
Expand All @@ -132,7 +132,7 @@ release:
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PKG) \
-w /go/src/$(PKG) \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --clean

.PHONY: release-dev release-dry-run release
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/fxamacker/cbor/v2 v2.4.0
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
go.step.sm/crypto v0.25.2
go.step.sm/crypto v0.26.0
golang.org/x/crypto v0.7.0
golang.org/x/term v0.6.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcY
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.step.sm/crypto v0.25.2 h1:NgoI3bcNF0iLI+Rwq00brlJyFfMqseLOa8L8No3Daog=
go.step.sm/crypto v0.25.2/go.mod h1:4pUEuZ+4OAf2f70RgW5oRv/rJudibcAAWQg5prC3DT8=
go.step.sm/crypto v0.26.0 h1:mWie6FVOkhwJtyOA1EFCOZntx5e2cbM3FfwALu2goY0=
go.step.sm/crypto v0.26.0/go.mod h1:4pUEuZ+4OAf2f70RgW5oRv/rJudibcAAWQg5prC3DT8=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
Expand Down

0 comments on commit e98325b

Please sign in to comment.