Commit Graph

12 Commits

Author SHA1 Message Date
Dave Grijalva f7a9d2e66e documentation about key requirements 2014-06-28 11:31:26 -07:00
Dave Grijalva bf910acaf8 fixed: SigningMethodRS256.Sign would panic if the provided key was not PEM encoded 2014-06-28 11:29:32 -07:00
Dave Grijalva 295a7342f2 gofmt 2013-02-26 21:29:51 -08:00
Dan Morrill 924b188e65 Support x509 Certificates for JWT verification.
If an attempt to parse the pubkey as PKIX fails, try again as
x509.Certificate. Some vendors are starting to use these to sign JWTs.
Example: https://www.googleapis.com/oauth2/v1/certs
2012-12-21 23:31:03 -08:00
Dave Grijalva 0a26d2272f gofmt 2012-07-06 17:02:20 -07:00
Dave Grijalva d736b8f860 added signing support to RS256 and HS256 2012-07-06 15:43:17 -07:00
Dave Grijalva 0008f0b730 gofmt 2012-04-18 12:59:37 -07:00
Dave Grijalva 18108cfd38 base64 decoding fixins 2012-04-18 12:18:31 -07:00
Dave Grijalva 97424f0088 it works 2012-04-17 22:50:26 -07:00
Dave Grijalva e49f2f5a18 almost working 2012-04-17 18:41:12 -07:00
Dave Grijalva 8853e4547b framework 2012-04-17 16:58:52 -07:00
Dave Grijalva 7a06ac11be starting to work on it 2012-04-17 16:49:21 -07:00