go-jose
go-jose copied to clipboard
An implementation of JOSE standards (JWE, JWS, JWT) in Go
Does this project have helper methods or something for a jwk that fetch keys from a remote url ? something like below ``` const url = "https://abc.com/keys" jwks, err :=...
I try to Validate claims via a JWKS file: I created an RSA jwks file with private and public key. when I then try to run `err = parsedToken.Claims(keys)` I...
I have a decryption key and a JWE token that I can decrypt in python like so: ``` from jose import jwe, jwt from jose.utils import base64url_decode TOKEN="sfsdfsdfsfs.sfsfsdfsf.sfsfsfsf" decryption_key_bytes =...
## Related Issue fixed #286 ## Description - allow any match for multiple audiences - currently go-jose requires all match for multiple audiences
hi, how does jose compare to [jwt-go](https://github.com/dgrijalva/jwt-go)? what are the advantages in using this or jwt-go?
Looking at the code for audience validation: if len(e.Audience) != 0 { for _, v := range e.Audience { if !c.Audience.Contains(v) { return ErrInvalidAudience } } } It looks like...
ref: https://travis-ci.org/github/square/go-jose/builds/773632873 ``` Cloning into '/home/travis/gopath/src/golang.org/x/tools'... remote: INVALID_ARGUMENT: Request contains an invalid argument remote: [type.googleapis.com/google.rpc.LocalizedMessage] remote: locale: "en-US" remote: message: "Invalid authentication credentials. Please generate a new identifier: https://go.googlesource.com/new-password" remote:...
See #360. `JSONWebKey` as a key was not supported, but `*JSONWebKey` was. Simply added a new case to handle the value version. Tests still pass. The second issue mentioned in...
The following block will fail with `"square/go-jose: unsupported key type/format"` if a JSONWebKey is passed by value. ```go var key jose.JSONWebKey = enc, err := jose.NewEncrypter( jose.A128GCM, jose.Recipient{ Algorithm: jose.RSA_OAEP_256,...