This commit updates the `go-jose` dependency to [v1.1.0](https://github.com/square/go-jose/releases/tag/v1.1.0) (Commit: aa2e30fdd1fe9dd3394119af66451ae790d50e0d). Since the import path changed from `github.com/square/...` to `gopkg.in/square/go-jose.v1/` this means removing the old dep and adding the new one. The upstream go-jose library added a `[]*x509.Certificate` member to the `JsonWebKey` struct that prevents us from using a direct equality test against two `JsonWebKey` instances. Instead we now must compare the inner `Key` members. The `TestRegistrationContactUpdate` function from `ra_test.go` was updated to populate the `Key` members used in testing instead of only using KeyID's to allow the updated comparisons to work as intended. The `Key` field of the `Registration` object was switched from `jose.JsonWebKey` to `*jose.JsonWebKey ` to make it easier to represent a registration w/o a Key versus using a value with a nil `JsonWebKey.Key`. I verified the upstream unit tests pass per contributing.md: ``` daniel@XXXXX:~/go/src/gopkg.in/square/go-jose.v1$ git show commit aa2e30fdd1fe9dd3394119af66451ae790d50e0d Merge: 139276c e18a743 Author: Cedric Staub <cs@squareup.com> Date: Thu Sep 22 17:08:11 2016 -0700 Merge branch 'master' into v1 * master: Better docs explaining embedded JWKs Reject invalid embedded public keys Improve multi-recipient/multi-sig handling daniel@XXXXX:~/go/src/gopkg.in/square/go-jose.v1$ go test ./... ok gopkg.in/square/go-jose.v1 17.599s ok gopkg.in/square/go-jose.v1/cipher 0.007s ? gopkg.in/square/go-jose.v1/jose-util [no test files] ok gopkg.in/square/go-jose.v1/json 1.238s ``` |
||
|---|---|---|
| .. | ||
| proto | ||
| challenges.go | ||
| core_test.go | ||
| interfaces.go | ||
| objects.go | ||
| objects_test.go | ||
| reverse-name.go | ||
| util.go | ||
| util_test.go | ||
| va.go | ||