key: use shorter key ids (#88)

Use shorter KeyIDs to reduce the overall size of JWTs produced by
this package.

The "kid" field value is unspecified and only exists to uniquely
identity keys in a JSONKeySet.[0] Therefore changing how we
generate this value shouldn't impact any existing programs.

[0] https://tools.ietf.org/html/rfc7517#section-4.5
2 files changed
tree: 427d9fd7080c2d988e9581dfcae752ba7a8f2772
  1. example/
  2. http/
  3. jose/
  4. key/
  5. oauth2/
  6. oidc/
  7. .gitignore
  8. .travis.yml
  9. build
  10. CONTRIBUTING.md
  11. DCO
  12. LICENSE
  13. MAINTAINERS
  14. NOTICE
  15. README.md
  16. test
README.md

go-oidc

GoDoc Build Status

go-oidc provides a comprehensive collection of golang libraries for other projects to implement OpenID Connect (OIDC) server and client components.

package documentation