Skip to content

Commit 1f9d575

Browse files
build(deps): bump github.com/miekg/pkcs11 from 1.0.3 to 1.1.2 (#1191)
* build(deps): bump github.com/miekg/pkcs11 from 1.0.3 to 1.1.2 Bumps [github.com/miekg/pkcs11](https://github.com/miekg/pkcs11) from 1.0.3 to 1.1.2. - [Changelog](https://github.com/miekg/pkcs11/blob/master/release.go) - [Commits](miekg/pkcs11@v1.0.3...v1.1.2) --- updated-dependencies: - dependency-name: github.com/miekg/pkcs11 dependency-version: 1.1.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Updating types to match updated pkcs11 * Reran mockgen --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Cottner <[email protected]>
1 parent 0efe088 commit 1f9d575

File tree

14 files changed

+1028
-787
lines changed

14 files changed

+1028
-787
lines changed

crypto11/crypto11.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ type PKCS11Context interface {
183183
GetAttributeValue(sh pkcs11.SessionHandle, o pkcs11.ObjectHandle, a []*pkcs11.Attribute) ([]*pkcs11.Attribute, error)
184184
GetSlotList(tokenPresent bool) ([]uint, error)
185185
GetTokenInfo(slotID uint) (pkcs11.TokenInfo, error)
186-
Initialize() error
186+
Initialize(opts ...pkcs11.InitializeOption) error
187187
Login(sh pkcs11.SessionHandle, userType uint, pin string) error
188188
OpenSession(slotID uint, flags uint) (pkcs11.SessionHandle, error)
189189
Sign(sh pkcs11.SessionHandle, message []byte) ([]byte, error)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/gorilla/mux v1.8.0
1515
github.com/hashicorp/golang-lru v0.5.4
1616
github.com/lib/pq v1.10.9
17-
github.com/miekg/pkcs11 v1.0.3
17+
github.com/miekg/pkcs11 v1.1.2
1818
github.com/mozilla-services/yaml v0.0.0-20191106225358-5c216288813c
1919
github.com/prometheus/client_golang v1.23.2
2020
github.com/sirupsen/logrus v1.9.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHP
227227
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
228228
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
229229
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
230-
github.com/miekg/pkcs11 v1.0.3 h1:iMwmD7I5225wv84WxIG/bmxz9AXjWvTWIbM/TYHvWtw=
231-
github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
230+
github.com/miekg/pkcs11 v1.1.2 h1:/VxmeAX5qU6Q3EwafypogwWbYryHFmF2RpkJmw3m4MQ=
231+
github.com/miekg/pkcs11 v1.1.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
232232
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
233233
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
234234
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=

internal/mockpkcs11/context.go

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/miekg/pkcs11/.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

vendor/github.com/miekg/pkcs11/README.md

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)