boulder/core
Daniel McCarney a6f2b0fafb Updates `go-jose` dep to v1.1.0 (#2314)
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
```
2016-11-08 13:56:50 -05:00
..
proto Switch to Golang 1.7.3 in travis (#2305) 2016-11-07 10:49:23 -08:00
challenges.go Remove last vestiges of challenge.AccountKey. (#1949) 2016-06-21 16:25:58 -07:00
core_test.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
interfaces.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
objects.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
objects_test.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
reverse-name.go Store a DB of issued names. 2015-09-28 19:37:50 -07:00
util.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
util_test.go Updates `go-jose` dep to v1.1.0 (#2314) 2016-11-08 13:56:50 -05:00
va.go Implement gRPC for VA's RPCs (#1738) 2016-05-31 16:44:48 -07:00