Skip to content

Commit 294a443

Browse files
committed
replace imports
Signed-off-by: everettraven <[email protected]>
1 parent f64b02c commit 294a443

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+37
-4779
lines changed

forks/go-jose/asymmetric.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import (
2929
"math/big"
3030

3131
"golang.org/x/crypto/ed25519"
32-
josecipher "gopkg.in/go-jose/go-jose.v2/cipher"
33-
"gopkg.in/go-jose/go-jose.v2/json"
32+
josecipher "gopkg.in/square/go-jose.v2/cipher"
33+
"gopkg.in/square/go-jose.v2/json"
3434
)
3535

3636
// A generic RSA-based encrypter/verifier

forks/go-jose/crypter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"fmt"
2424
"reflect"
2525

26-
"gopkg.in/go-jose/go-jose.v2/json"
26+
"gopkg.in/square/go-jose.v2/json"
2727
)
2828

2929
// Encrypter represents an encrypter which produces an encrypted JWE object.

forks/go-jose/cryptosigner/cryptosigner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"math/big"
3030

3131
"golang.org/x/crypto/ed25519"
32-
"gopkg.in/go-jose/go-jose.v2"
32+
"gopkg.in/square/go-jose.v2"
3333
)
3434

3535
// Opaque creates an OpaqueSigner from a "crypto".Signer

forks/go-jose/encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"strings"
2828
"unicode"
2929

30-
"gopkg.in/go-jose/go-jose.v2/json"
30+
"gopkg.in/square/go-jose.v2/json"
3131
)
3232

3333
// Helper function to serialize known-good objects.

forks/go-jose/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gopkg.in/square/go-jose
1+
module gopkg.in/square/go-jose.v2
22

33
go 1.19
44

forks/go-jose/jose-util/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"os"
2323

2424
"github.com/alecthomas/kingpin/v2"
25-
"gopkg.in/go-jose/go-jose.v2"
25+
"gopkg.in/square/go-jose.v2"
2626
)
2727

2828
var (

forks/go-jose/jose-util/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"encoding/pem"
2222
"errors"
2323
"fmt"
24-
"gopkg.in/go-jose/go-jose.v2"
24+
"gopkg.in/square/go-jose.v2"
2525
)
2626

2727
func LoadJSONWebKey(json []byte, pub bool) (*jose.JSONWebKey, error) {

forks/go-jose/jwe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222
"strings"
2323

24-
"gopkg.in/go-jose/go-jose.v2/json"
24+
"gopkg.in/square/go-jose.v2/json"
2525
)
2626

2727
// rawJSONWebEncryption represents a raw JWE JSON object. Used for parsing/serializing.

forks/go-jose/jwk-keygen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"golang.org/x/crypto/ed25519"
3232

3333
"github.com/alecthomas/kingpin/v2"
34-
"gopkg.in/go-jose/go-jose.v2"
34+
"gopkg.in/square/go-jose.v2"
3535
)
3636

3737
var (

forks/go-jose/jwk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636

3737
"golang.org/x/crypto/ed25519"
3838

39-
"gopkg.in/go-jose/go-jose.v2/json"
39+
"gopkg.in/square/go-jose.v2/json"
4040
)
4141

4242
// rawJSONWebKey represents a public or private key in JWK format, used for parsing/serializing.

forks/go-jose/jws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"fmt"
2424
"strings"
2525

26-
"gopkg.in/go-jose/go-jose.v2/json"
26+
"gopkg.in/square/go-jose.v2/json"
2727
)
2828

2929
// rawJSONWebSignature represents a raw JWS JSON object. Used for parsing/serializing.

forks/go-jose/jwt/builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"bytes"
2222
"reflect"
2323

24-
"gopkg.in/go-jose/go-jose.v2/json"
24+
"gopkg.in/square/go-jose.v2/json"
2525

26-
"gopkg.in/go-jose/go-jose.v2"
26+
"gopkg.in/square/go-jose.v2"
2727
)
2828

2929
// Builder is a utility for making JSON Web Tokens. Calls can be chained, and

forks/go-jose/jwt/claims.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"strconv"
2222
"time"
2323

24-
"gopkg.in/go-jose/go-jose.v2/json"
24+
"gopkg.in/square/go-jose.v2/json"
2525
)
2626

2727
// Claims represents public claim values (as specified in RFC 7519).

forks/go-jose/jwt/jwt.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"fmt"
2222
"strings"
2323

24-
jose "gopkg.in/go-jose/go-jose.v2"
25-
"gopkg.in/go-jose/go-jose.v2/json"
24+
jose "gopkg.in/square/go-jose.v2"
25+
"gopkg.in/square/go-jose.v2/json"
2626
)
2727

2828
// JSONWebToken represents a JSON Web Token (as specified in RFC7519).

forks/go-jose/shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"errors"
2424
"fmt"
2525

26-
"gopkg.in/go-jose/go-jose.v2/json"
26+
"gopkg.in/square/go-jose.v2/json"
2727
)
2828

2929
// KeyAlgorithm represents a key management algorithm.

forks/go-jose/signing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

2727
"golang.org/x/crypto/ed25519"
2828

29-
"gopkg.in/go-jose/go-jose.v2/json"
29+
"gopkg.in/square/go-jose.v2/json"
3030
)
3131

3232
// NonceSource represents a source of random nonces to go into JWS objects

forks/go-jose/symmetric.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"io"
3232

3333
"golang.org/x/crypto/pbkdf2"
34-
"gopkg.in/go-jose/go-jose.v2/cipher"
34+
"gopkg.in/square/go-jose.v2/cipher"
3535
)
3636

3737
// Random reader (stubbed out in tests)

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ require (
237237
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
238238
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
239239
google.golang.org/grpc v1.59.0 // indirect
240-
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
241240
gopkg.in/inf.v0 v0.9.1 // indirect
242241
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
243242
gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 // indirect

vendor/gopkg.in/go-jose/go-jose.v2/.gitcookies.sh.enc

Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/gopkg.in/go-jose/go-jose.v2/.gitignore

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

vendor/gopkg.in/go-jose/go-jose.v2/.travis.yml

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

vendor/gopkg.in/go-jose/go-jose.v2/CHANGELOG.md

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

vendor/gopkg.in/go-jose/go-jose.v2/CONTRIBUTING.md

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

0 commit comments

Comments
 (0)