proxy.golang.org : github.com/mt-inside/go-jwks
* Go doesn't allow "extension methods", ie we can't add methods to other package's types, so we can't add MarshalJSON to rsa.PublicKey * Hence, we alias those types and impl the marshal funcs on our aliases * Often you'll hold a variable typed as the crypto.[Public,Private]Key interface, and want to marshal that. * That iface doesn't include MarshalJSON, so again we wanna add it. * However we can't even alias the interface and do it that way, because you can't have iface receivers. * Hence, functions like these at the top that go from the stdlib iface to one of our concrete impls. * - X test with istio demo master (move to containerimage) * - X rearrange to lib at top * - X to melange & apko; test * - X test all Just targets * - X tests stable * - X fix up test_keys dir * - X doc.go (explain the ortho of the funcs, eg to/from json vs to/from an [un]marshaler * - README.md * - api comments. Turn linting up to 11 * - X links in the readme like to godoc one * - X check gh action & its outputs * - X tag 0.2 (1.0?)
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/mt-inside/go-jwks
License: Apache-2.0
Latest release: almost 2 years ago
First release: about 3 years ago
Namespace: github.com/mt-inside
Dependent packages: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago