hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.6K
active users

Anders Eknert

TFW you find exactly the tool you need for something and it works just like you want. Yay! Today that tool was jwker, which allows quickly turning PEM certs into JSON Web Keys (JWKs).

github.com/jphastings/jwker/

And the author is on hachyderm! thanks @byjp

GitHubGitHub - jphastings/jwker: A PEM -> JWK command line conversion toolA PEM -> JWK command line conversion tool. Contribute to jphastings/jwker development by creating an account on GitHub.

@anderseknert My absolute pleasure! 🙇‍♂️
It’s been a little while since I wrote it, so shout if it needs any dusting off 😁

@byjp No dust detected so far! I'm working on a small JWT library in Rego, and this helps me test that any given key is accepted as either PEM or JWK. There's like a hundred online tools to do this, but a CLI tool in preferably Go was exactly what I needed.

@anderseknert I’m very glad to hear it! I love building little tools like this; I’m glad it’s useful to you!

Nice! This is one I've ended up needing to do a few times too