Skip to content

Clarify Key formats - #89

Merged
Keats merged 5 commits into
Keats:nextfrom
EmbarkStudios:key_formats
May 25, 2019
Merged

Keats merged 5 commits into
Keats:nextfrom
EmbarkStudios:key_formats

Conversation

@Jake-Shadle

Copy link
Copy Markdown
Contributor

This is a bit of a rethink of my old PR #74 that I think improves the API to be more clear for users by forcing them to specify the key format (this is fudged a bit for HMAC) that they are using. This makes the API more explicit and is a breaking change, but it's pretty trivial to update calls so I think it's an overall win, but I'm open to suggestions for making it more ergnomic.

@Keats

Keats commented May 15, 2019

Copy link
Copy Markdown
Owner

I like that a lot! Much cleaner than my initial idea.
I think it needs to add key components as well (#69) but that can be done in another PR.
I'll start another branch for breaking changes and merge that in asap

@Keats
Keats changed the base branch from master to next May 25, 2019 15:52
@Keats
Keats merged commit e2e11b1 into Keats:next May 25, 2019
JadedBlueEyes referenced this pull request in JadedBlueEyes/jsonwebtoken Apr 13, 2023
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.

2 participants