Skip to content

feature: Signer.create taking a JOSE.JWK - #448

Open
bobergj wants to merge 1 commit into
joken-elixir:mainfrom
nomasystems:feature/signer-create-jose-jwk
Open

feature: Signer.create taking a JOSE.JWK#448
bobergj wants to merge 1 commit into
joken-elixir:mainfrom
nomasystems:feature/signer-create-jose-jwk

Conversation

@bobergj

@bobergj bobergj commented Aug 3, 2026

Copy link
Copy Markdown

Adds support for passing a pre-parsed %JOSE.JWK{} directly to Joken.Signer.create/2, avoiding unnecessary re-parsing of the original JWK map.

Addresses #294.

This does not validate algorithm/key compatibility during signer creation (mentioned as a requirement in the issue discussion). That matches existing behavior: for example, Joken.Signer.create("ES256", rsa_jwk_map) already creates a signer, with the mismatch failing during verification. I think compatibility validation could be added separately and should not block this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant