Skip to content

Commit

Permalink
Bump github.com/miekg/pkcs11 from 1.0.3 to 1.1.1 (#140)
Browse files Browse the repository at this point in the history
* Bump github.com/miekg/pkcs11 from 1.0.3 to 1.1.1

Bumps [github.com/miekg/pkcs11](https://github.com/miekg/pkcs11) from 1.0.3 to 1.1.1.
- [Release notes](https://github.com/miekg/pkcs11/releases)
- [Changelog](https://github.com/miekg/pkcs11/blob/master/Makefile.release)
- [Commits](miekg/pkcs11@v1.0.3...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/miekg/pkcs11
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix test

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aditya Mahendrakar <[email protected]>
  • Loading branch information
dependabot[bot] and maditya authored Mar 18, 2022
1 parent ff7e910 commit 203f61e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ ignore:
- "**/*.pb.go" # ignore generated protos
- "**/*.pb.gw.go" # ignore generated protos

coverage:
status:
project:
default:
target: auto
# for flaky test coverage calculation
# https://docs.codecov.com/docs/common-recipe-list#ease-target-coverage
threshold: 2%
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/golang/mock v1.6.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.8.0
github.com/miekg/pkcs11 v1.0.3
github.com/miekg/pkcs11 v1.1.1
github.com/stretchr/testify v1.7.1
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
golang.org/x/mod v0.5.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/miekg/pkcs11 v1.0.3 h1:iMwmD7I5225wv84WxIG/bmxz9AXjWvTWIbM/TYHvWtw=
github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/miekg/pkcs11 v1.1.1 h1:Ugu9pdy6vAYku5DEpVWVFPYnzV+bxB+iRdbuFSu7TvU=
github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
4 changes: 2 additions & 2 deletions pkcs11/login_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func Test_openLoginSession(t *testing.T) {
AnyTimes()

mockCtx.EXPECT().
Login(tt.session, p11.CKU_USER, gomock.Any()).
Login(tt.session, uint(p11.CKU_USER), gomock.Any()).
Return(tt.errMsg["Login"]).
AnyTimes()

Expand Down Expand Up @@ -283,7 +283,7 @@ func Test_getLoginSessions(t *testing.T) {
AnyTimes()

args.p11ctx.EXPECT().
Login(gomock.Any(), p11.CKU_USER, gomock.Any()).
Login(gomock.Any(), uint(p11.CKU_USER), gomock.Any()).
Return(tt.errMsg["Login"]).
AnyTimes()

Expand Down

0 comments on commit 203f61e

Please sign in to comment.