Documentation
¶
Overview ¶
Package fositejose converts JSON Web Keys between go-jose v4, which ToolHive uses, and go-jose v3, which fosite v0.49.0 exposes in its interfaces.
go-jose v3 is affected by GHSA-mgcc-cww5-fp2q and has no patched release. The conversions copy already-parsed keys field by field, so key material is never re-parsed by go-jose v3. Remove this package once fosite moves to go-jose v4.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromFositeKeySet ¶
func FromFositeKeySet(jwks *josev3.JSONWebKeySet) *jose.JSONWebKeySet
FromFositeKeySet copies a key set read from a fosite client into the go-jose v4 type.
func ToFositeKey ¶
func ToFositeKey(key *jose.JSONWebKey) *josev3.JSONWebKey
ToFositeKey copies key into the go-jose v3 type fosite expects.
func ToFositeKeySet ¶
func ToFositeKeySet(jwks *jose.JSONWebKeySet) *josev3.JSONWebKeySet
ToFositeKeySet copies jwks into the go-jose v3 type fosite expects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.